• 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: Dave <email@hidden>
  • Date: Thu, 21 Jan 2016 17:44:19 +0000

Hi,

It doesn’t *have* to be plist, but if it were it would be easier/possible to view/edit it. I need a quick solution to be honest, if its really quick to implement NSCoding then I could do that for how, and revisit it later on.

For the plist solution do you know of anything available that would make generating the a parallel network with the LTWNodeInfo objects converted to dictionary easier or do I have to knife and fork my way through it?

Which method would be the fastest to load?

All the Best
Dave






> On 21 Jan 2016, at 17:32, Jens Alfke <email@hidden> wrote:
>
>
>> On Jan 21, 2016, at 9:05 AM, Dave <email@hidden <mailto:email@hidden>> wrote:
>>
>> This all works great and now I’d like to save this to a plist file and load it later on.
>
> Does it have to be in plist format? The easiest way to persist this data would be to make LTWNodeInfo implement the NSCoding protocol, then use an NSArchiver to save it as an archive.
>
> —Jens

_______________________________________________

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

  • Prev by Date: Re: How to save a Dictionary Network to a plist file?
  • Next by Date: Re: 32-bit / 64-bit roadmap
  • Previous by thread: Re: How to save a Dictionary Network to a plist file?
  • Next by thread: Problem Archiving/Un-archiving Custom Objects
  • Index(es):
    • Date
    • Thread