Alright, I really am not sure how to go about saving a bunch of data on my iOS app. The app will allow a user to create an Entry, that entry will have a timestamp for it’s name. For each entry, I need to store multiple kinds of data (NSString, Boolean, Double, Float).
Each Entry will have to save information kind of like the following:
/////////
Float
Float
Float
Float
Float
NSString
NSString
NSString
NSString
NSString
Boolean
Boolean
Boolean
//////////
So, a total of thirteen values per Entry. However, the amount of entries can be created indefinitely and will keep changing. Therefore, how should I go about storing all this information. I am very new at this, so far all I have used is NSUserDefaults. Thanks.
With lots of entry objects, Core Data looks to be a good fit for this. It’s also a great framework to have in your toolbelt when working with data intensive applications. You basically map out your data model, then you export your model into custom objects that can be queried against (much like a database).
Lynda.com has a great teaching series on it but you can find a great reference from Apple over here:
https://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html
Good luck!