最終更新:2017-07-26 (水) 05:14:36 (1078d)  

UITextFieldDelegate
Top / UITextFieldDelegate

Tasks

Managing Editing

  • UITextFieldDelegate textFieldShouldBeginEditing:?(UITextField *)textField
  • UITextFieldDelegate textFieldDidBeginEditing:?(UITextField *)textField
  • UITextFieldDelegate textFieldShouldEndEditing:?(UITextField *)textField
  • UITextFieldDelegate textFieldDidEndEditing:?(UITextField *)textField

Editing the Text Field’s Text

Swift

- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
- (void)textFieldDidBeginEditing:(UITextField *)textField
- (BOOL)textFieldShouldEndEditing:(UITextField *)textField
- (void)textFieldDidEndEditing:(UITextField *)textField
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
- (BOOL)textFieldShouldClear:(UITextField *)textField
- (BOOL)textFieldShouldReturn:(UITextField *)textField

関連