• 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
Extracting Color components from NSColorWell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extracting Color components from NSColorWell


  • Subject: Extracting Color components from NSColorWell
  • From: Jeremy Hubbell <email@hidden>
  • Date: Wed, 25 Jan 2006 13:47:22 +0900

I'm attempting to do a simple R, G, and B value extraction on an NSColorWell object. Basically, right now, I can get the the values sent to NSLog now as a group of values on a single line (RGBA) but I'd like to grab each value individually and store them separately. Is there a method on NSColorWell that I'm missing here? Using the redComponent method throws an exception in the log. I'm sure I'm just missing something simple here (and I'm a bit of a noob if you couldn't tell already) but if anyone knows a simple way to do this, I'd appreciate the help.

Thanks.

-Jh
_______________________________________________
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: Extracting Color components from NSColorWell
      • From: Ali Ozer <email@hidden>
  • Prev by Date: How to find the fwrite() error
  • Next by Date: Memory leak finder....
  • Previous by thread: Re: How to find the fwrite() error
  • Next by thread: Re: Extracting Color components from NSColorWell
  • Index(es):
    • Date
    • Thread