Enumeration

NSEvent​Type

Symbols

Constants

let NSTablet​Point:​ NSEvent​Type

An event representing the current state of a tablet pointing device, including its location, pressure, and tilt.

Deprecated
let NSTablet​Proximity:​ NSEvent​Type

An event representing the proximity of a pointing device to its tablet.

Deprecated
case gesture

An event that represents some type of gesture that is not otherwise specified by a type such as NSEvent​Type​Magnify, NSEvent​Type​Swipe, NSEvent​Type​Rotate, NSEvent​Type​Begin​Gesture, or NSEvent​Type​End​Gesture.

case magnify

An event representing a pinch open or pinch close gesture.

case swipe

An event representing a swipe gesture.

case rotate

An event representing a rotation gesture.

case begin​Gesture

An event that represents a gesture beginning. Note that apps that link against macOS 10.11 and later no longer receive this event type. If you need to access the phases of a specific gesture, you can implement the responder for that gesture and examine its phase property instead.

case end​Gesture

An event that represents a gesture ending. Note that apps that link against macOS 10.11 and later no longer receive this event type. If you need to access the phases of a specific gesture, you can implement the responder for that gesture and examine its phase property instead.

case smart​Magnify

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

case quick​Look

Supports the new event responder method that initiates a Quicklook.

case pressure

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