Protocol

UITextDropDelegate

The interface for configuring a text view’s drop behavior.

Declaration

protocol UITextDropDelegate

Topics

Accepting a Drop Activity

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.

Handling Drop Activity Notifications

func textDroppableView(UIView & UITextDroppable, willPerformDrop: UITextDropRequest)

Tells the delegate that the drop operation is about to happen.

Providing a Custom Preview for a Drop Activity

Relationships

Inherits From

See Also

Text View Additions

protocol UITextDragDelegate

The interface for customizing the behavior of a drag activity for a text view.

protocol UITextDraggable

The interface that determines if a text view is a drag source.

struct UITextDragOptions

A set of options that determine the behavior of a draggable text view.

protocol UITextDroppable

The interface that determines if a text view is a drop destination.

enum UITextDropEditability

The text-drop editability styles for noneditable text views.