Platinum Challenge: Colors

Have a three-finger swipe upward bring up a panel that shows colors. Selecting one of those colors should make any lines you draw afterward appear in that color. No extra lines should be drawn by putting up that panel – or any lines drawn should be immediately deleted when the application realizes that it is dealing with a three-finger swipe.

Get iOS Programming: The Big Nerd Ranch Guide 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.