Instance Property

stepValue

The step, or increment, value for the stepper.

Declaration

var stepValue: Double { get set }

Discussion

Must be numerically greater than 0. If you attempt to set this property’s value to 0 or to a negative number, the system raises an invalidArgumentException exception.

The default value for this property is 1.

See Also

Configuring the Stepper

var isContinuous: Bool

The continuous vs. noncontinuous state of the stepper.

var autorepeat: Bool

The automatic vs. nonautomatic repeat state of the stepper.

var wraps: Bool

The wrap vs. no-wrap state of the stepper.

var minimumValue: Double

The lowest possible numeric value for the stepper.

var maximumValue: Double

The highest possible numeric value for the stepper.