<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MultiDatePicker/init(_:selection:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15MultiDatePickerVA2A4TextVRszrlE_9selection2inACyAEG10Foundation23LocalizedStringResourceV_AA7BindingVyShyAI0D10ComponentsVGGs16PartialRangeFromVyAI0D0VGtcfc::OverloadGroup"
  },
  "title" : "init(_:selection:in:)"
}
-->

# init(_:selection:in:)

Creates an instance that selects multiple dates on or after some
start date.

```
@export(implementation) nonisolated init(_ titleResource: LocalizedStringResource, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>)
```

## Parameters

`titleResource`

The localized title of `self`, describing
its purpose.

`selection`

The date values being displayed and selected.

`bounds`

The open range from some selectable start date.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)