Stepper
A control for incrementing or decrementing a value.
public class Stepper: Control
Inheritance
Initializers
init(frame:)
public init(frame: Rect)
Properties
isContinuous
A boolean value that determines whether to send value changes during user interaction or after user interaction ends.
public var isContinuous: Bool = true
autorepeat
A boolean value that determines whether to repeatedly change the stepper’s value as the user presses and holds a stepper button.
public var autorepeat: Bool = true
wraps
A boolean value that determines whether the stepper can wrap its value to the minimum or maximum value when incrementing and decrementing the value.
public var wraps: Bool
minimumValue
The lowest possible numeric value for the stepper.
public var minimumValue: Double
maximumValue
The highest possible numeric value for the stepper.
public var maximumValue: Double
stepValue
The step, or increment, value for the stepper.
public var stepValue: Double
value
The numeric value of the stepper.
public var value: Double