Re: Why would a defined selector not be found at runtime?
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