• 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: Scott Thompson <email@hidden>
  • Date: Thu, 12 May 2005 14:25:24 -0500


On May 12, 2005, at 2:13 PM, 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.

It could be the case that the OS already has a class named NSDisclosureButtonCell. It may not be part of the public interface (so it wouldn't show up in the headers), but it might still exist.


That's WHY Apple "reserves" the NS prefix. That prefix is designed to avoid name space collisions.

Scott.

_______________________________________________
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