O'Reilly logo

From Idea to App: Creating iOS UI, Animations, and Gestures by Shawn Welch

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

Chapter 13. Creating Custom iOS Gestures

In general, it’s best to avoid defining new gestures. Wait, what? You’re probably asking yourself, Why dedicate an entire chapter to creating custom gestures only to start off by saying it should be avoided?

It’s true that, for the majority of apps, Apple recommends that you not go overboard by defining new gestures, especially new gestures for already established behaviors. By new gestures I mean things like using a check-mark gesture for confirmation, or drawing a big X across the screen for delete. Apps are supposed to be simple; forcing a user to learn new and unnecessary gestures only increases your app’s learning curve and quickly decreases its intuitive nature.

There is a place for custom gestures, ...

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