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 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.