jeudi 7 avril 2016

How can i check through an if-statement if a TextField is an integer or not?

How can i check through an if-statement if a TextField is an integer or not ?

@IBAction func Clickme2(sender: AnyObject) {
if TextField2.text == Int()  {
}

Aucun commentaire:

Enregistrer un commentaire