Challenges

1. On iPhone, add a gesture to go back from the car detail view to the car table menu. The gesture should be a triple tap, using three fingers for each tap. Use a built-in recognizer.

2. Add two different ways to reset the taxi in AboutViewController. First, reset the car to its original position if the user puts a second finger on the screen. Resetting the car should also cancel the gesture so the taxi no longer moves, even if the user keeps moving a finger on the screen. Second, add a reset car view to AboutViewController. Dragging the car over this view should reset it and cancel the gesture.

3. Move the view in AboutViewController using UIPanGestureRecgonizer instead of the custom DragViewGesture. The pan gesture gives you more ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming 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.