There is a helpful article on NSHipster comparing methods of storing object graphs, which includes an example of using NSKeyedArchive / NSCoding to persist objects. The example defaults to Swift, but you can switch to Objective-C. The output is NSData, which you can write to disk or stash in NSUserDefaults.
http://nshipster.com/nscoding/ - Scott _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com