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

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


References: 
 >unrecognized selector sent to instance (From: pan xuan <email@hidden>)

  • Prev by Date: Re: Use other key than "tab" to cycle through text fields
  • Next by Date: Re: Fastest color detection in image?
  • Previous by thread: unrecognized selector sent to instance
  • Next by thread: objc_msgSend_ptr
  • Index(es):
    • Date
    • Thread