init<V>(value: Binding<V>, in: ClosedRange <V>, step: V.Stride, onEditingChanged : (Bool) -> Void, label: () -> Label)
Creates a slider to select a value from a given range, subject to a step increment, which displays the provided label.
Available when
Label
conforms to View
and ValueLabel
is EmptyView
.init<V>(value: Binding<V>, in: ClosedRange <V>, onEditingChanged : (Bool) -> Void, minimumValueLabel : ValueLabel , maximumValueLabel : ValueLabel , label: () -> Label)
Creates a slider to select a value from a given range, which displays the provided labels.
Available when
Label
conforms to View
and ValueLabel
conforms to View
.init<V>(value: Binding<V>, in: ClosedRange <V>, step: V.Stride, onEditingChanged : (Bool) -> Void, minimumValueLabel : ValueLabel , maximumValueLabel : ValueLabel , label: () -> Label)
Creates a slider to select a value from a given range, subject to a step increment, which displays the provided labels.
Available when
Label
conforms to View
and ValueLabel
conforms to View
.