Contents

UICollectionViewDropProposal

Your proposed solution for handling a drop in a collection view.

Declaration

@MainActor class UICollectionViewDropProposal

Mentioned in

Overview

Create instances of this class in the collectionView(_:dropSessionDidUpdate:withDestinationIndexPath:) method of your drop delegate object. You create drop proposals to let the collection view know how you intend to handle a drop at the currently specified location. The collection view uses that information to provide appropriate visual feedback to the user.

Topics

Creating a Drop Proposal

Getting the Proposed Drop Location

Initializers

See Also

Drag and drop