SwiftstructDesignLibrary

struct DesignLibrary.Stepper

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 26

  1. fieldvar _canDecrement: Bool
  2. fieldvar _canIncrement: Bool
  3. fieldvar _decrementState: SwiftUI.Binding<DesignLibrary.InteractionState>
  4. fieldvar _designIdiom: SwiftUI.Environment<DesignLibrary.DesignIdiom>
  5. fieldvar _incrementState: SwiftUI.Binding<DesignLibrary.InteractionState>
  6. fieldvar _interactionState: DesignLibrary.InteractionState
  7. fieldvar _isIncrementing: Bool
  8. fieldvar _value: SwiftUI.Binding<Double>
  9. fieldvar autorepeat: DesignLibrary.Stepper.AutorepeatBehavior
  10. fieldvar bordered: Bool
  11. fieldvar gestureAction: @MainActor @Sendable (DesignLibrary.ControlTrackingEvents) -> ()
  12. fieldvar gesturesEnabled: Bool
  13. fieldvar increment: Double
  14. fieldvar maxValue: Double
  15. fieldvar minValue: Double
  16. fieldvar valueWraps: Bool
  17. initinit(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
  18. initinit(incrementState: DesignLibrary.InteractionState, decrementState: DesignLibrary.InteractionState, bordered: Bool) -> DesignLibrary.Stepper
  19. initinit(incrementState: DesignLibrary.InteractionState, decrementState: DesignLibrary.InteractionState) -> DesignLibrary.Stepper
  20. initinit() -> DesignLibrary.Stepper
  21. typealiastypealias 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>>>
  22. varvar body: some SwiftUI.View { get }
  23. varvar canDecrement: Bool { get set }
  24. varvar canIncrement: Bool { get set }
  25. varvar interactionState: DesignLibrary.InteractionState { get set }
  26. varvar isIncrementing: Bool { get set }
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
    }
}