Contents

tickMarkPosition

Determines where the slider’s tick marks are displayed.

Declaration

var tickMarkPosition: NSSlider.TickMarkPosition { get set }

Discussion

For horizontal sliders, use NSSlider.TickMarkPosition.below and NSSlider.TickMarkPosition.above. For vertical sliders, use leading, and trailing. The default positions are below for horizontal and leading for vertical. This property has no effect if numberOfTickMarks is 0, or if the slider is circular. In its implementation of this property, the receiving NSSlider instance invokes the method of the same name of its NSSliderCell instance.

See Also

Managing tick marks