Enumeration

NSEventSwipeTrackingOptions

Constants that specify swipe-tracking options.

Declaration

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

Topics

Constants

NSEventSwipeTrackingLockDirection

Clamp gestureAmount to 0 if the user starts to swipe in the opposite direction than they started.

NSEventSwipeTrackingClampGestureAmount

Don't allow gestureAmount to go beyond +/-1.0

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.

NSEventPhase

Constants that represent the possible phases during an event phase.

- trackSwipeEventWithOptions:dampenAmountThresholdMin:max:usingHandler:

Allows tracking and user interface feedback of scroll wheel events.

directionInvertedFromDevice

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