O'Reilly logo

Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming by Erica Sadun, Rod Strougo, Maurice Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, you added gestures to the CarValet app. First, you learned about the basics of gesture recognizers, including ones provided by the system. Next, you added built-in swipes to move back and forth through the details for each car. You learned some shortcuts when adding gestures in the storyboard, as well as how to disable gesture recognizers.

Then you learned how to create custom recognizers, including details on how they work. Next, you applied your knowledge by implementing a custom recognizer to reset the state of the iPad app. While doing this, you learned a way to recognize more complex gestures by breaking them down into components and transitions.

Finally, you created a bonus continuous recognizer to drag a yellow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required