Instance Property


The delegate of the gesture recognizer.


weak var delegate: UIGestureRecognizerDelegate? { get set }


The gesture recognizer maintains a weak reference to its delegate. The delegate must adopt the UIGestureRecognizerDelegate protocol and implement one or more of its methods.

See Also

Managing Gesture-Related Interactions

protocol UIGestureRecognizerDelegate

A set of methods implemented by the delegate of a gesture recognizer to fine-tune an app’s gesture-recognition behavior.