The following code allows me to automatically indicate the values entered in a UIText field by comparing it with an array of previously added string objects and displaying it in a UITableview. This works great, but only for one word.
So, can I change the code so that after the user enters a comma, then starts typing again, I can again find the same array of strings for sentences for characters entered after the comma?
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { if (textField.tag == tagTextFieldTag)
source share