Contents

tickMarkValue(at:)

Returns the slider’s value represented by the tick mark at the specified index.

Declaration

func tickMarkValue(at index: Int) -> Double

Parameters

  • index:

    The index of the tick mark for which to return the value. The minimum-value tick mark has an index of 0.

Return Value

The value of the specified tick mark.

Discussion

In its implementation of this method, the receiving NSSlider instance invokes the method of the same name of its NSSliderCell instance.

See Also

Managing tick marks