Re: Trouble with NSColor
Re: Trouble with NSColor
- Subject: Re: Trouble with NSColor
- From: Daniel Furrer <email@hidden>
- Date: Thu, 13 Aug 2009 19:29:37 +0200
On Thu, Aug 13, 2009 at 6:51 PM, Sean McBride <email@hidden>wrote:
> Did you read the docs for 'redComponent'?
>
> "This method works only with objects representing colors in the
> NSCalibratedRGBColorSpace or NSDeviceRGBColorSpace color space"
>
> Use colorUsingColorSpaceName:NSCalibratedRGBColorSpace to convert.
I believe that's what I'm doing in my first line of code, no?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden