Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chaonic

macrumors newbie
Original poster
Feb 22, 2008
12
0
I'm trying to get a gradient example working that I found here:

Using a CGGradient Object

But this line...

Code:
 myColorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);

... is throwing errors. Says that "kCGColorSpaceGenericRGB" is deprecated. Does anyone know what I should be using instead?

Ryan
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.