Re: CGFloat in 10.4
Re: CGFloat in 10.4
- Subject: Re: CGFloat in 10.4
- From: David Duncan <email@hidden>
- Date: Tue, 18 Mar 2008 17:38:13 -0700
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@hidden
_______________________________________________
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