samedi 9 janvier 2016

randomIntBetween in cocoa returns the same number every time

I need to calculate a random int in cocoa.

int random = randomIntBetween(0, 50);

This returns the same number every time. I there a way to fix this? (Looking for a quick simple answer please)




Aucun commentaire:

Enregistrer un commentaire