For example: The user put 1234,56 into the TextField.
I set this NSNumberFormatter:
[numberFormatter setNumberStyle:NSNumberFormatterNoStyle];
[numberFormatter setMaximumIntegerDigits:5];
[numberFormatter setMaximumFractionDigits:1];
As you can see I only want to allow max. one fractional digit. How can I compare my string with my rules of my numberFormatter, so that I can open an alert, that the user's input was not correct?
Thanks Michael