• 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: I'm having trouble retaining a NSColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I'm having trouble retaining a NSColor


  • Subject: Re: I'm having trouble retaining a NSColor
  • From: "Alan Smith" <email@hidden>
  • Date: Mon, 28 Aug 2006 18:36:47 -0400

Thanks everyone but I might want highlightColor to equal nil. This is
not related to my problem.

I've tried:

[cell setHighlightColor: [NSColor yellowColor]];

instead of:

[cell setHighlightColor: [NSColor colorWithCalibratedRed: 0.2941
green: 0.5824 blue: 0.8706 alpha: 1.0]];

and it works fine.

I'm stumped. I don't get, what is different between that and yellowColor?

Thanks again, Alan


-- // Quotes from yours truly ------------------------- "You don't forget, you just don't remember." "Maturity resides in the mind." "Silence is the Universe's greatest gift." "Don't waste your life doing things others have already done." _______________________________________________ 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
  • Follow-Ups:
    • Re: I'm having trouble retaining a NSColor
      • From: Ricky Sharp <email@hidden>
    • Re: I'm having trouble retaining a NSColor
      • From: Rosyna <email@hidden>
References: 
 >I'm having trouble retaining a NSColor (From: "Alan Smith" <email@hidden>)
 >Re: I'm having trouble retaining a NSColor (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: Re: Respond to Click in TextView
  • Next by Date: NSATSTypesetter garbled text when switching to next container
  • Previous by thread: Re: I'm having trouble retaining a NSColor
  • Next by thread: Re: I'm having trouble retaining a NSColor
  • Index(es):
    • Date
    • Thread