• 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: 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


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: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to record screen in iOS
  • Next by Date: Re: Yet another privileged-helper-tool question: how to launch from a system-preferences panel?
  • 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