Re: Cocoa-dev Digest, Vol 2, Issue 419
Re: Cocoa-dev Digest, Vol 2, Issue 419
- Subject: Re: Cocoa-dev Digest, Vol 2, Issue 419
- From: Daniel Child <email@hidden>
- Date: Sun, 27 Mar 2005 10:50:55 -1000
On Sunday, March 27, 2005, at 07:56 AM,
email@hidden wrote:
Are you aware that Cocoa has finished classes for archiving and
unarchiving objects? NSArchiver and NSUnarchiver (and its keyed
variants, which are more convenient and flexible) can be used to
read/write an entire object hierarchy rooted in one object (which
could even be an NSArray or NSDictionary).
You can archive/unarchive as XML if you want, or in Apple's own
binary format.
Yes, but I have a case where persistent data would come with the
application, and so the data needs to be "read in" to the application.
At that point, I can archieve it either as plists or using
NSCoder/NSArchiver.
My aim to develop the parser is that I have lots of data to import.
Once it's in, I can use the Cocoa classes.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden