Re: defining NSColor constants
Re: defining NSColor constants
- Subject: Re: defining NSColor constants
- From: "Sean McBride" <email@hidden>
- Date: Thu, 6 Aug 2009 11:27:56 -0400
- Organization: Rogue Research Inc.
On 8/6/09 8:38 PM, Graham Cox said:
>Then add a class method to NSColor in a category:
>
>+ (NSColor*) calibratedRGBColorWithValues:(const float*) values;
Nitpick: use CGFloat instead of float to match NSColor. Especially
since you're passing an array of float/doubles.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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