samedi 14 février 2015

Random Text Generator Swift

I need to set up an array of sentences, that will be randomly generated when the user clicks on a button. So you click a button, and get a random sentence (only one at a time). So for example:


"Hey, how's it going" string one "You're looking great!" string two "I'm lonely" string three etc.


I am new to swift and have no idea how to go about this. Any help would be great!





Aucun commentaire:

Enregistrer un commentaire