Contents

UICollectionViewDropPlaceholderContext

An object that contains information about a placeholder in the collection view.

Declaration

@MainActor protocol UICollectionViewDropPlaceholderContext : UIDragAnimating

Overview

You do not create instances of this class yourself. For each placeholder cell that you insert into the collection view, the drop coordinator provides you with an instance of this class. You use this context object later to remove the placeholder cell, either by committing the actual data to your data source object or by deleting the placeholder cell.

Topics

Updating the Placeholder Cell

Removing the Placeholder Cell

Getting the Drag Item

See Also

Drag and drop