8. Gestures and Touches

The touch represents the heart of iOS interaction; it provides the most important way that users communicate their intent to an application. Touches are not limited to button presses and keyboard interaction. You can design and build applications that work directly with users’ gestures in meaningful ways. This chapter introduces direct manipulation interfaces that go far beyond prebuilt controls. You see how to create views that users can drag around the screen. You also discover how to distinguish and interpret gestures and how to work with iOS devices’ built-in multitouch sensors and the new iOS gesture recognizer classes. By the time you finish reading this chapter, you’ll have read about many different ways you can ...

Get The iOS 4 Developer’s Cookbook: Core Concepts and Essential Recipes for iOS Programmers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.