Bewerken

Delen via


UITextPasteDelegate_Extensions Class

Definition

Extension methods to the IUITextPasteDelegate interface to support all the methods from the UITextPasteDelegate protocol.

public static class UITextPasteDelegate_Extensions
type UITextPasteDelegate_Extensions = class
Inheritance
UITextPasteDelegate_Extensions

Remarks

The extension methods for IUITextPasteDelegate allow developers to treat instances of the interface as having all the optional methods of the original UITextPasteDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

CombineItemAttributedStrings(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString[], UITextRange)

Method that is called to combine multiple attributed strings.

PerformPaste(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange)

Method that is called to incorporate the pasted data into the application content.

ShouldAnimatePaste(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange)

Returns a Boolean value that tells the system whether to animate the paste operation.

TransformPasteItem(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, IUITextPasteItem)

Method that is called to transform the paste item as it is pasted.

Applies to