An NSRulerView displays a ruler and markers above or to the side of an NSScrollView’s document view. Views within the NSScrollView can become clients of the ruler view, having it display markers for their elements, and receiving messages from the ruler view when the user manipulates the markers.
- macOS 10.10+
Displays markers that represent elements of the client view.
Displays in arbitrary units.
Provides for an accessory view containing extra controls.
Commonly Used Methods
See NSRulerMarkerClientViewDelegation for delegate methods that may be of interest.