Contents

isCompatibleWithResponsiveScrolling

A Boolean value that indicates whether views support responsive scrolling.

Declaration

class var isCompatibleWithResponsiveScrolling: Bool { get }

Discussion

When the value of this property is true, the view class supports responsive scrolling. AppKit enables responsive scrolling when the views involved in scrolling—the NSScrollView, NSClipView, and embedded document view—all have this property set to true. If you want to opt out of responsive scrolling, override this property and set it to false.

NSScrollView, NSClipView, and other view subclasses override this property and perform additional checks.

See Also

Scrolling the View