init(_:selection:)
Creates an instance that selects multiple dates with an unbounded range.
Declaration
@export(implementation) nonisolated init(_ titleResource: LocalizedStringResource, selection: Binding<Set<DateComponents>>)Parameters
- titleResource:
The localized title of
self, describing its purpose. - selection:
The date values being displayed and selected.