Changes

Jump to: navigation, search
Working with Colors in Quartz 2D
CGFloat components[] = {0.0, 0.0, 1.0, 0.5};
</pre>
<google>BUY_IPAD_BOTTOM</google>
With both the colorspace and the components defined, the CGColorRef structure can be created:
</pre>
As we can see, the use of UIColor avoids the necessity to create colorspaces and components when working with colors. Refer to the Apple documentation for more details of the range of methods provided by the UIColor class.
== Summary ==

Navigation menu