Constants that are masks for the events defined in NSEvent.EventType.


Pass these constants to the NSCell method sendAction(on:) to specify when an NSCell object should send its action message.



static var gesture: NSEvent.EventTypeMask

Corresponds to NSEventTypeGesture.

static var magnify: NSEvent.EventTypeMask

Corresponds to NSEventTypeMagnify.

static var swipe: NSEvent.EventTypeMask

Corresponds to NSEventTypeSwipe.

static var rotate: NSEvent.EventTypeMask

Corresponds to NSEventTypeRotate.

static var beginGesture: NSEvent.EventTypeMask

Corresponds to NSEventTypeBeginGesture.

static var endGesture: NSEvent.EventTypeMask

Corresponds to NSEventTypeEndGesture.

static var smartMagnify: NSEvent.EventTypeMask

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: NSEvent.EventTypeMask

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


init(type: NSEvent.EventType)

Returns the event mask for the specified type.


Conforms To