Generic Structure


A control for selecting an absolute date.


struct DatePicker<Label> where Label : View


It can be configured to only display specific components of the date, but still results in picking a complete Date instance.


Creating a Date Picker

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 Picker

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

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.