Contents

horizontalScroller

The scroll view’s horizontal scroller.

Declaration

var horizontalScroller: NSScroller? { get set }

Discussion

The value of this property is nil if the scroll view has no horizontal scroller.

You can access the horizontal scroller using this property even if the scroll view isn’t currently displaying it. To make sure the scroller is visible, set hasHorizontalScroller to true.

See Also

Managing Scrollers