how to convert Range to Array
I tried:
let min = 50 let max = 100 let intArray:[Int] = (min...max)
get error Range is
Range is
You need to create an Array using the Range rather than casting it.
Array
Range
let intArray: [Int] = Array(min...max)