• 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: issues encoding MailMessage and NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issues encoding MailMessage and NSData


  • Subject: Re: issues encoding MailMessage and NSData
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Fri, 22 May 2009 08:47:01 -0400

that works fine, but when I go to decode the object I get the following error:

exception raised:*** -decodeObjectForKey: only defined for abstract class. Define -[NSKeyedArchiver decodeObjectForKey:]!

You need to use an NSKeyedUnarchiver, not an NSKeyedArchiver, to decode the object.


-Ben
_______________________________________________

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: 
 >issues encoding MailMessage and NSData (From: Reza Farhad <email@hidden>)

  • Prev by Date: Re: [iPhone] Any way to animate a tab-bar away?
  • Next by Date: Localizing absolute file name in Cocoa
  • Previous by thread: issues encoding MailMessage and NSData
  • Next by thread: Re: issues encoding MailMessage and NSData
  • Index(es):
    • Date
    • Thread