Exercise

Create a UIGestureRecognizer subclass that will recognize a Z gesture (like Zorro!). (Hint: This should be a discrete gesture, but you’ll need to have logic in all three touch methods to get it to work. Don’t forget your state changes!)

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK 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.