Merge remote-tracking branch 'numbbbbb/gh-pages'

This commit is contained in:
从今以后
2015-09-06 03:21:42 +08:00
22 changed files with 49 additions and 50 deletions

View File

@ -1,4 +1,4 @@
# 关于 Swift # 关于 SwiftAbout Swift
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# Swift 初见 # Swift 初见A Swift Tour
--- ---

View File

@ -1,4 +1,4 @@
# 基础部分 # 基础部分The Basics
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 基本运算符 # 基本运算符Basic Operators
----------------- -----------------
> 1.0 > 1.0

View File

@ -184,7 +184,7 @@ let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)"
// message 是 "3 times 2.5 is 7.5" // message 是 "3 times 2.5 is 7.5"
``` ```
在上面的例子中,`multiplier`作为`\(multiplier)`被插入到一个字符串字面量中。 在上面的例子中,`multiplier`作为`\(multiplier)`被插入到一个字符串常量量中。
当创建字符串执行插值计算时此占位符会被替换为`multiplier`实际的值。 当创建字符串执行插值计算时此占位符会被替换为`multiplier`实际的值。
`multiplier`的值也作为字符串中后面表达式的一部分。 `multiplier`的值也作为字符串中后面表达式的一部分。

View File

@ -1,4 +1,4 @@
# 控制流 # 控制流Control Flow
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 类和结构体 # 类和结构体Classes and Structures
> 1.0 > 1.0
> 翻译:[JaySurplus](https://github.com/JaySurplus) > 翻译:[JaySurplus](https://github.com/JaySurplus)

View File

@ -1,4 +1,4 @@
# 自动引用计数 # 自动引用计数Automatic Reference Counting
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 可空链式调用 # 可空链式调用Optional Chaining
----------------- -----------------

View File

@ -1,5 +1,4 @@
# 错误处理Error Handling
# 错误处理
----------------- -----------------
> 2.0 > 2.0

View File

@ -1,4 +1,4 @@
# 嵌套类型 # 嵌套类型Nested Types
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 协议 # 协议Protocols
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 泛型 # 泛型Generics
------ ------

View File

@ -1,4 +1,4 @@
# 访问控制 # 访问控制Access Control
------------------ ------------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 高级运算符 # 高级运算符Advanced Operators
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 关于语言附注 # 关于语言参考About the Language Reference
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 词法结构 # 词法结构Lexical Structure
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,5 +1,5 @@
<a name="declarations"></a> <a name="declarations"></a>
# 声明 # 声明Declarations
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 特性 # 特性Attributes
----------------- -----------------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 泛型参数 # 泛型参数Generic Parameters and Arguments
--------- ---------
> 1.0 > 1.0

View File

@ -1,4 +1,4 @@
# 语法总结 # 语法总结Summary of the Grammar
----- -----
> 1.0 > 1.0

View File

@ -1,5 +1,5 @@
<a name="statement_statements"></a> <a name="statement_statements"></a>
# 语句 # 语句Statements
----------------- -----------------
> 1.0 > 1.0