mardi 10 octobre 2017

How do i generate a random color with swift

I am trying to make a drawing appliance with swift playgrounds(app for iPads). I am using the shapes template and thought it would be cool to have a function that generated a random color for every drawing line!

Basicaly my question is: How do i generate a random color?

Thank you for helping!




Aucun commentaire:

Enregistrer un commentaire