cómo convertir Range a Array
Lo intenté:
let min = 50
let max = 100
let intArray:[Int] = (min...max)
obtener error Range<Int> is not convertible to [Int]
También probé:
let intArray:[Int] = [min...max]
y
let intArray:[Int] = (min...max) as [Int]
ellos tampoco funcionan.