I am looking to use the arc4random function in swift code, what would be the equivalent to this line of Objective-C code?
if (arc4random() % 2 == 0) { // Swing 1 }else{ // Swing 2 }
Aucun commentaire:
Enregistrer un commentaire