I\'ve archived an NSDictionary on iOS 4 using an NSKeyedArchiver, but unarchiving on iOS 5 using [NSKeyedUnarchiver unarchiveObjectWithData: data]
I was wondering how NSCoder would handle an object that was shared and encoded by multiple objects the next time it was decoded. Will it make two copies of the object, or will one object be decoded an
I\'m decoding a custom object from a cached serialization.I\'ve versioned++ the object since it was encoded, and if the serialized version is an old version I want to just throw it away.I was under th
I have a class that has these 开发者_开发技巧two ivars: @interface UserData : NSObject <NSCoding> {
I am developing my first iphone \'Diary\' app, which uses custom \'Entry\' objects that hold an NSString title, NSString text and NSDate creationDate. When I try to archive an NSMutableArray of Entry
I have a custom class that I wish to save and load. The class contains an NSDate, an NSString, and an NSNumber. I have implemented the NSCoding protocol in the .h file. Here is the code I have so far.
I want to save all my scheduled localNotifications before app goes to background. I get all the localNotification from UIApplication, and I try to save like:
I\'m a relatively new iOS developer, with most of my previous experience coming from .NET. My application is a canvas lik开发者_开发技巧e system in that there is a parent UIView that contains all the
I开发者_如何学编程\'m trying to create a user editable plist where the user can store a custom created workout routine including strings referenced from another data.plist in the app bundle.
I want to write an array of Question objects to file, but somehow writeToFile isn\'t doing anything. A Question has an Owner and and an array of Answer objects. An Answer has an Owner as well. All thr