On Jul 24, 2008, at 11:16 PM, Phil wrote:
On Fri, Jul 25, 2008 at 6:06 PM, Oleg Krupnov
<[EMAIL PROTECTED]> wrote:
I have read it now and I believe the guide suggests that i archive my
object tree in a binary byte stream, not an XML. There are no
implementations of NSCoder that would output XML, are there?
NSKeyedArchiver can, see it's -setOutputFormat: method.
What NSKeyedArchiver outputs is a keyed archive structured as an XML
property list. It's not the kind of XML that Oleg is referring to.
Oleg: That's the sort of thing you'd have to implement yourself.
However, you may be able to leverage NSCoding in your implementation,
by making your XML archiver & unarchiver subclasses of NSCoder.
-- Chris
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]