Re: NSArchiver question?
Re: NSArchiver question?
- Subject: Re: NSArchiver question?
- From: Omar Qazi <email@hidden>
- Date: Thu, 26 Jun 2008 17:29:38 -0700
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 (email@hidden)
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:
This email sent to email@hidden