Contents

UICollectionViewDropItem

The data associated with an item being dropped into the collection view.

Declaration

@MainActor protocol UICollectionViewDropItem : NSObjectProtocol

Overview

When handling a drop, you get instances of this class from the items property of the UICollectionViewDropCoordinator object. Use them to retrieve the data for the items being dragged and to plan any animations related to dropping the items. You do not create instances of this class yourself.

Topics

Getting the Drag Item

Getting the Item Information

See Also

Drag and drop