Core Graphics Tutorial: Lines, Rectangles, and Gradients | raywenderlich.com

Learn how to use Core Graphics to draw lines, rectangles, and gradients — starting by beautifying a table view!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/25218890-core-graphics-tutorial-lines-rectangles-and-gradients

Hi and thank you for the tutorial!

I have a general question relating to Core Graphics, maybe you can help:
Would you happen to know, how one can construct a color space (CGColorSpace) that has colorSpace.model = .deviceN? There seems to be no initialiser for this… Thank you for any comments on this!