Contents

hasPreciseScrollingDeltas

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

Declaration

var hasPreciseScrollingDeltas: Bool { get }

Discussion

This property is set to true if precise scrolling deltas are available; otherwise, false.

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

Getting scroll wheel and flick events