Protocol

UITextDropDelegate

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

Declaration

@protocol UITextDropDelegate

Topics

Accepting a Drop Activity

textDroppableView:proposalForDrop:

Asks the delegate if the text view can accept a drop operation.

textDroppableView:willBecomeEditableForDrop:

Asks the delegate if a noneditable text view can accept a drop operation.

Handling Drop Session Notifications

textDroppableView:dropSessionDidEnter:

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

textDroppableView:dropSessionDidExit:

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

textDroppableView:dropSessionDidUpdate:

Tells the delegate that the drop session has been updated.

textDroppableView:dropSessionDidEnd:

Tells the delegate that the drop session has ended.

Handling Drop Activity Notifications

textDroppableView:willPerformDrop:

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

Providing a Custom Preview for a Drop Activity

textDroppableView:previewForDroppingAllItemsWithDefault:

Asks the delegate for the preview to show during the drop animation.

Relationships

Inherits From

See Also

Text View Additions

UITextDragDelegate

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

UITextDraggable

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

UITextDragOptions

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

UITextDroppable

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

UITextDropEditability

The text-drop editability styles for noneditable text views.