I am creating an app in which the user has to enter an integer. If the user mistakenly enters Text, the app will crash.
Normally in Xojo, I use the code:
If not IsNumeric(txtNum.text) then
AlertBox.Message = "This Is Not A Number"
AlertBox.Title = "This Not A Number"
AlertBox.Show
Else
//Do something else.
When I try to run the same code I get the error that IsNumeric does not exist. Is there an iOS equivalent?