kCGColorSpaceGenericRGB is deprecated?
I've just begun to dive into the Quartz framework.
I'm running the following code to initialze a CGColorSpaceRef:
CGColorSpaceRef colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
When I compile the code, xcode complains about the constant kCGColorSpaceGenericRGB being deprecated. But according to Apple's documentation, there's no mention of it being deprecated.
Any ideas? If it is deprecated, can someone please post an alternative approach to creating a CGColorSpaceRef object?
Thanks!
iPhone OS 2.1, Mac OS X (10.5.5)