Protocol

UITextDraggable

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

Declaration

protocol UITextDraggable

Topics

Checking the Text Drag Activity Status

var isTextDragActive: Bool

A Boolean value indicating whether at least one drag session for the text view is active.

Required.

Managing the Text Drag Interaction

var textDragInteraction: UIDragInteraction?

The drag interaction object added by UIKit to the text view.

Required.

Setting the Text Drag Delegate

var textDragDelegate: UITextDragDelegate?

A text drag delegate object for customizing the drag source behavior of a text view.

Required.

Setting the Text Drag Options

var textDragOptions: UITextDragOptions

The options for the text drag operation.

Required.

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 UITextDropDelegate

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

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.