November 2013
Intermediate to advanced
576 pages
19h 3m
English
There are a few options available to iOS developers who would like to use persistent data:
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 ...
Read now
Unlock full access