Created
July 1, 2015 02:16
-
-
Save victorchee/7b3a96e3dfd5aa1de944 to your computer and use it in GitHub Desktop.
TextFieldDidChange
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string | |
{ | |
NSString *result = [textField.text stringByReplacingCharactersInRange:range withString:string]; | |
// do something | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment