I have this code that should catch exactly what the user types:

```
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {

    NSLog(@"Catch -> %@",textfield.text);

}

```

But When the user digit the letter **A**, the console return me ('null'), When the user digit the letter **AB**, the console return me only the letter **A**, in this case the method shouldChangeCharactersInRange doesn't return the last letter that user types.

To change this I try to change my code to:

```
NSLog(@"Catch -> %@",string);

```

In this case, the console shows me only the last number. How can I solve this problem and pick the complete sentence that user digit?