• 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
Re: CGFloat in 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: CGFloat in 10.4 (From: "bensyverson" <email@hidden>)

  • Prev by Date: Re: CGFloat in 10.4
  • Next by Date: Adding spaces to an NSString
  • Previous by thread: Re: CGFloat in 10.4
  • Next by thread: Re: CGFloat in 10.4
  • Index(es):
    • Date
    • Thread