Generic Structure


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


struct Picker<Label, SelectionValue, Content> where Label : View, SelectionValue : Hashable, Content : View


Applying Standard Modifiers

View Modifiers

Configure this view and the views it contains by applying standard modifiers.


Conforms To

See Also

Value Selectors

struct Toggle

A control that toggles between on and off states.

struct DatePicker

A control for selecting an absolute date.

struct Slider

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

struct Stepper

A control used to perform semantic increment and decrement actions.