Generic Structure

Stepper

A control used to perform semantic increment and decrement actions.

Declaration

struct Stepper<Label> where Label : View

Overview

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.

Relationships

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.