Instance Property

hasPreciseScrollingDeltas

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

Declaration

@property(readonly) BOOL hasPreciseScrollingDeltas;

Discussion

This property is set to YES if precise scrolling deltas are available; otherwise, NO.

This property is valid for NSScrollWheel events. A generic scroll wheel issues rather coarse scroll deltas. Some mice and trackpads provide much more precise delta. This method determines how the values of the scrollingDeltaX and scrollingDeltaY should be interpreted.

See Also

Scroll Wheel and Flick Events

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.

NSEventSwipeTrackingOptions

Constants that specify swipe-tracking options.

directionInvertedFromDevice

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