Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7992139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:29:01+00:00 2026-06-04T13:29:01+00:00

I have this data that I’d like to save to plist. MONTH and DAY

  • 0

I have this data that I’d like to save to plist. MONTH and DAY are the system date integers. I know how to get them.

 MONTH
  DAY
   int, string, int

Example:

 5
  25
   10, text, 50

I have a UITableView in which I must import the data on this way:

If the system month is 3, search the plist for the key 3 and populate the table with only days of the month 3.

What is the best approach for this?

EDIT:

The year is not important. In the table, it should be a list of months, and when pressed it should list all the days associated with the particular month. And every day should have all the data associated to particular day.

I am confused on how to structure the data in the plist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T13:29:02+00:00Added an answer on June 4, 2026 at 1:29 pm

    Looks like this thread has some good information on saving your NSDictionary as a plist:

    Save NSDictionary to plist

    As for displaying your results in the table view, I’m a little confused as to how you are organizing your NSDictionary. In general, you should do something like this:

    NSArray *arrayDataForMonthZero = [[NSArray alloc] initWithObjects:@"Your",@"Objects",@"For",@"Section",@"Zero"];
    NSArray *arrayDataForMonthOne = [[NSArray alloc] initWithObjects:@"Your",@"Objects",@"For",@"Section",@"One"];
    ...
    NSArray *arrayDataForMonthEleven = [[NSArray alloc] initWithObjects:@"Your",@"Objects",@"For",@"Section",@"Eleven"];
    
    NSDictionary *tableData = [[NSDictionary alloc] initWithObjectsAndKeys:arrayDataForMonthZero,@"0",arrayDataForMonthOne,@"1",...,arrayDataForMonthEleven,@"11"];
    

    Then, you create an NSArray pointer to the data set you want to use. So, if you want to display the third section, just do:

    NSArray *tableDataPtr = [tableData objectAtIndex:@"3"];
    

    This will select all the data you just created associated with the third month. Use this object when providing commands to your table view delegate and data source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data that looks like this: #info #info2 1:SRX004541 Submitter: UT-MGS, UT-MGS Study:
I have a data that looks like this . And I intend to create
I have a data that looks like this . And my code below simply
I have several data that looks like this: Vector1_elements = T,C,A Vector2_elements = C,G,A
I have a file that is about 100Mb that looks like this: #meta data
I have some JSON data that looks like this: { data: [{ name:John Smith,
We have this set of data that we need to get the average of
I have this huge data frame that has servernames, Date, CPU, memory as the
I have data that looks like this: Table Group: A , Color: Blue, Count:
I have a data object that is deep-cloned using a binary serialization. This data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.