I have a text field which the user enters a number and it gets converted to an integer.
The keyboard set is to decimal numerical one. Except the paste function is still enabled so the user can paste text into it.
I want to set it to change a label to @"error" if the user enters a non numerical value into it.
I do not want to disable the paste function as I still want the user to have the ability to copy and paste their own numerical values into my app.