value
The slider’s current value.
Declaration
var value: Float { get set }Discussion
Use this property to get and set the slider’s current value. To render an animated transition from the current value to the new value, use the setValue(_:animated:) method instead.
If you try to set a value that’s below the minimum or above the maximum, the minimum or maximum value is set instead. The default value of this property is 0.0.