Class

NSRotationGestureRecognizer

A continuous gesture recognizer that tracks two trackpad touches moving opposite each other in a circular motion.

Declaration

@interface NSRotationGestureRecognizer : NSGestureRecognizer

Overview

This rotation gesture implies that the underlying view should rotate in a matching direction. The gesture is recognized when the trackpad touches end.

Upon creation, the gesture recognizer sets the value of the delaysRotationEvents property to YES.

Topics

Interpreting the Gesture

rotation

The rotation of the gesture in radians.

rotationInDegrees

The rotation of the gesture in degrees.

Relationships

Inherits From

See Also

Standard Gestures

NSClickGestureRecognizer

A discrete gesture recognizer that tracks a specified number of mouse clicks.

NSPressGestureRecognizer

A discrete gesture recognizer that tracks whether the user held down a mouse button for a minimum amount of time before releasing it.

NSPanGestureRecognizer

A continuous gesture recognizer for panning (dragging) gestures.

NSMagnificationGestureRecognizer

A continuous gesture recognizer that tracks a pinch gesture used to magnify content.