补充一句翻译

This commit is contained in:
TheLittleBoy
2014-09-20 16:30:17 +08:00
parent 3b765742d8
commit 8311c74f03

View File

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