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

# init(delegate:)

Initializes a drop interaction object with a custom delegate object.

## Declaration

```swift
init(delegate: any UIDropInteractionDelegate)
```

## Parameters

- `delegate`: An object that conforms to the doc://com.apple.uikit/documentation/UIKit/UIDropInteractionDelegate protocol.

## Return Value

Return Value A drop interaction that has a delegate.
