CleanDatePicker
@MainActor
struct CleanDatePicker : View
This will display a date picker, that the user can use to select a new date.
-
The cleandate.
Declaration
Swift
@Binding @MainActor var cleanDate: Date { get nonmutating set } -
This is a binding for a “trigger,” that tells the screen to update to the latest values.
Declaration
Swift
@Binding @MainActor var syncUp: Bool { get nonmutating set } -
The picker view.
Declaration
Swift
@MainActor var body: some View { get }
View on GitHub