Deciding on Core Data

There are a few options available to iOS developers who would like to use persistent data:

Image NSUserDefaults: This method is typically used to save app preferences. NSUserDefaults functions very much like an NSDictionary with key-value storage, and supports storing values that can be expressed as NSNumber, NSString, NSDate, NSData, NSDictionary, NSArray, or any object that conforms to the NSCoding protocol. If an app’s persistence needs can be satisfied using key-value pairs, dictionaries, and arrays, then NSUserDefaults is a viable option.

Property List (plist): NSDictionary and NSArray each support reading from and saving ...

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.