Handling Touches Using Responder Methods and Gesture Recognizers
Version 2.0, 2013-05-13
Updated for modern Objective-C; the gesture recognisers are now instantiated in the storyboard.
(Full Revision History)
Xcode 4.6 or later; iOS SDK 6.0 or later.
iOS 6.0 or later.
This sample contains two applications that demonstrate how to handle touches, including multiple touches that move multiple objects: "Touches_Responder" demonstrates how to handle touches using UIResponder's: touches began, touches moved, and touches ended methods. "Touches_GestureRecognizers" demonstrates how to use UIGestureRecognizer objects to handle touch events.
© 2013 Apple Inc. All Rights Reserved. (Last updated: 2013-05-13)