---
title: UICollectionViewDropDelegate
framework: uikit
role: symbol
role_heading: Protocol
path: uikit/uicollectionviewdropdelegate
---

# UICollectionViewDropDelegate

The interface for handling drops in a collection view.

## Declaration

```swift
@MainActor protocol UICollectionViewDropDelegate : NSObjectProtocol
```

## Mentioned in

Supporting Drag and Drop in Collection Views

## Overview

Overview Implement this protocol in the object that you use to incorporate dropped data into your collection view. The only required method of this protocol is the collectionView(_:performDropWith:) method, but you can implement other methods as needed to customize the drop behavior of your collection view. Assign your custom delegate object to the dropDelegate property of your collection view.

## Topics

### Declaring support for handling drops

- [collectionView(_:canHandle:)](uikit/uicollectionviewdropdelegate/collectionview(_:canhandle:).md)

### Incorporating the dropped data

- [collectionView(_:performDropWith:)](uikit/uicollectionviewdropdelegate/collectionview(_:performdropwith:).md)

### Tracking the drag movements

- [collectionView(_:dropSessionDidUpdate:withDestinationIndexPath:)](uikit/uicollectionviewdropdelegate/collectionview(_:dropsessiondidupdate:withdestinationindexpath:).md)
- [collectionView(_:dropSessionDidEnter:)](uikit/uicollectionviewdropdelegate/collectionview(_:dropsessiondidenter:).md)
- [collectionView(_:dropSessionDidExit:)](uikit/uicollectionviewdropdelegate/collectionview(_:dropsessiondidexit:).md)
- [collectionView(_:dropSessionDidEnd:)](uikit/uicollectionviewdropdelegate/collectionview(_:dropsessiondidend:).md)

### Providing a custom preview

- [collectionView(_:dropPreviewParametersForItemAt:)](uikit/uicollectionviewdropdelegate/collectionview(_:droppreviewparametersforitemat:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Drag and drop

- [Supporting Drag and Drop in Collection Views](uikit/supporting-drag-and-drop-in-collection-views.md)
- [UICollectionViewDragDelegate](uikit/uicollectionviewdragdelegate.md)
- [UICollectionViewDropCoordinator](uikit/uicollectionviewdropcoordinator.md)
- [UICollectionViewDropPlaceholder](uikit/uicollectionviewdropplaceholder.md)
- [UICollectionViewDropProposal](uikit/uicollectionviewdropproposal.md)
- [UICollectionViewDropItem](uikit/uicollectionviewdropitem.md)
- [UICollectionViewDropPlaceholderContext](uikit/uicollectionviewdropplaceholdercontext.md)
- [UIDataSourceTranslating](uikit/uidatasourcetranslating.md)
- [UICollectionViewPlaceholder](uikit/uicollectionviewplaceholder.md)
