Protocol

UITextDropRequest

The interface for specifying the attributes of a drop request for a text view.

Declaration

protocol UITextDropRequest

Topics

Getting Information About the Text Drop Request

var dropPosition: UITextPosition

The text position corresponding to the location of a drop session.

Required.

var isSameView: Bool

A Boolean value indicating whether the drag and the drop are within the same text view.

Required.

var suggestedProposal: UITextDropProposal

The text drop proposal offered by the text view.

Required.

Getting the Drop Session

var dropSession: UIDropSession

The drop session for the text view.

Required.

Relationships

Inherits From

See Also

Drop Management

class UITextDropProposal

A proposed configuration for the behavior of a text drop interaction.

enum UITextDropProposal.Action

The text drop action styles for text views.

enum UITextDropProposal.Performer

The performers that are responsible for handling the drop operation.

enum UITextDropProposal.ProgressMode

The text drop progress styles for user-visible progress indication.