On Jun 26, 2008, at 4:09 PM, Damien Cooke wrote:

do I need to override this method below for my class DCOViewItem to use the NSArchiver class?
(void)encodeWithCoder:(NSCoder *)encoder


Yes. Not only that but you also need to implement decodeWithCoder:

For information on how to do that, i recommend that you read this:
http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/Archiving.html

Omar Qazi
Hello, Galaxy!
1.310.294.1593

P.S. Use NSKeyedArchiver  / NSKeyedUnarchiver instead.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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