Enumeration

NSEventPhase

Constants that represent the possible phases during an event phase.

Declaration

typedef enum NSEventPhase : NSUInteger {
    ...
} NSEventPhase;

Topics

Constants

NSEventPhaseNone

The event is not associated with a phase.

NSEventPhaseBegan

An event phase has begun.

NSEventPhaseStationary

An event phase is in progress but hasn't moved since the previous event.

NSEventPhaseChanged

An event phase has changed.

NSEventPhaseEnded

The event phase ended.

NSEventPhaseCancelled

The system canceled the event phase.

NSEventPhaseMayBegin

The system event phase may begin.

See Also

Scroll Wheel and Flick Events

hasPreciseScrollingDeltas

A Boolean value that indicates whether precise scrolling deltas are available.

scrollingDeltaX

The scroll wheel’s horizontal delta.

scrollingDeltaY

The scroll wheel’s vertical delta.

momentumPhase

The momentum phase for a scroll or flick gesture.

phase

The phase of a gesture event, such as a magnify, scroll, or pressure change.

- trackSwipeEventWithOptions:dampenAmountThresholdMin:max:usingHandler:

Allows tracking and user interface feedback of scroll wheel events.

NSEventSwipeTrackingOptions

Constants that specify swipe-tracking options.

directionInvertedFromDevice

A Boolean value that indicates whether the user has changed the device inversion.