---
title: "init(delegate:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uicalendarselectionmultidate/init(delegate:)"
---

# init(delegate:)

Creates an object that tracks multiple dates a user selects from a calendar view, with an optional delegate to manage selectable dates and selection changes.

## Declaration

```swift
init(delegate: (any UICalendarSelectionMultiDateDelegate)?)
```

## Parameters

- `delegate`: A delegate object that a calendar view asks for selectable dates, and informs of changes to the selection of multiple dates.
