Instance Property

scrollingDeltaY

The scroll wheel’s vertical delta.

Declaration

var scrollingDeltaY: CGFloat { get }

Discussion

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