lundi 4 juillet 2016

comparing local images swift

"Optional type Bool cannot be used as a boolean; test for !nil instead"

Is the error I'm getting

I'm trying to make a "slot machine" app, very basic, You press the UIButton, and the three images should all change, randomly, if the 3 matches, print "You won!"

Aucun commentaire:

Enregistrer un commentaire