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: Graham Cox <email@hidden>
- Date: Sat, 23 Jan 2016 13:04:32 +1100
> On 22 Jan 2016, at 11:44 AM, Alex Zavatone <email@hidden> wrote:
>
> You can use NSCoding to write the object out to disk and read it back.
>
> If you want to convert it to a dictionary, you can save it as a pList
Also, you can set NSKeyedArchiver to encode in XML format rather than a binary format, so yielding an archive file that is somewhat human-readable, though it’s not in any standard format (other than XML itself) and can become much larger than the equivalent binary file.
—Graham
_______________________________________________
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