Wow, how could I overlook this? Thanks for pointing it out!

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?

BTW is this the same binary format as used in NIB files?

While it may be OK to archive documents in binary format on disk, it
may be desired to pass some data over the web in form of XML. Also,
XML is often used as a portable format between applications
(import/export). How do you work around this? Implement your own XML
NSCoder?



On Thu, Jul 24, 2008 at 9:43 PM, Ken Thomases <[EMAIL PROTECTED]> wrote:
> On Jul 24, 2008, at 8:20 AM, Oleg Krupnov wrote:
>
>> I want to serialize and deserialize my objects to/from XML files.
>
> Have you read this:
> http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/index.html
>  ?
>
> Cheers,
> Ken
>
_______________________________________________

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]

Reply via email to