In .playground I am just exploring Swift and I was attempting to create an array in an odd way, well, just because.
So this doesn't create an array of items 0, 1, 2,... 50, like I was naively hoping:
let numberArray = [0...50]
and trying to iterate through it:
for num in numberArray {
println("The number is \(num)")
}
gives this console output:
The number is VSs5Range (has 2 children)
What does that mean? Running this in a .swift file, the build fails so the console output doesn't give me anything.