- macOS 10.7+
static var began: NSTouch
A finger touched the device. Or, a resting touch transitioned to an active touch and resting touches are not wanted by the view hierarchy.
static var moved: NSTouch
A finger moved on the device.
static var stationary: NSTouch
A finger is touching the device, but hasn't moved since the previous event.
static var ended: NSTouch
A finger was lifted from the screen. Or, an active touch transitioned to a resting touch and resting touches are not wanted by the view hierarchy.
static var cancelled: NSTouch
The system cancelled tracking for the touch, as when (for example) the window associated with the touch resigns key or is deactivated.
static var any: NSTouch
Matches any phase of a touch.
var identity: NSCopying & NSObject
Use this property to track changes to a particular touch during the touch's life.
var phase: NSTouch
The current phase of the touch.
The normalized position of the touch.
Returns whether the touch is a resting touch.