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