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

  • SEARCH
  • Home
  • 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 268899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:45:15+00:00 2026-05-11T23:45:15+00:00

I would appreciate some help with something I working on and have not done

  • 0

I would appreciate some help with something I working on and have not done before now and having some proplems because I don’t think I understand exactly how to do this. What I’m wanting to do i’m sure is simple to most all of you and will be to me as soon as I do it the first time correctly….anyway…. I have a tableview that I’m needing to populate with two things, a username and a number with a count of items (the username could be a primary key). Currently I have a tableview populating and editable with an array….no problem….I know how to do that.

The two parts I need help with understanding is to:

  1. read a plist with these two values into a dictionary, and read them into two different arrays that I can use with my tables.

  2. Save the arrays back to the dictionary and then back to a plist.

I think I’m getting the most confused with how to store these two things in dictonary keys and values. I’ve looked that over but just not “getting it”.

I would appreciate some short code examples of how to do this or a better way to accomplish the same thing.

As always, thanks for your awesome help….

  • 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-05-11T23:45:16+00:00Added an answer on May 11, 2026 at 11:45 pm

    You can use NSArray method writeToFile: atomically: to dump your data into a file, you can then use initWithContentOfFile to retrieve the information from t hat file just as you dumped it previosly. I believe if you have dictionaries in your array you should be able to get them back this way. You can always use core data as well for storage if you find your structures to store are getting complex and dumping the in a file and getting them back to recreate some o bjects is becoming messy.

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

Sidebar

Related Questions

I'm having a little struggle on this one and would appreciate some help. In
i have been having this issue for some time now, and have not gotten
I would appreciate some guidance on modelling services and operations in WCF. I have
I have a design issue that I would appreciate some input on. I would
I have an interesting problem and would appreciate your thoughts for the best solution.
I'm new to regular expressions and would appreciate your help. I'm trying to put
I've hit a blank here and would appreciate a kick start. I have two
I would really appreciate any suggestions, no matter how simple or complex, to help
Assuming such a query exists, I would greatly appreciate the help. I'm trying to
Once again I need some help. I'm working with a table that contains 3

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.