Merge pull request #315 from TheLittleBoy/patch-2

补充一句翻译
This commit is contained in:
梁杰
2014-09-26 11:12:46 +08:00

View File

@ -163,7 +163,7 @@ default:
运行`switch`中匹配到的子句之后,程序会退出`switch`语句,并不会继续向下运行,所以不需要在每个子句结尾写`break`
你可以使用`for-in`来遍历字典,需要两个变量来表示每个键值对。
你可以使用`for-in`来遍历字典,需要两个变量来表示每个键值对。字典是一个无序的集合,所以他们的键和值以任意顺序迭代结束。
```swift
let interestingNumbers = [