I'm very new to coding and have only been doing it for a few months. I'm building a choose your own adventure, and I wanted to know if in a playground I could take user input from a UITextField and run it through an if else function, so that for example they input a number and that number is divisible by 5 then it will send them to a new view controller where it says they have died. Otherwise it sends them to a different page with a different outcome.
Aucun commentaire:
Enregistrer un commentaire