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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:04:57+00:00 2026-06-17T15:04:57+00:00

I currently have an App which stores it’s data by converting an NSArray to

  • 0

I currently have an App which stores it’s data by converting an NSArray to NSData and writes it in a file like this:

NSData *theData = [NSKeyedArchiver archivedDataWithRootObject:theSaveArray];
        [theData writeToFile:[self filePath:@"/Time.dat"] atomically:YES];

A typical user saves data on a daily base which means that the array will become very large after a short time.

I’m thinking of updating the app and migrate the data to CoreData with sqllite, but I’m not sure if it will improve something(By now I can’t see problems but I’m a bit worried what happens in the future).

The Array fills a TableView. But what happens after several years when the array has 1000+ entries?
And what about iCloud Sync? I know that CoreData could be synced easily what about a local 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-06-17T15:04:58+00:00Added an answer on June 17, 2026 at 3:04 pm

    Yes, definitely, Core Data is the way to go. From a coding standpoint, the problem seems trivial. The problems you anticipate will indeed materialize if you do not switch to a more robust storage solution.

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

Sidebar

Related Questions

I have an Library-style app which uses Core Data to store its data. Currently
Hi we have an Android app that currently stores its data in xml files
Currently I have Windows App which is directly opening database connection (SQL Server is
I currently have an app deployed on Heroku which runs on two web dynos
I have a PHP app which can hook into multiple backends (currently MySQL or
I currently have a app on the market it saves some data with onRetainNonConfigurationInstance
I have an application currently on the app store which I intend to submit
I have an app (a game) which saves data: game state, high scores, achievements,
I'm building an app in Rails 3. I currently have a user model which
I have an existing application that displays Google Analytics data. Currently, it stores the

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.