Structure

NSEventMask

These constants are masks for the events defined in NSEventType. Pass them to the NSCell method sendAction(on:) to specify when an NSCell object should send its action message.

Symbols

Constants

let NSTabletPointMask: NSEventMask

Corresponds to NSTabletPoint.

Deprecated
let NSTabletProximityMask: NSEventMask

Corresponds to NSTabletProximity.

Deprecated
static var gesture: NSEventMask

Corresponds to NSEventTypeGesture.

static var magnify: NSEventMask

Corresponds to NSEventTypeMagnify.

static var swipe: NSEventMask

Corresponds to NSEventTypeSwipe.

static var rotate: NSEventMask

Corresponds to NSEventTypeRotate.

static var beginGesture: NSEventMask

Corresponds to NSEventTypeBeginGesture.

static var endGesture: NSEventMask

Corresponds to NSEventTypeEndGesture.

static var smartMagnify: NSEventMask

ANSEvent type for the smart zoom gesture (two-finger double tap on trackpads) along with a corresponding NSResponder method. In response to this event, you should magnify the content appropriately for your app. For example, you might zoom in on a specific paragraph or image.

static var pressure: NSEventMask

An NSEvent type representing a change in pressure on a pressure-sensitive device. Requires a 64-bit processor.

Relationships

Conforms To