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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:04:51+00:00 2026-05-31T07:04:51+00:00

I am using the following code to save an NSMutableArray to disk: [myArray writeToFile:filePath

  • 0

I am using the following code to save an NSMutableArray to disk:

[myArray writeToFile:filePath atomically:YES];

Assuming an array of roughly 400 objects, can anyone tell me if saving via this method is a time-consuming process? At the moment there is potential for the file to be saved multiple times in rather quick succession (something I am trying to fix), but I was wondering if this could cause a problem at some stage if the array gets much bigger?

Kind regards

  • 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-31T07:04:52+00:00Added an answer on May 31, 2026 at 7:04 am

    For reference, iPod Touch 4 flash write speed is ≈ 18 MB/s (I’ve used code from this article for measurements).

    You may see what is the size of saved file on the device by going to Xcode Organizer → Devices tab → In your device select Applications → Your application → Select file and press Download.

    For simulator, go to ~/Library/Application Support/iPhone Simulator/<iOS version>/Applications/<App ID>/Documents.

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

Sidebar

Related Questions

I am using the following code to save an object and all its properties
I am using the following code to save values from a settings view that
I am using the following generic code to save entities. using (ITransaction tx =
I am trying to save images using the following code: - (void)writeData{ if(cacheFileName==nil) return;
I'm using following code to save the downloaded file to iphone/ipod-touch's documents directory. NSArray
I am using the following code to save additional properties to a model (answer
I am using the following code to resize and save the file in to
I am using the following code to open a file's contents and save it
I am using the following code to save an image created on a Form
I'm using the following code to save a NSMutableDictionary to file then retrieve it

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.