Re: unrecognized selector sent to instance
Re: unrecognized selector sent to instance
- Subject: Re: unrecognized selector sent to instance
- From: j o a r <email@hidden>
- Date: Fri, 26 Sep 2008 09:18:25 -0700
On Sep 25, 2008, at 4:01 AM, pan xuan wrote:
Hi, I am having a strange problem of my class declaration. I used to
declare some methods of a class in a category, "Private". After I
have done some refactoring work (basically moving some classes into
another framework), it seems those methods declared in the category,
"Private" do not belong to the object anymore. If I load the code in
my debugger and try to invoke a method declared as "Private", the
program receives a doesNotRecognizeSelector error and crashes after
receiving the signal SIGTRAP. And if I move those methods into the
main implementation of the class, it all works out. Any idea why is
that? Thanks for your help. BR, Pan
Perhaps a memory management error somewhere? Try to run your app with
NSZombieEnabled (Google for the details) and see what that turns up.
j o a r
_______________________________________________
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