• 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: Mike Abdullah <email@hidden>
  • Date: Fri, 27 Jun 2008 00:22:12 +0100

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 (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

_______________________________________________

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


  • Follow-Ups:
    • Re: NSArchiver question?
      • From: Jonathan Hess <email@hidden>
References: 
 >NSArchiver question? (From: Damien Cooke <email@hidden>)

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