• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to save a Dictionary Network to a plist file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to save a Dictionary Network to a plist file? (From: Dave <email@hidden>)
 >Re: How to save a Dictionary Network to a plist file? (From: email@hidden)
 >Re: How to save a Dictionary Network to a plist file? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: adding frameworks to my project
  • Next by Date: Re: adding frameworks to my project
  • Previous by thread: Re: How to save a Dictionary Network to a plist file?
  • Next by thread: Re: How to save a Dictionary Network to a plist file?
  • Index(es):
    • Date
    • Thread