---
title: "init(_:selection:in:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/multidatepicker/init(_:selection:in:)"
---

# init(_:selection:in:)

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

## Declaration

```swift
nonisolated init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>)
```

## Parameters

- `titleKey`: The key for 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.

## See Also

### Picking dates in a range

- [init(selection:in:label:)](swiftui/multidatepicker/init(selection:in:label:).md)
