val r = Random() var Chosen = r.nextInt(size)
var Chosen=Int(arc4random_uniform(UInt32(size)))
This is from a random student picker as part of my app (android/iPad), in both cases things are done to ensure students are picked evenly (none more often than others). In the case of Swift, I don't own an iPad and have not tested my code as much.
-Rob