Class

NSRotationGestureRecognizer

An NSRotationGestureRecognizer object is a continuous gesture recognizer that tracks two trackpad touches moving opposite each other in a circular motion. This rotation gesture implies that the underlying view should rotate in a matching direction. The gesture is recognized when the trackpad touches end.

Overview

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

Symbols

Interpreting the Gesture

var rotation: CGFloat

The rotation of the gesture in radians.

var rotationInDegrees: CGFloat

The rotation of the gesture in degrees.

Relationships

Inherits From

Conforms To