Class

UICollectionViewDropProposal

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

Declaration

@interface UICollectionViewDropProposal : UIDropProposal

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

- initWithDropOperation:intent:

Creates a drop proposal object that specifies how to incorporate the dropped content.

Getting the Proposed Drop Location

intent

The option to use when incorporating the dropped items into your content.

UICollectionViewDropIntent

Constants indicating how you intend to handle a drop.

UIDropOperation

Operation types that determine how a drag and drop activity resolves when the user drops a drag item.

Relationships

Inherits From

See Also

Drag and Drop

Supporting Drag and Drop in Collection Views

Initiate drags and handle drops from a collection view.

UICollectionViewDragDelegate

The interface for initiating drags from a collection view.

UICollectionViewDropDelegate

The interface for handling drops in a collection view.

UICollectionViewDropCoordinator

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

UICollectionViewDropItem

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

UICollectionViewDropPlaceholderContext

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

UIDataSourceTranslating

An advanced interface for managing a data source object.