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 6531993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:56:44+00:00 2026-05-25T09:56:44+00:00

I have a really big property list file(approximately 2 MB large) and I need

  • 0

I have a really big property list file(approximately 2 MB large) and I need to use the data from it in my application. However, it would not be normal to store all the data in some kind of nsdictionary because of its size. I mean something like this:

NSString *path = [[NSBundle mainBundle] pathForResource:@"file" ofType:@"plist"];
someDictionary = [[NSDictionary alloc] initWithContentsOfFile:path];

What would you recommend to get data from this plist or to use instead of plist file.

  • 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-25T09:56:45+00:00Added an answer on May 25, 2026 at 9:56 am

    I would not optimize this before you have profiled your app. Using 2MB of memory sounds like a lot but there are games who load a multiple of that just for sounds and images. If your app is all about that 2MB of data then I think it is totall fine to just load it into memory and use it.

    If on the other hand the loading is too slow then you might want to consider using NSKeyedArchiver and NSKeyedUnarchiver to load your data. They are faster than loading a plist and you can selectively load chunks of the data if you can split it up in logical parts.

    Another option is of course to use SQLite or Core Data. Those are ideal for ‘tables’ of data. Both can deal with large files.

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

Sidebar

Related Questions

I have a database full of customer data. It's so big that it's really
I have a big list of properties that I need to map between two
I have a really big database (running on PostgreSQL) containing a lot of tables
I really have big problems with importing an extern C-Library to my existing C++-Project.
I have been a really big fan of stackoverflow(which led me to ask the
I have a website that just takes a really big form and saves the
I guess I would need some really good explanation on some Model related concepts.
We have a big winforms C# application, that's basically a frontend for some databases
I receive this JSON string (part of a really big one) back from an
I have really basic question. How can I get form id by input element

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.