In Swift, is it possible to use if as a 'repeating' thing, like while.
To act like 'when' in this statement:
when playBegin == true {
blahdeblah
}
What would be a good substitute for 'when'. playBegin is normally false, but gets turned to true halfway through the program.
Thanks
Aucun commentaire:
Enregistrer un commentaire