Instance Property


The number of necessary touches on a Touch Bar for the gesture recognizer to match.


var numberOfTouchesRequired: Int { get set }

See Also

Configuring the Gesture Recognizer

var allowableMovement: CGFloat

The maximum movement of the mouse in the view before the gesture fails.

var buttonMask: Int

A bit mask of the buttons required to recognize this press.

var minimumPressDuration: TimeInterval

The minimum time (in seconds) that the user must hold the mouse button in the view for a valid gesture.