Protocol

UITextDragDelegate

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

Declaration

@protocol UITextDragDelegate

Topics

Handling Drag Session Notifications

- textDraggableView:dragSessionWillBegin:

Tells the delegate that the text has been lifted out of the text view and the user is beginning to drag the text.

- textDraggableView:dragSessionDidEnd:withOperation:

Tells the delegate that the drag session has ended.

Providing Additional Animations

- textDraggableView:willAnimateLiftWithAnimator:session:

Tells the delegate when the lift animation is about to begin, and gives you a chance to animate additional changes alongside the system animation.

Providing Custom Drag Items

- textDraggableView:itemsForDrag:

Asks the delegate for custom drag items from a text view.

Providing a Custom Preview for a Drag Activity

- textDraggableView:dragPreviewForLiftingItem:session:

Asks the delegate for the preview to show during the lift animation that happens when a user begins to drag an item from a text view.

Relationships

Inherits From

See Also

Text View Additions

UITextDropDelegate

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

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.