Edytuj

Udostępnij za pośrednictwem


UIDropInteractionDelegate_Extensions Class

Definition

Extension methods to the IUIDropInteractionDelegate interface to support all the methods from the UIDropInteractionDelegate protocol.

public static class UIDropInteractionDelegate_Extensions
type UIDropInteractionDelegate_Extensions = class
Inheritance
UIDropInteractionDelegate_Extensions

Remarks

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

Methods

CanHandleSession(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Returns true if the specified interaction can handle the specified session.

ConcludeDrop(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called after the drop is performed and all animations have completed.

GetPreviewForDroppingItem(IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, UITargetedDragPreview)

Method that is called for each drag item to allow the developer to provide a custom preview.

PerformDrop(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called to consume data from the item providers in the drop session.

SessionDidEnd(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called to allow the developer to release all resources for the completed drop session.

SessionDidEnter(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called when the user drags the drop session into the view for the drop interaction.

SessionDidExit(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called when the user drags the drop session out of the view for the drop interaction.

SessionDidUpdate(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called when the touch point moves into or within the view, or when drag items are added while the touch point is within the view.

WillAnimateDrop(IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, IUIDragAnimating)

Method that is called for each visible drag item just before the drop is animated.

Applies to