Instance Property

phase

The current phase of the touch.

Declaration

var phase: NSTouch.Phase { get }

Discussion

See NSTouch.Phase for possible values.

See Also

Properties of this touch

var identity: NSCopying & NSObjectProtocol

Use this property to track changes to a particular touch during the touch's life.

struct NSTouch.Phase

The possible phases of a touch. These constants are used by phase.

var normalizedPosition: NSPoint

The normalized position of the touch.

var isResting: Bool

Returns whether the touch is a resting touch.