2017-01-16 12 views

답변

-1

arc4random의 결과를 배열의 길이로 제한해야합니다.

array1[Int(arc4random_uniform(UInt32(array1.count)))]