Instance Method

textDroppableView(_:dropSessionDidEnd:)

Tells the delegate that the drop session has ended.

Declaration

optional func textDroppableView(_ textDroppableView: UIView & UITextDroppable, dropSessionDidEnd session: UIDropSession)

Parameters

textDroppableView

The text view that received the drop activity.

session

The drop session that has ended.

Discussion

You implement this method if your delegate needs to do additional cleanup after the drop session has ended.

See Also

Handling Drop Session Notifications

func textDroppableView(UIView & UITextDroppable, dropSessionDidEnter: UIDropSession)

Tells the delegate that the user has moved the drag items into the coordinate system of the text view.

func textDroppableView(UIView & UITextDroppable, dropSessionDidExit: UIDropSession)

Tells the delegate that the user has moved the drag items out of the text view's coordinate system.

func textDroppableView(UIView & UITextDroppable, dropSessionDidUpdate: UIDropSession)

Tells the delegate that the drop session has been updated.