Instance Property

scrollingDeltaY

The scroll wheel’s vertical delta.

Declaration

@property(readonly) CGFloat scrollingDeltaY;

Discussion

This is the preferred property for accessing NSScrollWheel delta values. When hasPreciseScrollingDeltas is NO, multiply the value returned by this method by the line or row height. Otherwise scroll by the returned amount.

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.

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.