This tutorial will teach you how to implement gesture recognizers in your apps. It starts with a review of touch event handling, describes iOS’s abstract base class gesture recognizer (UIGestureRecognizer), and explores iOS’s six concrete gesture recognizer subclasses (UITapGestureRecognizer, UIPinchGestureRecognizer, UIRotationGestureRecognizer, UISwipeGestureRecognizer, UIPanGestureRecognizer, and UILongPressGestureRecognizer). It then discusses how to coordinate gesture recognizers with traditional touch event handlers, how to implement action methods for gesture recognizers, and how to implement dependent and simultaneous gesture recognizers. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
This site is safe
You are at a security, SSL-enabled, site. All our eBooks sources are constantly verified.