Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSKeyedArchiver



Hey folks,

Does anyone know what is special about NSKeyedArchiver that it would break with simple sublcassing?

I have created a subclass of NSKeyedArchiver that does nothing yet. No instance variables, no methods of its own. When I use this to write my document, all my arrays are empty when I read back in. They array object is there, but it contains no objects.

I have looked at the archives in text format, and there is a big difference. The NSKeyedArchiver seems to write the array as an <array> and my simple subclass seems to write them as an ungrouped list of objects.

This has to be something obvious, but it is far from obvious to me.

Adrian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.