make gitbook

This commit is contained in:
numbbbbb
2014-06-15 13:23:33 +08:00
parent df5bde0967
commit 7f682ad729
41 changed files with 75 additions and 108 deletions

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.1" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.1" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_57">
<blockquote>
<p>翻译:<a href="https://github.com/dabing1022" target="_blank">dabing1022</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a></p>
<p>翻译:<a href="https://github.com/dabing1022" target="_blank">dabing1022</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a></p>
</blockquote>
<h1 id="-">关于语言附注</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.2" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.2" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_65">
<blockquote>
<p>翻译:<a href="https://github.com/superkam" target="_blank">superkam</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a></p>
<p>翻译:<a href="https://github.com/superkam" target="_blank">superkam</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a></p>
</blockquote>
<h1 id="-">词法结构</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.3" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.3" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_59">
<blockquote>
<p>翻译:<a href="https://github.com/lyuka" target="_blank">lyuka</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/lyuka" target="_blank">lyuka</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-types-">类型Types</h1>
<hr>
@ -619,7 +618,7 @@
<p><a name="type_annotation"></a></p>
<h2 id="-">类型注解</h2>
<p>类型注解显式地指定一个变量或表达式的值。类型注解始于冒号<code>:</code>终于类型,比如下面两个例子:</p>
<pre><code class="lang-swift">let someTuple(Double, Double) = (3.14159, 2.71828)
<pre><code class="lang-swift">let someTuple: (Double, Double) = (3.14159, 2.71828)
func someFunction(a: Int){ /* ... */ }
</code></pre>
<p>在第一个例子中,表达式<code>someTuple</code>的类型被指定为<code>(Double, Double)</code>。在第二个例子中,函数<code>someFunction</code>的参数<code>a</code>的类型被指定为<code>Int</code></p>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.4" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.4" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_61">
<blockquote>
<p>翻译:<a href="https://github.com/sg552" target="_blank">sg552</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/sg552" target="_blank">sg552</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-expressions-">表达式Expressions</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.6" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.6" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_63">
<blockquote>
<p>翻译:<a href="https://github.com/marsprince" target="_blank">marsprince</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/marsprince" target="_blank">marsprince</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-">声明</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.7" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.7" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_55">
<blockquote>
<p>翻译:<a href="https://github.com/Hawstein" target="_blank">Hawstein</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/Hawstein" target="_blank">Hawstein</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-">特性</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.8" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.8" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_67">
<blockquote>
<p>翻译:<a href="https://github.com/honghaoz" target="_blank">honghaoz</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/honghaoz" target="_blank">honghaoz</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-patterns-">模式Patterns</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.9" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.9" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_69">
<blockquote>
<p>翻译:<a href="https://github.com/fd5788" target="_blank">fd5788</a>
校对:<a href="https://github.com/yankuangshi" target="_blank">yankuangshi</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/fd5788" target="_blank">fd5788</a><br>校对:<a href="https://github.com/yankuangshi" target="_blank">yankuangshi</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-">泛型参数</h1>
<hr>

View File

@ -44,7 +44,7 @@
<div class="book" data-level="3.10" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.10" data-basepath=".." data-revision="1402809661159">
<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>
@ -588,8 +588,7 @@
<section class="normal" id="section-gitbook_71">
<blockquote>
<p>翻译:<a href="https://github.com/stanzhai" target="_blank">stanzhai</a>
校对:<a href="https://github.com/xielingwang" target="_blank">xielingwang</a></p>
<p>翻译:<a href="https://github.com/stanzhai" target="_blank">stanzhai</a><br>校对:<a href="https://github.com/xielingwang" target="_blank">xielingwang</a></p>
</blockquote>
<h1 id="-">语法总结</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3.5" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3.5" data-basepath=".." data-revision="1402809661159">
<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>
@ -590,8 +590,7 @@
<section class="normal" id="section-gitbook_73">
<blockquote>
<p>翻译:<a href="https://github.com/coverxit" target="_blank">coverxit</a>
校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/coverxit" target="_blank">coverxit</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
<p>翻译:<a href="https://github.com/coverxit" target="_blank">coverxit</a><br>校对:<a href="https://github.com/numbbbbb" target="_blank">numbbbbb</a>, <a href="https://github.com/coverxit" target="_blank">coverxit</a>, <a href="https://github.com/stanzhai" target="_blank">stanzhai</a></p>
</blockquote>
<h1 id="-">语句</h1>
<hr>

View File

@ -46,7 +46,7 @@
<div class="book" data-level="3" data-basepath=".." data-revision="1402808574723">
<div class="book" data-level="3" data-basepath=".." data-revision="1402809661159">
<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>