Gold Challenge: Circles

Use two fingers to draw circles. Try having each finger represent one corner of the bounding box around the circle. Recall that you can simulate two fingers on the simulator by holding down the Option key. (Hint: This is much easier if you track touches that are working on a circle in a separate dictionary.)

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.