SwiftstructDesignLibrary
struct DesignLibrary.Stepper
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 26
- field
var _canDecrement: Bool - field
var _canIncrement: Bool - field
var _decrementState: SwiftUI.Binding<DesignLibrary.InteractionState> - field
var _designIdiom: SwiftUI.Environment<DesignLibrary.DesignIdiom> - field
var _incrementState: SwiftUI.Binding<DesignLibrary.InteractionState> - field
var _interactionState: DesignLibrary.InteractionState - field
var _isIncrementing: Bool - field
var _value: SwiftUI.Binding<Double> - field
var autorepeat: DesignLibrary.Stepper.AutorepeatBehavior - field
var bordered: Bool - field
var gestureAction: @MainActor @Sendable (DesignLibrary.ControlTrackingEvents) -> () - field
var gesturesEnabled: Bool - field
var increment: Double - field
var maxValue: Double - field
var minValue: Double - field
var valueWraps: Bool - init
init(incrementState: SwiftUI.Binding<DesignLibrary.InteractionState>, decrementState: SwiftUI.Binding<DesignLibrary.InteractionState>, value: SwiftUI.Binding<Double>, minValue: Double, maxValue: Double, increment: Double, valueWraps: Bool, autorepeat: DesignLibrary.Stepper.AutorepeatBehavior, bordered: Bool, gesturesEnabled: Bool, gestureAction: (DesignLibrary.ControlTrackingEvents) -> ()) -> DesignLibrary.Stepper - init
init(incrementState: DesignLibrary.InteractionState, decrementState: DesignLibrary.InteractionState, bordered: Bool) -> DesignLibrary.Stepper - init
init(incrementState: DesignLibrary.InteractionState, decrementState: DesignLibrary.InteractionState) -> DesignLibrary.Stepper - init
init() -> DesignLibrary.Stepper - typealias
typealias Body = SwiftUI._ConditionalContent<DesignLibrary.MacStepper<DesignLibrary.GeometryMarker<DesignLibrary.Stepper.IncrementKey>, DesignLibrary.GeometryMarker<DesignLibrary.Stepper.DecrementKey>, DesignLibrary.Stepper.IncrementKey, DesignLibrary.Stepper.DecrementKey>, DesignLibrary.iOSStepper<DesignLibrary.GeometryMarker<DesignLibrary.Stepper.IncrementKey>, DesignLibrary.GeometryMarker<DesignLibrary.Stepper.DecrementKey>>> - var
var body: some SwiftUI.View { get } - var
var canDecrement: Bool { get set } - var
var canIncrement: Bool { get set } - var
var interactionState: DesignLibrary.InteractionState { get set } - var
var isIncrementing: Bool { get set }
Header
struct Stepper { enum AutorepeatBehavior { case interval(delay: Swift.Double, interval: Swift.Double) case never } struct IncrementKey { static func reduce(value: inout SwiftUI.Anchor<__C.CGRect>?, nextValue: () -> SwiftUI.Anchor<__C.CGRect>?) } struct DecrementKey { static func reduce(value: inout SwiftUI.Anchor<__C.CGRect>?, nextValue: () -> SwiftUI.Anchor<__C.CGRect>?) } // synthesized from the backing storage `_incrementState`; the property's own accessors are stripped @SwiftUI.Binding var incrementState: DesignLibrary.InteractionState { get set } // synthesized from the backing storage `_decrementState`; the property's own accessors are stripped @SwiftUI.Binding var decrementState: DesignLibrary.InteractionState { get set } // synthesized from the backing storage `_value`; the property's own accessors are stripped @SwiftUI.Binding var value: Swift.Double { get set } // synthesized from the backing storage `_designIdiom`; the property's own accessors are stripped @SwiftUI.Environment var designIdiom: DesignLibrary.DesignIdiom { get } var minValue: Swift.Double var maxValue: Swift.Double var increment: Swift.Double var valueWraps: Swift.Bool var autorepeat: DesignLibrary.Stepper.AutorepeatBehavior var bordered: Swift.Bool var gestureAction: @Swift.MainActor @Sendable (_: DesignLibrary.ControlTrackingEvents) -> () var gesturesEnabled: Swift.Bool var _interactionState: DesignLibrary.InteractionState var _isIncrementing: Swift.Bool var _canIncrement: Swift.Bool var _canDecrement: Swift.Bool init(incrementState: SwiftUI.Binding<DesignLibrary.InteractionState>, decrementState: SwiftUI.Binding<DesignLibrary.InteractionState>, value: SwiftUI.Binding<Swift.Double>, minValue: Swift.Double, maxValue: Swift.Double, increment: Swift.Double, valueWraps: Swift.Bool, autorepeat: DesignLibrary.Stepper.AutorepeatBehavior, bordered: Swift.Bool, gesturesEnabled: Swift.Bool, gestureAction: @escaping (_: DesignLibrary.ControlTrackingEvents) -> ()) init(incrementState: DesignLibrary.InteractionState, decrementState: DesignLibrary.InteractionState, bordered: Swift.Bool) init(incrementState: DesignLibrary.InteractionState, decrementState: DesignLibrary.InteractionState) init() var body: some SwiftUI.View { get } var canDecrement: Swift.Bool { get set } var canIncrement: Swift.Bool { get set } var interactionState: DesignLibrary.InteractionState { get set } var isIncrementing: Swift.Bool { get set } }