Don't Use UISwipeGestureRecognizer

Your job as an app developer is to craft a meaningful and delightful user experience. One of the best ways to accomplish this goal is to provide feedback as a user performs some gesture.

When using gesture recognizers, it is almost always far, far better to use UIPanGestureRecognizer than UISwipeGestureRecognizer because it provides callbacks as the gesture takes place instead of after it is said and done.

UISwipeGestureRecognizer doesn’t provide developers with an opportunity to provide immediate, in-progress feedback. Compared to UIPanGestureRecognizer, it robs you of an opportunity to make your app juicy.


Posted on May 22, 2013