Protocol

UITextPasteDelegate

The interface for handling pasting and dropping of text, using item providers.

Declaration

@protocol UITextPasteDelegate

Topics

Preparing to Paste a Text Paste Item

- textPasteConfigurationSupporting:transformPasteItem:

Tells the delegate to transform the pasted or dropped text item.

Pasting the Text Paste Item

- textPasteConfigurationSupporting:combineItemAttributedStrings:forRange:

Asks the delegate to combine multiple strings into a single attributed string.

- textPasteConfigurationSupporting:performPasteOfAttributedString:toRange:

Asks the delegate to explicitly handle the final incorporation of a pasted or dropped string of text into the text view.

Animating the Paste Operation

- textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:

Asks the delegate if the paste or drop operation should be animated.

Relationships

Inherits From

See Also

Pasteboard Support

UITextPasteItem

The interface for obtaining information about, and interacting with, a text item for pasting or dropping.

UITextPasteConfigurationSupporting

The interface for text-oriented responder objects to participate in the unified paste and drop system in iOS.