On Mar 18, 2008, at 5:58 PM, bensyverson wrote:
Okay -- but how do I get CIColor components in 10.4?

Both float* and double* throw a warning ("assignment from incompatible pointer type," and "assignment discards qualifiers from pointer target type," respectively)


If your targeting the 10.4 SDK:

const float * c = [myColor components];

If your targeting the 10.5 SDK:

const CGFLoat * c = [myColor components];

Deployment target doesn't matter here. Just which SDK your targeting.
--
David Duncan
Apple DTS Animation and Printing
[EMAIL PROTECTED]



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to