---
title: UITableViewDropPlaceholderContext
framework: uikit
role: symbol
role_heading: Protocol
path: uikit/uitableviewdropplaceholdercontext
---

# UITableViewDropPlaceholderContext

An object for tracking a placeholder cell that you added to your table during a drop operation.

## Declaration

```swift
@MainActor protocol UITableViewDropPlaceholderContext : UIDragAnimating
```

## Overview

Overview Don’t create instances of this class yourself. Instead, call drop(_:to:) from your drop coordinator object. That method inserts a placeholder cell into the table and returns a UITableViewDropPlaceholderContext object for managing that placeholder. When you’re ready to swap a placeholder cell for a cell with the actual data, call the commitInsertion(dataSourceUpdates:) method of the context object. To remove the placeholder cell without providing a replacement, call deletePlaceholder() instead.

## Topics

### Updating the placeholder cell

- [commitInsertion(dataSourceUpdates:)](uikit/uitableviewdropplaceholdercontext/commitinsertion(datasourceupdates:).md)

### Removing the placeholder cell

- [deletePlaceholder()](uikit/uitableviewdropplaceholdercontext/deleteplaceholder().md)

### Getting the drag item

- [dragItem](uikit/uitableviewdropplaceholdercontext/dragitem.md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [UIDragAnimating](uikit/uidraganimating.md)

## See Also

### Placeholder cells

- [UITableViewDropPlaceholder](uikit/uitableviewdropplaceholder.md)
- [UITableViewPlaceholder](uikit/uitableviewplaceholder.md)
