• 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: How to get Tool Tip color ? -- Solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get Tool Tip color ? -- Solved


  • Subject: Re: How to get Tool Tip color ? -- Solved
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 16 Nov 2005 15:08:18 -0800

Am 16.11.2005 um 15:00 schrieb Jim Correia:


Just for anybody who is looking for a cocoa solution to retrieve tool
tip color. The code is:

NSColor *theToolTipColor = (NSColor *)[NSColor performSelector:
@selector(toolTipColor)];

The usual caveats of using non-public methods apply here.

If you are going to ship code which does that, at the very least you should make sure the NSColor class responds to the toolTipColor selector.

Yes, i HIGHLY reccomend using respondsToSelector:. -corbin

_______________________________________________
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: 
 >RE: How to get Tool Tip color ? -- Solved (From: "Chen Wang" <email@hidden>)
 >Re: How to get Tool Tip color ? -- Solved (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Displaying image and core data
  • Next by Date: Re: Displaying image and core data
  • Previous by thread: Re: How to get Tool Tip color ? -- Solved
  • Next by thread: Example code for SOAP requests with attachments
  • Index(es):
    • Date
    • Thread