• 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: Class responds to selector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class responds to selector?


  • Subject: Re: Class responds to selector?
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Mon, 25 Jul 2005 12:47:35 +0100


On 25 Jul 2005, at 12:32, j o a r wrote:

The method returns the correct answer. The instances of NSColor doesn't respond to that selector. Have you tried calling "respondsToSelector" to ask the class object if it responds or not?

Well, I tried, and apparantly NSColor will correctly respond to respondsToSelector given a class-method. So it's actually simpler than I imagined :)


--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
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: 
 >Class responds to selector? (From: "Theodore H. Smith" <email@hidden>)
 >Re: Class responds to selector? (From: j o a r <email@hidden>)

  • Prev by Date: Re: Class responds to selector?
  • Next by Date: Handling two or more nib files
  • Previous by thread: Re: Class responds to selector?
  • Next by thread: Re: Class responds to selector?
  • Index(es):
    • Date
    • Thread