Contents

UICollectionViewDropCoordinator

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

Declaration

@MainActor protocol UICollectionViewDropCoordinator : NSObjectProtocol

Mentioned in

Overview

You don’t create instances of this class yourself. When a drop occurs in the collection view, UIKit creates an instance of this class and passes it to your collectionView(_:performDropWith:) method. Use the object to let the collection view know how you want to animate the dropped items into position.

Topics

Getting the Dragged Items

Getting the Drop Location

Animating Items to Their Destination

Getting the Session Information

See Also

Drag and drop