Complete the translation of issue 942 and 941.

This commit is contained in:
sunset wan
2019-06-30 18:55:05 +08:00
parent b807a6edb9
commit b5defb4c0e
2 changed files with 18 additions and 3 deletions

View File

@ -481,7 +481,7 @@ print("The status message is \(http200Status.description)")
> 注意
>
> 元组在临时组织值的时候很有用,但是并不适合创建复杂的数据结构。如果你的数据结构并不是临时使用,请使用类或者结构体而不是元组。请参考 [类和结构体](./09_Classes_and_Structures.md)。
> 当遇到一些相关值的简单分组时,元组是很有用的。元组不适合用来创建复杂的数据结构。如果你的数据结构可能是错综复杂的,请把你的数据结构用类或者结构体去建模,而不是使用元组。欲获得更多信息,请参考 [结构体和类](https://docs.swift.org/swift-book/LanguageGuide/ClassesAndStructures.html)。
## 可选类型 {#optionals}