add cnzz code
This commit is contained in:
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="1.1" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="1.1" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_4">
|
||||
<section class="normal" id="section-gitbook_104">
|
||||
|
||||
<h1 id="-swift">关于 Swift</h1>
|
||||
<hr>
|
||||
@ -642,6 +642,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="1.2" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="1.2" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_6">
|
||||
<section class="normal" id="section-gitbook_102">
|
||||
|
||||
<h1 id="swift-">Swift 初见</h1>
|
||||
<hr>
|
||||
@ -1148,6 +1148,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="1" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="1" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_8">
|
||||
<section class="normal" id="section-gitbook_106">
|
||||
|
||||
<h1 id="-swift">欢迎使用 Swift</h1>
|
||||
<p>在本章中您将了解 Swift 的特性和开发历史,并对 Swift 有一个初步的了解。</p>
|
||||
@ -636,6 +636,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.1" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.1" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_11">
|
||||
<section class="normal" id="section-gitbook_109">
|
||||
|
||||
<h1 id="-">基础部分</h1>
|
||||
<hr>
|
||||
@ -1012,6 +1012,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.2" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.2" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,20 +587,20 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_46">
|
||||
<section class="normal" id="section-gitbook_144">
|
||||
|
||||
<h1 id="-">基本运算符</h1>
|
||||
<hr>
|
||||
<p>本页包含内容:</p>
|
||||
<ul>
|
||||
<li><a href="#terminology">术语</a> </li>
|
||||
<li><a href="#assignment_operator">赋值运算符</a> </li>
|
||||
<li><a href="#arithmetic_operators">数值运算符</a> </li>
|
||||
<li><a href="#compound_assignment_operators">组合赋值运算符(Compound Assignment Operators)</a> </li>
|
||||
<li><a href="#comparison_operators">比较运算符</a> </li>
|
||||
<li><a href="#ternary_conditional_operator">三目条件运算符(Ternary Conditional Operator)</a> </li>
|
||||
<li><a href="#range_operators">区间运算符</a> </li>
|
||||
<li><a href="#logical_operators">逻辑运算符</a> </li>
|
||||
<li><a href="#terminology">术语</a></li>
|
||||
<li><a href="#assignment_operator">赋值运算符</a></li>
|
||||
<li><a href="#arithmetic_operators">数值运算符</a></li>
|
||||
<li><a href="#compound_assignment_operators">组合赋值运算符(Compound Assignment Operators)</a></li>
|
||||
<li><a href="#comparison_operators">比较运算符</a></li>
|
||||
<li><a href="#ternary_conditional_operator">三目条件运算符(Ternary Conditional Operator)</a></li>
|
||||
<li><a href="#range_operators">区间运算符</a></li>
|
||||
<li><a href="#logical_operators">逻辑运算符</a></li>
|
||||
</ul>
|
||||
<p>运算符是检查,改变,合并值的特殊符号或短语。例如,加号<code>+</code>把计算两个数的和(如 <code>let i = 1 + 2</code>)。复杂些的运行算包括逻辑与<code>&&</code>(如 <code>if enteredDoorCode && passedRetinaScan</code>),还有自增运算符<code>++i</code>这样让自身加一的便捷运算。</p>
|
||||
<p>Swift支持大部分标准C语言的运算符,且改进许多特性来减少常规编码错误。如,赋值符<code>=</code>不返回值,以防止错把等号<code>==</code>写成赋值号<code>=</code>而导致Bug。数值运算符(<code>+</code>,<code>-</code>,<code>*</code>,<code>/</code>,<code>%</code>等)会检测并不允许值溢出,以此来避免保存变量时由于变量大于或小于其类型所能承载的范围时导致的异常结果。当然允许你选择使用Swift的溢出运算符来玩溢出。具体使用请移步<a href="23_Advanced_Operators.html#overflow_operators">溢出运算符</a>。</p>
|
||||
@ -945,6 +945,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.3" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.3" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_13">
|
||||
<section class="normal" id="section-gitbook_111">
|
||||
|
||||
<h1 id="-strings-and-characters-">字符串和字符 (Strings and Characters)</h1>
|
||||
<hr>
|
||||
@ -930,6 +930,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.4" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.4" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_25">
|
||||
<section class="normal" id="section-gitbook_123">
|
||||
|
||||
<h1 id="-collection-types-">集合类型 (Collection Types)</h1>
|
||||
<hr>
|
||||
@ -864,6 +864,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.5" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.5" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_27">
|
||||
<section class="normal" id="section-gitbook_125">
|
||||
|
||||
<h1 id="-">控制流</h1>
|
||||
<hr>
|
||||
@ -1136,6 +1136,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.6" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.6" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_29">
|
||||
<section class="normal" id="section-gitbook_127">
|
||||
|
||||
<h1 id="-functions-">函数(Functions)</h1>
|
||||
<hr>
|
||||
@ -985,6 +985,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.7" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.7" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_31">
|
||||
<section class="normal" id="section-gitbook_129">
|
||||
|
||||
<h1 id="-">闭包</h1>
|
||||
<hr>
|
||||
@ -893,6 +893,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.8" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.8" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_37">
|
||||
<section class="normal" id="section-gitbook_135">
|
||||
|
||||
<h1 id="-enumerations-">枚举(Enumerations)</h1>
|
||||
<hr>
|
||||
@ -780,6 +780,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.9" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.9" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_39">
|
||||
<section class="normal" id="section-gitbook_137">
|
||||
|
||||
<h3 id="-">类和结构体</h3>
|
||||
<p>本页包含内容:</p>
|
||||
@ -898,6 +898,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.10" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.10" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_40">
|
||||
<section class="normal" id="section-gitbook_138">
|
||||
|
||||
<h1 id="-properties-">属性 (Properties)</h1>
|
||||
<hr>
|
||||
@ -943,6 +943,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.11" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.11" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_42">
|
||||
<section class="normal" id="section-gitbook_140">
|
||||
|
||||
<h1 id="-methods-">方法(Methods)</h1>
|
||||
<hr>
|
||||
@ -829,6 +829,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.12" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.12" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_44">
|
||||
<section class="normal" id="section-gitbook_142">
|
||||
|
||||
<h1 id="-subscripts-">下标(Subscripts)</h1>
|
||||
<hr>
|
||||
@ -736,6 +736,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.13" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.13" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_9">
|
||||
<section class="normal" id="section-gitbook_107">
|
||||
|
||||
<h1 id="-">继承</h1>
|
||||
<hr>
|
||||
@ -792,6 +792,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.14" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.14" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -628,6 +628,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.15" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.15" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_49">
|
||||
<section class="normal" id="section-gitbook_147">
|
||||
|
||||
<h1 id="-">析构过程</h1>
|
||||
<hr>
|
||||
@ -695,6 +695,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.16" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.16" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_51">
|
||||
<section class="normal" id="section-gitbook_149">
|
||||
|
||||
<h1 id="-">自动引用计数</h1>
|
||||
<hr>
|
||||
@ -966,6 +966,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.17" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.17" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_53">
|
||||
<section class="normal" id="section-gitbook_151">
|
||||
|
||||
<h1 id="optional-chaining">Optional Chaining</h1>
|
||||
<hr>
|
||||
@ -824,6 +824,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.18" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.18" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_55">
|
||||
<section class="normal" id="section-gitbook_153">
|
||||
|
||||
<h1 id="-type-casting-">类型检查(Type Casting)</h1>
|
||||
<hr>
|
||||
@ -851,6 +851,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.19" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.19" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_57">
|
||||
<section class="normal" id="section-gitbook_155">
|
||||
|
||||
<h1 id="-">类型嵌套</h1>
|
||||
<hr>
|
||||
@ -697,6 +697,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.20" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.20" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_59">
|
||||
<section class="normal" id="section-gitbook_157">
|
||||
|
||||
<h1 id="-extensions-">扩展(Extensions)</h1>
|
||||
<hr>
|
||||
@ -855,6 +855,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.21" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.21" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_61">
|
||||
<section class="normal" id="section-gitbook_159">
|
||||
|
||||
<h1 id="-">协议</h1>
|
||||
<hr>
|
||||
@ -1105,6 +1105,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.22" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.22" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_63">
|
||||
<section class="normal" id="section-gitbook_161">
|
||||
|
||||
<h1 id="-">泛型</h1>
|
||||
<hr>
|
||||
@ -990,6 +990,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2.23" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2.23" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_66">
|
||||
<section class="normal" id="section-gitbook_164">
|
||||
|
||||
<h1 id="-">高级运算符</h1>
|
||||
<hr>
|
||||
@ -1025,6 +1025,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="2" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="2" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_68">
|
||||
<section class="normal" id="section-gitbook_166">
|
||||
|
||||
<h1 id="swift-">Swift 教程</h1>
|
||||
<p>本章介绍了 Swift 的各种特性及其使用方法,是全书的核心部分。</p>
|
||||
@ -636,6 +636,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.1" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.1" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_71">
|
||||
<section class="normal" id="section-gitbook_169">
|
||||
|
||||
<h1 id="-">关于语言附注</h1>
|
||||
<hr>
|
||||
@ -662,6 +662,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.2" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.2" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_78">
|
||||
<section class="normal" id="section-gitbook_176">
|
||||
|
||||
<h1 id="-">语法结构</h1>
|
||||
<hr>
|
||||
@ -822,6 +822,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.3" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.3" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_73">
|
||||
<section class="normal" id="section-gitbook_171">
|
||||
|
||||
<h1 id="-types-">类型(Types)</h1>
|
||||
<hr>
|
||||
@ -841,6 +841,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.4" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.4" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_75">
|
||||
<section class="normal" id="section-gitbook_173">
|
||||
|
||||
<h1 id="-expressions-">表达式(Expressions)</h1>
|
||||
<hr>
|
||||
@ -1184,6 +1184,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.6" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.6" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -628,6 +628,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.7" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.7" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_69">
|
||||
<section class="normal" id="section-gitbook_167">
|
||||
|
||||
<h1 id="-">特性</h1>
|
||||
<hr>
|
||||
@ -702,6 +702,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.8" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.8" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_80">
|
||||
<section class="normal" id="section-gitbook_178">
|
||||
|
||||
<h1 id="-patterns-">模式(Patterns)</h1>
|
||||
<hr>
|
||||
@ -752,6 +752,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.9" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.9" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_82">
|
||||
<section class="normal" id="section-gitbook_180">
|
||||
|
||||
<h1 id="-">泛型参数</h1>
|
||||
<hr>
|
||||
@ -703,6 +703,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.10" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.10" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -585,7 +585,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_84">
|
||||
<section class="normal" id="section-gitbook_185">
|
||||
|
||||
<h1 id="-">语法总结</h1>
|
||||
<hr>
|
||||
@ -1083,6 +1083,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3.5" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3.5" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -587,7 +587,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_86">
|
||||
<section class="normal" id="section-gitbook_182">
|
||||
|
||||
<h1 id="-">语句</h1>
|
||||
<hr>
|
||||
@ -888,6 +888,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="3" data-basepath=".." data-revision="1402469604919">
|
||||
<div class="book" data-level="3" data-basepath=".." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -628,6 +628,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -6,5 +6,5 @@
|
||||
</head>
|
||||
<body>
|
||||
<script src="sandbox.js"></script>
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
</html>
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="book" data-level="0" data-basepath="." data-revision="1402469604919">
|
||||
<div class="book" data-level="0" data-basepath="." data-revision="1402493167130">
|
||||
<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>
|
||||
@ -585,7 +585,7 @@
|
||||
|
||||
<div class="page-inner">
|
||||
|
||||
<section class="normal" id="section-gitbook_3">
|
||||
<section class="normal" id="section-gitbook_101">
|
||||
|
||||
<h1 id="swift-">Swift 编程语言</h1>
|
||||
<p>Swift 是苹果在 WWDC 2014 上发布的一款全新的编程语言,本书译自苹果官方的 Swift 教程《The Swift Programming Language》。</p>
|
||||
@ -636,6 +636,6 @@ require(["gitbook"], function(gitbook) {
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="http://s19.cnzz.com/z_stat.php?id=1000480711&web_id=1000480711" language="JavaScript"></script></body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
CACHE MANIFEST
|
||||
# Revision 1402469604919
|
||||
# Revision 1402493167135
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
chapter1/01_swift.html
|
||||
chapter1/02_a_swift_tour.html
|
||||
chapter1/01_swift.html
|
||||
chapter1/chapter1.html
|
||||
chapter2/13_Inheritance.html
|
||||
chapter2/01_The_Basics.html
|
||||
@ -38,9 +38,9 @@ chapter3/05_Declarations.html
|
||||
chapter3/02_Lexical_Structure.html
|
||||
chapter3/07_Patterns.html
|
||||
chapter3/08_Generic_Parameters_and_Arguments.html
|
||||
chapter3/09_Summary_of_the_Grammar.html
|
||||
chapter3/10_Statements.html
|
||||
chapter3/chapter3.html
|
||||
chapter3/09_Summary_of_the_Grammar.html
|
||||
gitbook/app.js
|
||||
gitbook/fonts/anonymouspro/400.woff
|
||||
gitbook/fonts/anonymouspro/400i.woff
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user