Yes, it is your responsibility to implement the NSCoding protocol in
your own classes.
On 27 Jun 2008, at 00:09, Damien Cooke wrote:
I am getting the following error from this line NSData *data =
[NSArchiver archivedDataWithRootObject:viewItem];
-[DCOViewItem encodeWithCoder:]: unrecognized selector sent to
instance 0x17fa00
do I need to override this method below for my class DCOViewItem to
use the NSArchiver class?
(void)encodeWithCoder:(NSCoder *)encoder
Regards
Damien
_______________________________________________
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/cocoadev%40mikeabdullah.net
This email sent to [EMAIL PROTECTED]
_______________________________________________
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]