Subject: Re:[SOLVED] initWithCoder: unrecognized selector 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 (Cocoa-dev@xxxxxxxxxxxxxxx) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com > > This email sent to rmann@xxxxxxxxxxxxxxx _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx) 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: https://lists.apple.com/mailman/options/cocoa-dev/maillists%40codeha.us This email sent to maillists@xxxxxxxxx |