Edytuj

Udostępnij za pośrednictwem


UITextViewDelegate_Extensions Class

Definition

Extension methods to the IUITextViewDelegate interface to support all the methods from the UITextViewDelegate protocol.

public static class UITextViewDelegate_Extensions
type UITextViewDelegate_Extensions = class
Inheritance
UITextViewDelegate_Extensions

Remarks

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

Methods

Changed(IUITextViewDelegate, UITextView)

Indicates the text or text attributes in the specified UITextView were changed by the app user.

EditingEnded(IUITextViewDelegate, UITextView)

Indicates that editing has ended in the specified UITextView.

EditingStarted(IUITextViewDelegate, UITextView)

Indicates editing has begun in the specified UITextView.

SelectionChanged(IUITextViewDelegate, UITextView)

Indicates the text selection has changed in the specified UITextView.

ShouldBeginEditing(IUITextViewDelegate, UITextView)

Whether editing should begin in the specified UITextView.

ShouldChangeText(IUITextViewDelegate, UITextView, NSRange, String)

Whether the specified text should be replaced in the UITextView.

ShouldEndEditing(IUITextViewDelegate, UITextView)

Whether editing should end in the specified UITextView.

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange, UITextItemInteraction)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

ShouldInteractWithTextAttachment(IUITextViewDelegate, UITextView, NSTextAttachment, NSRange)

Developers should not use this deprecated method. Developers should use the 'ShouldInteractWithTextAttachment' overload that takes 'UITextItemInteraction' instead.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

Whether the specified UITextView should allow user interaction with the specified URL in the given range of text.

Applies to