Subclassing NSKeyedArchiver
Subclassing NSKeyedArchiver
- Subject: Subclassing NSKeyedArchiver
- From: Adrian Ruigrok <email@hidden>
- Date: Mon, 27 Feb 2006 11:19:49 -0800
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:
This email sent to email@hidden