• 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
NSArchiver question?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArchiver question?


  • Subject: NSArchiver question?
  • From: Damien Cooke <email@hidden>
  • Date: Fri, 27 Jun 2008 08:39:15 +0930

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


  • Follow-Ups:
    • Re: NSArchiver question?
      • From: Omar Qazi <email@hidden>
    • Re: NSArchiver question?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: How to get a message when RETURN is pressed in a NSTextField
  • Next by Date: Re: NSArchiver question?
  • Previous by thread: Re: NSTextFieldCell subclass template image inversion
  • Next by thread: Re: NSArchiver question?
  • Index(es):
    • Date
    • Thread