Instance Method

adjust(toNormalizedSliderPosition:)

Manipulates the UI to change the displayed value of the slider to a new value, based on a normalized position.

Declaration

func adjust(toNormalizedSliderPosition normalizedSliderPosition: CGFloat)

Discussion

A normalized slider value of 0 corresponds to the minimum value of the slider, and 1 corresponds to the maximum value.

See Also

Interacting with Sliders

var normalizedSliderPosition: CGFloat

Returns the position of the slider’s indicator as a normalized value, where 0 corresponds to the minimum value of the slider and 1 corresponds to its maximum value.