Contents

UITableViewDropDelegate

The interface for handling drops in a table view.

Declaration

@MainActor protocol UITableViewDropDelegate : NSObjectProtocol

Mentioned in

Overview

Implement this protocol in the object that you use to incorporate dropped data into your table view. The only required method of this protocol is the tableView(_:performDropWith:) method, but you can implement other methods as needed to customize the drop behavior of your table view.

Assign your custom delegate object to the dropDelegate property of your table view.

Topics

Declaring support for handling drops

Providing a custom drop preview

Incorporating the dropped data

Tracking the drag movements

See Also

Drag and drop