update introduction
This commit is contained in:
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.1" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.1" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_55">
|
||||
<section class="normal" id="section-gitbook_599">
|
||||
|
||||
<h1 id="-">基础部分</h1>
|
||||
<p>Swift 是 iOS 和 OS X 应用开发的一门新语言。然而,如果你有 C 或者 Objective-C 开发经验的话,你会发现 Swift 的很多内容都是你熟悉的。</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.2" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.2" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_66">
|
||||
<section class="normal" id="section-gitbook_609">
|
||||
|
||||
<h1 id="-">基础运算符</h1>
|
||||
<p>运算符是检查, 改变, 合并值的特殊符号或短语. 例如, 加号 <code>+</code> 把计算两个数的和(如 <code>let i = 1 + 2</code>). 复杂些的运行算包括逻辑与<code>&&</code>(如 <code>if enteredDoorCode && passedRetinaScan</code>), 还有自增运算符 <code>++i</code> 这样让自身加一的便捷运算.</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.3" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.3" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_56">
|
||||
<section class="normal" id="section-gitbook_600">
|
||||
|
||||
<h1 id="-strings-and-characters-">字符串和字符 (Strings and Characters)</h1>
|
||||
<p>本页包含内容:</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.4" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.4" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.5" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.5" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.6" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.6" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_59">
|
||||
<section class="normal" id="section-gitbook_603">
|
||||
|
||||
<h1 id="-functions-">函数(Functions)</h1>
|
||||
<p>本页包含内容:</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.7" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.7" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_60">
|
||||
<section class="normal" id="section-gitbook_604">
|
||||
|
||||
<h1 id="-">闭包</h1>
|
||||
<p>本页内容包含:</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.8" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.8" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.9" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.9" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_62">
|
||||
<section class="normal" id="section-gitbook_606">
|
||||
|
||||
<h3 id="-">类和结构体</h3>
|
||||
<p>本页包含内容:</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.10" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.10" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.11" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.11" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.12" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.12" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.13" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.13" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.14" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.14" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.15" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.15" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.16" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.16" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_69">
|
||||
<section class="normal" id="section-gitbook_614">
|
||||
|
||||
<h1 id="-">自动引用计数</h1>
|
||||
<p>本页包含内容:</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.17" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.17" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.18" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.18" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_71">
|
||||
<section class="normal" id="section-gitbook_615">
|
||||
|
||||
<h1 id="-type-casting-">类型检查(Type Casting)</h1>
|
||||
<p>(ps:为了方便各位检验所以保留了英文,可删。)
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.19" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.19" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_72">
|
||||
<section class="normal" id="section-gitbook_616">
|
||||
|
||||
<h1 id="-">类型嵌套</h1>
|
||||
<p>本页包含内容:</p>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.20" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.20" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -584,7 +584,7 @@
|
||||
<a href="../chapter2/19_Nested_Types.html" class="navigation navigation-prev " aria-label="Previous page: 嵌套类型"><i class="fa fa-angle-left"></i></a>
|
||||
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" class="navigation navigation-next " aria-label="Next page: 接口"><i class="fa fa-angle-right"></i></a>
|
||||
<a href="../chapter2/21_Protocols.html" class="navigation navigation-next " aria-label="Next page: 协议"><i class="fa fa-angle-right"></i></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>接口 | Swift 编程语言</title>
|
||||
<title>协议 | Swift 编程语言</title>
|
||||
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||
<meta name="robots" content="index, follow">
|
||||
@ -21,7 +21,7 @@
|
||||
<link rel="prev" href="../chapter2/20_Extensions.html" />
|
||||
|
||||
|
||||
<meta property="og:title" content="接口 | Swift 编程语言">
|
||||
<meta property="og:title" content="协议 | Swift 编程语言">
|
||||
<meta property="og:site_name" content="Swift 编程语言">
|
||||
<meta property="og:type" content="book">
|
||||
<meta property="og:locale" content="en_US">
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.21" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.21" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.22" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.22" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_75">
|
||||
<section class="normal" id="section-gitbook_619">
|
||||
|
||||
<h1 id="-">泛型</h1>
|
||||
<hr>
|
||||
@ -943,7 +943,7 @@ var arrayOfStrings = [<span class="hljs-string">"uno"</span>, <span class="hljs-
|
||||
</div>
|
||||
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" class="navigation navigation-prev " aria-label="Previous page: 接口"><i class="fa fa-angle-left"></i></a>
|
||||
<a href="../chapter2/21_Protocols.html" class="navigation navigation-prev " aria-label="Previous page: 协议"><i class="fa fa-angle-left"></i></a>
|
||||
|
||||
|
||||
<a href="../chapter2/23_Advanced_Operators.html" class="navigation navigation-next " aria-label="Next page: 高级操作符"><i class="fa fa-angle-right"></i></a>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.23" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2.23" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter done " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter done " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter done " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2" data-basepath=".." data-revision="1402183488921">
|
||||
<div class="book" data-level="2" data-basepath=".." data-revision="1402189909808">
|
||||
<div class="book-header">
|
||||
<!-- Actions Left -->
|
||||
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
|
||||
@ -349,7 +349,7 @@
|
||||
<li class="chapter " data-level="2.21" data-path="chapter2/21_Protocols.html">
|
||||
|
||||
<a href="../chapter2/21_Protocols.html">
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 接口
|
||||
<i class="fa fa-check"></i> <b>2.21.</b> 协议
|
||||
</a>
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
<li class="chapter " data-level="3.6" data-path="chapter3/06_Attributes.html">
|
||||
|
||||
<a href="../chapter3/06_Attributes.html">
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 属性
|
||||
<i class="fa fa-check"></i> <b>3.6.</b> 特性
|
||||
</a>
|
||||
|
||||
|
||||
@ -531,7 +531,7 @@
|
||||
|
||||
<a href="../chapter2/20_Extensions.html" title="扩展" class="chapter " data-progress="2.20" style="left: 45.945945945945944%;"></a>
|
||||
|
||||
<a href="../chapter2/21_Protocols.html" title="接口" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
<a href="../chapter2/21_Protocols.html" title="协议" class="chapter " data-progress="2.21" style="left: 48.648648648648646%;"></a>
|
||||
|
||||
<a href="../chapter2/22_Generics.html" title="泛型" class="chapter " data-progress="2.22" style="left: 51.351351351351354%;"></a>
|
||||
|
||||
@ -563,7 +563,7 @@
|
||||
|
||||
<a href="../chapter3/05_Declarations.html" title="声明" class="chapter " data-progress="3.5" style="left: 89.1891891891892%;"></a>
|
||||
|
||||
<a href="../chapter3/06_Attributes.html" title="属性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
<a href="../chapter3/06_Attributes.html" title="特性" class="chapter " data-progress="3.6" style="left: 91.89189189189189%;"></a>
|
||||
|
||||
<a href="../chapter3/07_Patterns.html" title="模式" class="chapter " data-progress="3.7" style="left: 94.5945945945946%;"></a>
|
||||
|
||||
@ -576,7 +576,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_79">
|
||||
<section class="normal" id="section-gitbook_623">
|
||||
|
||||
<h1 id="swift-">Swift 教程</h1>
|
||||
<p>本章介绍了 Swift 的各种特性及其使用方法,是全书的核心部分。</p>
|
||||
|
||||
Reference in New Issue
Block a user