• 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
initWithCoder: unrecognized selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

initWithCoder: unrecognized selector


  • Subject: initWithCoder: unrecognized selector
  • From: Rick Mann <email@hidden>
  • Date: Sun, 19 Feb 2012 13:44:48 -0800

Hi. I've got a "Message" class that implements NSCoding. When NSKeyedUnarchiver tries to create it, my app crashes with an unrecognized selector error.

If I call [[Message alloc] initWithCoder: nil], there's no complaint.

Any idea what's going on?

Thanks,
Rick


_______________________________________________

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: initWithCoder: unrecognized selector
      • From: Mike Abdullah <email@hidden>
    • Re:[SOLVED] initWithCoder: unrecognized selector
      • From: Rick Mann <email@hidden>
  • Prev by Date: 10.6 NSPasteboard API mixes up types?
  • Next by Date: Re:[SOLVED] initWithCoder: unrecognized selector
  • Previous by thread: Bug in 10.6 NSPasteboard API? (was: 10.6 NSPasteboard API mixes up types?)
  • Next by thread: Re:[SOLVED] initWithCoder: unrecognized selector
  • Index(es):
    • Date
    • Thread