Protocol

UITextInteractionDelegate

An interface that an object implements to keep informed of text interaction events.

Declaration

protocol UITextInteractionDelegate

Topics

Handling Text Interaction Events

func interactionShouldBegin(UITextInteraction, at: CGPoint) -> Bool

Asks the delegate whether the text interaction should begin.

func interactionWillBegin(UITextInteraction)

Tells the delegate that the text interaction will begin.

func interactionDidEnd(UITextInteraction)

Tells the delegate that the text interaction ended.

Relationships

Inherits From

See Also

Text Interactions

class UITextInteraction

An interaction that provides text selection gestures and UI to custom text views.

enum UITextInteractionMode

Modes that determine the selection behaviors that a text interaction provides.