value
The current value of the slider.
Declaration
var value: Float { get set }Discussion
The default value is the slider’s minimum value. You may set a value only if it’s within the slider’s minimum and maximum values, otherwise the system throws an exception.