Contents

hasVerticalRuler

A Boolean that indicates whether the scroll view keeps a vertical ruler object.

Declaration

var hasVerticalRuler: Bool { get set }

Discussion

When the value of this method is true, the scroll view allocates a vertical ruler the first time it’s needed.

Display of rulers is controlled using the rulersVisible property.

See Also

Managing Rulers