I'm trying to get a gradient example working that I found here:
Using a CGGradient Object
But this line...
... is throwing errors. Says that "kCGColorSpaceGenericRGB" is deprecated. Does anyone know what I should be using instead?
Ryan
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