
上QQ阅读APP看书,第一时间看更新
Loops
Swift's looping statements are a pretty advanced set of features, producing code more elegant than the somewhat clunky for (int i=0: i < aLimit: i++) {...} of most C-based syntaxes.
That (int i=0: i < aLimit: i++) loop syntax, by the way, is no longer available in Swift; but it once was, so once again, beware of older posts on the Web.