for i in 0..100 {
println("\(i)")
}
I different types of errors depending on the location of the statements:
The half-closed range operator has been changed to '..<' since Xcode beta 3. See release doc here https://developer.apple.com/swift/blog/?id=3
The error message will disappear if you do this:
for i in 0..<100 {
println("\(i)")
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With