Translations for Swift 4.1 (#777)

* Translations for Chapter 3 part 01 for Swift 4.0/4.1

* update chapter 3 part 02 for swift 4.1

* update chapter 3 part 03 for Swift 4.1

* update chapter 1 part 01 for Swift 4.1

* update chapter 1 part 02 for Swift 4.1

* update chapter 1 part 03 for Swift 4.1

* update chapter 2 part 01 for Swift 4.1

* update chapter 2 part 02 for Swift 4.1

* update chapter 2 part 3 for Swift 4.1

* update "summary" and corrected file names

* update chapter 2 part 4 for Swift 4.1

* update chapter 2 part 5 for Swift 4.1

* update chapter 2 part 6 for Swift 4.1

* update chapter 2 parts 06-11 and other parts' errors

* update chapter 2 parts 12-14

* update chapter 2 parts 14-19

* update all chapter 2

* update whole chapter 1

* update some parts of chapter 3
This commit is contained in:
mylittleswift
2018-04-12 01:10:36 -07:00
committed by 安正超
parent 53ac4e8a87
commit ec82cbd6fe
41 changed files with 1177 additions and 641 deletions

View File

@ -45,7 +45,8 @@
本页内容包括:
- [Swift 4.0 更新](#swift_4_1)
- [Swift 4.1 更新](#swift_4_1)
- [Swift 4.0.3 更新](#swift_4_0_3)
- [Swift 4.0 更新](#swift_4_0)
- [Swift 3.1 更新](#swift_3_1)
- [Swift 3.0 更新](#swift_3_0)
@ -68,7 +69,7 @@
</thead>
<tbody>
<tr>
<td scope="row">2018-02-06</td>
<td scope="row">2018-03-29</td>
<td>
<ul class="list-bullet">
<li>更新至 Swift 4.1。</li>
@ -81,6 +82,29 @@
</tbody>
</table>
<a name="swift_4_0_3"></a>
### Swift 4.0.3 更新
<table class="graybox" border="0" cellspacing="0" cellpadding="5">
<thead>
<tr>
<th scope="col" width="100">发布日期</th>
<th scope="col">语法变更记录</th>
</tr>
</thead>
<tbody>
<tr>
<td scope="row">2017-12-04</td>
<td>
<ul class="list-bullet">
<li>更新至 Swift 4.0.3。</li>
<li>更新 <a href='https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html#//apple_ref/doc/uid/TP40014097-CH32-ID563'>Key-Path 表达式</a>,现在 key path 支持下标子路径。</li>
</ul>
</td>
</tr>
</tbody>
</table>
<a name="swift_4_0"></a>
### Swift 4.0 更新
@ -93,11 +117,18 @@
</thead>
<tbody>
<tr>
<td scope="row">2017-12-04</td>
<td scope="row">2017-09-19</td>
<td>
<ul class="list-bullet">
<li>更新至 Swift 4.0.3</li>
<li>更新 <a href='https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html#//apple_ref/doc/uid/TP40014097-CH32-ID563'>Key-Path 表达式</a>,现在 key path 支持下标子路径。</li>
<li>更新至 Swift 4.0。</li>
<li>Added information about exclusive access to memory to the Memory Safety chapter.</li>
<li>Added the Associated Types with a Generic Where Clause section, now that you can use generic where clauses to constrain associated types.</li>
<li>Added information about multiline string literals to the String Literals section of the Strings and Characters chapter, and to the String Literals section of the Lexical Structure chapter.</li>
<li>Updated the discussion of the objc attribute in Declaration Attributes, now that this attribute is inferred in fewer places.</li>
<li>Added the Generic Subscripts section, now that subscripts can be generic.</li>
<li>Updated the discussion in the Protocol Composition section of the Protocols chapter, and in the Protocol Composition Type section of the Types chapter, now that protocol composition types can contain a superclass requirement.</li>
<li>Updated the discussion of protocol extensions in Extension Declaration now that final isnt allowed in them.</li>
<li>Added information about preconditions and fatal errors to the Assertions and Preconditions section.</li>
</ul>
</td>
</tr>