Generic Structure


A control used to perform semantic increment and decrement actions.


struct Stepper<Label> where Label : View


The appearance and interaction of Stepper is determined at runtime and can be customized. Stepper uses the StepperStyle provided by its environment to define its appearance and interaction. Each platform provides a default style that reflects the platform style, but providing a new style will redefine all Stepper instances within that environment.


Conforms To

See Also

Value Selectors

struct Toggle

A control that toggles between on and off states.

struct Picker

A control for selecting from a set of mutually exclusive values.

struct DatePicker

A control for selecting an absolute date.

struct Slider

A control for selecting a value from a bounded linear range of values.