Instance Property

wraps

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

Declaration

var wraps: Bool { get set }

Discussion

If true, incrementing beyond maximumValue sets value to minimumValue; likewise, decrementing below minimumValue sets value to maximumValue. If false, the stepper does not increment beyond maximumValue nor does it decrement below minimumValue but rather holds at those values.

The default value for this property is false.

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 minimumValue: Double

The lowest possible numeric value for the stepper.

var maximumValue: Double

The highest possible numeric value for the stepper.

var stepValue: Double

The step, or increment, value for the stepper.