次の方法で共有


UIDropInteractionDelegate_Extensions クラス

定義

プロトコルからUIDropInteractionDelegateのすべてのメソッドをIUIDropInteractionDelegateサポートする インターフェイスへの拡張メソッド。

public static class UIDropInteractionDelegate_Extensions
type UIDropInteractionDelegate_Extensions = class
継承
UIDropInteractionDelegate_Extensions

注釈

の拡張メソッドを使用すると、 IUIDropInteractionDelegate 開発者はインターフェイスのインスタンスを、元 UIDropInteractionDelegate のプロトコルのすべての省略可能なメソッドを持つものとして処理できます。 インターフェイスには必要なメンバーのみが含まれているので、これらの拡張メソッドを使用すると、開発者はプロトコルの省略可能なメンバーを呼び出すことができるようになります。

メソッド

CanHandleSession(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

指定した true が指定した interaction を処理できる場合は を返します session

ConcludeDrop(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

ドロップが実行され、すべてのアニメーションが完了した後に呼び出されるメソッド。

GetPreviewForDroppingItem(IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, UITargetedDragPreview)

開発者がカスタム プレビューを提供できるように、ドラッグ項目ごとに呼び出されるメソッド。

PerformDrop(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

ドロップ セッションでアイテム プロバイダーからのデータを使用するために呼び出されるメソッド。

SessionDidEnd(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

開発者が完了したドロップ セッションのすべてのリソースを解放できるようにするために呼び出されるメソッド。

SessionDidEnter(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

ユーザーがドロップ操作のためにドロップ セッションをビューにドラッグしたときに呼び出されるメソッド。

SessionDidExit(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

ユーザーがドロップ操作のためにドロップ セッションをビューからドラッグしたときに呼び出されるメソッド。

SessionDidUpdate(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

タッチ ポイントがビュー内またはビュー内に移動するとき、またはタッチ ポイントがビュー内にある間にドラッグ項目が追加されるときに呼び出されるメソッド。

WillAnimateDrop(IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, IUIDragAnimating)

ドロップがアニメーション化される直前に、表示されている各ドラッグ 項目に対して呼び出されるメソッド。

適用対象