mardi 10 mars 2015

Swift quiz questions in specific order 1, 2, 3... instead of randomly sorted


Vote count:

0




I am currently trying to develop an quiz app with Swift but instead of having the questions shown randomly (Usually it includes a "var arc4random() % xx", I want the questions to be in order 1,2,3,4... Can anyone please tell me how to do it? I tried replacing the arc4random with a var "++" and "for... in 1...10 {} " but could not make it work 



asked 2 mins ago







Swift quiz questions in specific order 1, 2, 3... instead of randomly sorted

Aucun commentaire:

Enregistrer un commentaire