Instance Property


The delegate of the gesture recognizer.


weak var delegate: NSGestureRecognizerDelegate? { get set }


Use the delegate for fine-grained control over the recognition of a gesture. For example, you can use the delegate to determine whether gesture recognition should begin or whether it should start only after other gesture recognizers fail.

The delegate must implement the NSGestureRecognizerDelegate protocol.