Re: How to save a Dictionary Network to a plist file?
Re: How to save a Dictionary Network to a plist file?
- Subject: Re: How to save a Dictionary Network to a plist file?
- From: Scott Ahten <email@hidden>
- Date: Fri, 22 Jan 2016 17:25:43 -0500
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 (email@hidden)
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:
This email sent to email@hidden