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