When a user selects or drags his finger across the screen in the iPhone application, two things happen:
- View gets an object
UITouch - A
UIGestureRecognizer UITouch , ( /, /, ..)
A UIGestureRecognizer , , . IPhone , , (t) > t20 > .
, UIGestureRecognizer " ", , . 1-6. , , . . , . - , UIGestureRecognizer, UIPanGestureRecognizer, UILongPressGestureRecognizer, UISwipeGestureRecognizer ..
, iOS Single View:
ViewController.swift.ViewController UIViewController.UIGestureRecognizerDelegate.UITapGestureRecognizer UITouch .UIGestureRecognizer delegate UIViewController self.- , ,
println touchesBegan:withEvent:, touchesMoved:withEvent:, touchesEnded:withEvent touchesCancelled:withEvent.
, iOS Developer Library .