• 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: Why would a defined selector not be found at runtime?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why would a defined selector not be found at runtime?


  • Subject: Re: Why would a defined selector not be found at runtime?
  • From: Frederick Cheung <email@hidden>
  • Date: Thu, 12 May 2005 20:25:28 +0100


On 12 May 2005, at 20:13, Ken Tozier wrote:

Well I figured it out, sort of.

When I renamed the class to UIDisclosureButtonCell, it works. Anyone know of a reason why changing the class name would have such a dramatic effect? Does Apple reserve the "NS" prefix for itself and behave differently when classes have that prefix? Very bizarre.

There is already a class (albeit an undocumented one) called NSDisclosureButtonCell. When your program ran the messages were probably going to that class, not your own.

Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Why would a defined selector not be found at runtime? (From: Ken Tozier <email@hidden>)
 >Re: Why would a defined selector not be found at runtime? (From: Ricky Sharp <email@hidden>)
 >Re: Why would a defined selector not be found at runtime? (From: Sherm Pendley <email@hidden>)
 >Re: Why would a defined selector not be found at runtime? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Why would a defined selector not be found at runtime?
  • Next by Date: Re: Why would a defined selector not be found at runtime?
  • Previous by thread: Re: Why would a defined selector not be found at runtime?
  • Next by thread: Re: Why would a defined selector not be found at runtime?
  • Index(es):
    • Date
    • Thread