Re:[SOLVED] initWithCoder: unrecognized selector
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