<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewDropCoordinator",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITableViewDropCoordinator"
  },
  "title" : "UITableViewDropCoordinator"
}
-->

# UITableViewDropCoordinator

An interface for coordinating your custom drop-related actions with the table view.

```
@MainActor protocol UITableViewDropCoordinator : NSObjectProtocol
```

## Overview

Don’t create instances of this class yourself. When a drop occurs in the table view, UIKit creates an instance of this class and passes it to your [`tableView(_:performDropWith:)`](/documentation/UIKit/UITableViewDropDelegate/tableView(_:performDropWith:)) method. Use the object to let the table view know how you want to animate the dropped items into position.

## Topics

### Getting the dragged items

[`var items: [any UITableViewDropItem]`](/documentation/UIKit/UITableViewDropCoordinator/items)

The items being dragged.

### Getting the drop location

[`var destinationIndexPath: IndexPath?`](/documentation/UIKit/UITableViewDropCoordinator/destinationIndexPath)

The index path at which to insert the item into the table view.

### Animating rows to their destination

[`func drop(UIDragItem, toRowAt: IndexPath) -> any UIDragAnimating`](/documentation/UIKit/UITableViewDropCoordinator/drop(_:toRowAt:))

Animates the item to the specified index path in the table view.

[`func drop(UIDragItem, intoRowAt: IndexPath, rect: CGRect) -> any UIDragAnimating`](/documentation/UIKit/UITableViewDropCoordinator/drop(_:intoRowAt:rect:))

[`func drop(UIDragItem, to: UIDragPreviewTarget) -> any UIDragAnimating`](/documentation/UIKit/UITableViewDropCoordinator/drop(_:to:)-57wx)

Animates the item to an arbitrary location in your view hierarchy.

[`func drop(UIDragItem, to: UITableViewDropPlaceholder) -> any UITableViewDropPlaceholderContext`](/documentation/UIKit/UITableViewDropCoordinator/drop(_:to:)-3znax)

Animates the item to the specified location and inserts a placeholder cell at that location.

### Getting the session information

[`var session: any UIDropSession`](/documentation/UIKit/UITableViewDropCoordinator/session)

The drop session containing information about the transaction.

[`var proposal: UITableViewDropProposal`](/documentation/UIKit/UITableViewDropCoordinator/proposal)

The proposal for how to incorporate the dropped items.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)