Home > DeveloperSection > Forums > Best classes used to store data on iPhone
Felix Pickles
Felix Pickles

Total Post:24

Posted on    December-10-2015 10:55 PM

 iPhone iPhone  Ios  Objective C 

 1 Reply(s)
 438  View(s)
Rate this:
I am new on iPhone app development, I want to know which classes are the best to save phone data. because I want to save the state of my application(5K or so).
My main motive is data persisting across upgrades. I use some other applications they are not performing well, so I would not prefer them!

Tarun Kumar

Total Post:214

Posted on    December-13-2015 10:58 PM

If you want to save instances of application data being deleted after an upgrade use NSUserDefaults, this will solve your issue. but if you will use just NSUserDefaults and standard plist-storable objects (NSString, NSDictionary, NSNumber, NSArray, NSNumber, and primitives), you should be safe.

Don't want to miss updates? Please click the below button!

Follow MindStick