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

Re:[SOLVED] initWithCoder: unrecognized selector


  • Subject: Re:[SOLVED] initWithCoder: unrecognized selector
  • From: Rick Mann <email@hidden>
  • Date: Sun, 19 Feb 2012 14:07:25 -0800

Apparently "Message" is already a class somewhere. Changing the name fixed it.

On Feb 19, 2012, at 13:44 , Rick Mann wrote:

> 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


_______________________________________________

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: 
 >initWithCoder: unrecognized selector (From: Rick Mann <email@hidden>)

  • Prev by Date: initWithCoder: unrecognized selector
  • Next by Date: Re: initWithCoder: unrecognized selector
  • Previous by thread: initWithCoder: unrecognized selector
  • Next by thread: Re: initWithCoder: unrecognized selector
  • Index(es):
    • Date
    • Thread