• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArchiver question?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSArchiver question? (From: Damien Cooke <email@hidden>)

  • Prev by Date: Re: description and proxy objects
  • Next by Date: Re: NSSpeechSynthesizer and empty strings
  • Previous by thread: Re: NSArchiver question?
  • Next by thread: description and proxy objects
  • Index(es):
    • Date
    • Thread