Generic Structure

DatePicker

A control for selecting an absolute date.

Declaration

struct DatePicker<Label> where Label : View

Overview

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

Topics

Creating a Date Picker

Applying Standard Modifiers

View Modifiers

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

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 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.