CocoaChina-editors/Welcome-to-Swift

02 SwiftTour中的循环控制的小问题

javenisme opened this issue · 1 comments

var firstForLoop = 0
for i in 0..3 {
firstForLoop += i
}
firstForLoop

此处 '..'操作符被提示,“Use of unresolved identifier '..'”

此仓库中的《The Swift Programming Language》一书不建议朋友再参考,建议到 https://github.com/numbbbbb/the-swift-programming-language-in-chinese来学习。