Instance Method

removeGestureRecognizer:

Detaches a gesture recognizer from the view.

Declaration

- (void)removeGestureRecognizer:(NSGestureRecognizer *)gestureRecognizer;

Parameters

gestureRecognizer

The gesture recognizer to remove. This parameter must not be nil.

Discussion

Removing a gesture recognizer also removes the strong reference to it held by the view.

See Also

Managing Gesture Recognizers

gestureRecognizers

The gesture recognize objects currently attached to the view.

- addGestureRecognizer:

Attaches a gesture recognizer to the view.