Enumeration Case

NSEvent.EventType.smartMagnify

An event representing the smart zoom gesture.

Declaration

case smartMagnify = 32

Discussion

NSEvent.EventType.smartMagnify represents the smart zoom gesture (that is, a 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.

See Also

Event Types

case gesture

An event that represents a nonspecific type of 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 beginGesture

An event that represents a gesture beginning.

case endGesture

An event that represents a gesture ending.

case pressure

An event representing a change in pressure on a pressure-sensitive device (requires a 64-bit processor).

case quickLook

Supports the event responder method that initiates a Quicklook.