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, ...
Get From Idea to App: Creating iOS UI, Animations, and Gestures 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.