Generic Initializer

init(value:step:onEditingChanged:label:)

Creates an instance configured to increment and decrement value by units of step.

Declaration

init<V>(value: Binding<V>, step: V.Stride = 1, onEditingChanged: @escaping (Bool) -> Void = { _ in }, @ViewBuilder label: () -> Label) where V : Strideable