Silver Challenge: Colors

Make it so that the angle at which a line is drawn dictates its color once it has been added to currentLines.

Get iOS Programming: The Big Nerd Ranch Guide, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.