public interface UITextViewDelegate
Modifier and Type | Method and Description |
---|---|
default void |
didBeginEditing(UITextView textView)
It is used after the beginning of this text view's editing.
|
default void |
didChange(UITextView textView)
It is used when the attributes of this text view were changed by the
user.
|
default void |
didChangeSelection(UITextView textView)
It is used when the text selection of this text view was changed.
|
default void |
didEndEditing(UITextView textView)
It is used after the end of this text view's editing.
|
default boolean |
shouldBeginEditing(UITextView textView)
It is used in order to permit the editing of this text view.
|
default boolean |
shouldChangeTextInRange(UITextView textView,
NSRange range,
String text)
It is used in order to permit the replacement of this text view's
content.
|
default boolean |
shouldEndEditing(UITextView textView)
It is used in order to permit the end editing of this text view.
|
default boolean shouldBeginEditing(UITextView textView)
textView
- The text view that corresponds to this delegate.default boolean shouldEndEditing(UITextView textView)
textView
- The text view that corresponds to this delegate.default void didBeginEditing(UITextView textView)
textView
- The text view that corresponds to this delegate.default void didEndEditing(UITextView textView)
textView
- The text view that corresponds to this delegate.default boolean shouldChangeTextInRange(UITextView textView, NSRange range, String text)
textView
- The text view that corresponds to this delegate.range
- The range of the content to be replaced.text
- The text to insert.default void didChange(UITextView textView)
textView
- The text view that corresponds to this delegate.default void didChangeSelection(UITextView textView)
textView
- The text view that corresponds to this delegate.Copyright © 2020. All rights reserved.