public interface UITextFieldDelegate
Modifier and Type | Method and Description |
---|---|
default void |
didBeginEditing(UITextField textField)
It is used after the editing of a text field just began.
|
default void |
didEndEditing(UITextField textField)
It is used after the editing of a text field stopped.
|
default boolean |
shouldBeginEditing(UITextField textField)
It is used in order control the beginning of the editing of a text field.
|
default boolean |
shouldChangeCharactersInRange(UITextField textField,
NSRange range,
String replacementString)
It is used in order to permit the change of a specified text.
|
default boolean |
shouldClear(UITextField textField)
It is used in order to permit the removal of the text field's content.
|
default boolean |
shouldEndEditing(UITextField textField)
It is used in order to stop the editing of a text field.
|
default boolean |
shouldReturn(UITextField textField)
It is used in order to allow the process of the return button.
|
default boolean shouldBeginEditing(UITextField textField)
textField
- The text field that corresponds to this delegate.default void didBeginEditing(UITextField textField)
textField
- The text field that corresponds to this delegate.default boolean shouldEndEditing(UITextField textField)
textField
- The text field that corresponds to this delegate.default void didEndEditing(UITextField textField)
textField
- The text field that corresponds to this delegate.default boolean shouldChangeCharactersInRange(UITextField textField, NSRange range, String replacementString)
textField
- The text field that corresponds to this delegate.range
- The range of characters to be replacedreplacementString
- The replacement string.default boolean shouldClear(UITextField textField)
textField
- The text field that corresponds to this delegate.default boolean shouldReturn(UITextField textField)
textField
- The text field that corresponds to this delegate.Copyright © 2020. All rights reserved.