UICollectionViewDropDelegate_Extensions UICollectionViewDropDelegate_Extensions Class

Definition

Extension methods to the IUICollectionViewDropDelegate interface to support all the methods from the UICollectionViewDropDelegate protocol.

public static class UICollectionViewDropDelegate_Extensions
type UICollectionViewDropDelegate_Extensions = class
Inheritance
UICollectionViewDropDelegate_ExtensionsUICollectionViewDropDelegate_Extensions

Remarks

The extension methods for IUICollectionViewDropDelegate allow developers to treat instances of the interface as having all the optional methods of the original UICollectionViewDropDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

CanHandleDropSession(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession) CanHandleDropSession(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Returns a Boolean value that tells whether the collection view can handle drops from the data in the session.

DropSessionDidEnd(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession) DropSessionDidEnd(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Method that is called when the drop session ends.

DropSessionDidEnter(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession) DropSessionDidEnter(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Method that is called when the drop point enters the collection view.

DropSessionDidExit(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession) DropSessionDidExit(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Method that is called when the drop point leaves the collection view.

DropSessionDidUpdate(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession, NSIndexPath) DropSessionDidUpdate(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession, NSIndexPath)

Method that is called when the drop point over the collection view changes.

GetDropPreviewParameters(IUICollectionViewDropDelegate, UICollectionView, NSIndexPath) GetDropPreviewParameters(IUICollectionViewDropDelegate, UICollectionView, NSIndexPath)

Returns the drag preview parameters for the item at the specified index path.

Applies to