Interface UITextFieldDelegate

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Subinterfaces:
UISearchTextFieldDelegate
All Known Implementing Classes:
UISearchTextFieldDelegateAdapter, UITextFieldDelegateAdapter

public interface UITextFieldDelegate
extends NSObjectProtocol
  • Method Details

    • shouldBeginEditing

      boolean shouldBeginEditing​(UITextField textField)
    • didBeginEditing

      void didBeginEditing​(UITextField textField)
    • shouldEndEditing

      boolean shouldEndEditing​(UITextField textField)
    • didEndEditing

      void didEndEditing​(UITextField textField)
    • didEndEditing

      void didEndEditing​(UITextField textField, UITextFieldDidEndEditingReason reason)
      Since:
      Available in iOS 10.0 and later.
    • shouldChangeCharacters

      boolean shouldChangeCharacters​(UITextField textField, NSRange range, String string)
    • textFieldDidChangeSelection

      void textFieldDidChangeSelection​(UITextField textField)
      Since:
      Available in iOS 13.0 and later.
    • shouldClear

      boolean shouldClear​(UITextField textField)
    • shouldReturn

      boolean shouldReturn​(UITextField textField)