diff --git a/README.md b/README.md index 74461740..823b12fb 100644 --- a/README.md +++ b/README.md @@ -25,34 +25,35 @@ * 字符串和字符(完成 By @wh1100717) * 集合类型(@WilliamZang 认领) * 控制流(@vclwei 认领) - * 函数(@honghaoz 认领) + * 函数(完成 By @honghaoz) * 闭包(完成 By @wh1100717) * 枚举(@yankuangshi 认领) * 类和结构体(@JaySurplus 认领) * 属性(@shinyzhu 认领) - * 方法(@pp-prog 认领) - * 下标(@siemenliu 认领) - * 继承(@awstein 认领) + * 方法(完成 By @pp-prog) + * 下标(完成 By @siemenliu) + * 继承(完成 By @Hawstein) * 构造过程(@lifedim 认领) - * 析构过程(认领) + * 析构过程(完成) * 自动引用计数(@TimothyYe 认领) - * 可选链(认领) + * 可选链(完成) * 类型检查(完成 By @xiehurricane) * 嵌套类型(完成 By @Lin-H) - * 扩展(@lyuka 认领) + * 扩展(完成 By @lyuka) * 协议(@geek5nan 认领) * 泛型(完成 By @takalard) * 高级操作符(@xielingwang 认领) * 语言参考 * 关于语言参考(完成 By @ChildhoodAndy) - * 词法结构 - * 类型 + * 词法结构(@superkam 认领) + * 类型(@lyuka 认领) * 表达式(@sg552 认领) - * 声明 - * 属性 - * 模式 - * 泛型参数 - * 语法总结 + * 语句(@coverxit 认领) + * 声明(@marsprince 认领) + * 特性(@Hawstein 认领) + * 模式(@honghaoz 认领) + * 泛型参数(@fd5788 认领) + * 语法总结(@StanZhai 认领) # 更新频率 @@ -102,12 +103,13 @@ 3. 在命令行运行 `git branch develop` 来创建一个新分支 4. 运行 `git checkout develop` 来切换到新分支 5. 运行 `git remote add upstream https://github.com/numbbbbb/the-swift-programming-language-in-chinese.git` 把我的库添加为远端库 -6. 运行 `git fetch upstream gh-pages` 拉取我的库的更新到本地 -7. 运行 `git rebase upstream/gh-pages` 将我的更新合并到你的分支 +6. 运行 `git remote update`更新 +7. 运行 `git fetch upstream gh-pages` 拉取我的库的更新到本地 +8. 运行 `git rebase upstream/gh-pages` 将我的更新合并到你的分支 这是一个初始化流程,只需要做一遍就行,之后请一直在develop分支进行翻译。 -如果翻译过程中我的库有了更新,请重复6、7步。 +如果翻译过程中我的库有了更新,请重复6、7、8步。 翻译完成之后,首先push到你的库,然后登录GitHub,在你的库的首页可以看到一个 `pull request` 按钮,点击它,填写一些说明信息,然后提交即可。 diff --git a/chapter1/01_swift.html b/chapter1/01_swift.html index e1aa4c30..73df5754 100644 --- a/chapter1/01_swift.html +++ b/chapter1/01_swift.html @@ -46,7 +46,7 @@ -
+
@@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,95 +500,97 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    关于 Swift

    -

    Swift 是一种新的编程语言,用于编写 iOS 和 OS X 应用程序。Swift 结合了 C 和 Objective-C 的优点并且不受C的兼容性的限制。Swift 使用安全的编程模式并添加了很多新特性,这将使编程更简单,扩展性更强,也更有趣。除此之外,Swift 还支持人见人爱的 Cocoa 和 Cocoa Touch 框架。拥有了这些特性,Swift将重新定义软件开发。

    +

    Swift 是一种新的编程语言,用于编写 iOS 和 OS X 应用。Swift 结合了 C 和 Objective-C 的优点并且不受C的兼容性的限制。Swift 使用安全的编程模式并添加了很多新特性,这将使编程更简单,扩展性更强,也更有趣。除此之外,Swift 还支持人见人爱的 Cocoa 和 Cocoa Touch 框架。拥有了这些特性,Swift将重新定义软件开发。

    Swift 的开发从很久之前就开始了。为了给 Swift 打好基础,苹果公司改进了编译器,调试器和框架结构。我们使用自动引用计数(Automatic Reference Counting, ARC)来简化内存管理。我们在 Foundation 和 Cocoa的基础上构建框架栈并将其标准化。Objective-C 本身支持块、集合语法和模块,所以框架可以轻松支持现代编程语言技术。得益于这些基础工作,我们现在可以发布一个新语言,用于未来的苹果软件的开发。

    Objective-C 开发者对于 Swift 并不会感到陌生。它采用了 Objective-C 的命名参数以及动态对象模型,可以无缝对接到现有的 Cocoa 框架,并且可以兼容 Objective-C 代码。在此基础之上,Swift 还有许多新特性并且支持过程式编程和面向对象编程。

    Swift 对于初学者来说也很友好。它是第一个既满足工业标准又像脚本语言一样充满表现力和趣味的编程语言。它支持代码预览,这个革命性的特性可以允许程序员在不编译和运行应用程序的前提下运行 Swift 代码并实时查看结果。

    diff --git a/chapter1/02_a_swift_tour.html b/chapter1/02_a_swift_tour.html index c9715200..753412bb 100644 --- a/chapter1/02_a_swift_tour.html +++ b/chapter1/02_a_swift_tour.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    Swift 初见

    本页内容包括:

    @@ -651,7 +662,7 @@ for score in individualScores { } teamScore

    if语句中,条件必须是一个布尔表达式——这意味着像if score { ... }这样的代码将报错,而不会隐形地与 0 做对比。

    -

    你可以一起使用iflet来处理值缺失的情况。有些变量的值是可选的。一个可选的值可能是一个具体的值或者是nil,表示值缺失。在类型后面加一个问号来标记这个变量的值是可选的。

    +

    你可以一起使用iflet来处理值缺失的情况。有些变量的值是可选的。一个可选的值可能是一个具体的值或者是nil,表示值缺失。在类型后面加一个?来标记这个变量的值是可选的。

    var optionalString: String? = "Hello"
     optionalString == nil
     
    diff --git a/chapter1/chapter1.html b/chapter1/chapter1.html
    index da0b03aa..52302065 100644
    --- a/chapter1/chapter1.html
    +++ b/chapter1/chapter1.html
    @@ -46,7 +46,7 @@
     
     
             
    -    
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    欢迎使用 Swift

    在本章中您将了解 Swift 的特性和开发历史,并对 Swift 有一个初步的了解。

    diff --git a/chapter2/01_The_Basics.html b/chapter2/01_The_Basics.html index 4af1adce..4dd0c9e8 100644 --- a/chapter2/01_The_Basics.html +++ b/chapter2/01_The_Basics.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    基础部分

    Swift 是 iOS 和 OS X 应用开发的一门新语言。然而,如果你有 C 或者 Objective-C 开发经验的话,你会发现 Swift 的很多内容都是你熟悉的。

    @@ -769,7 +780,7 @@ let pi = Double(three) + pointOneFourOneFiveNine

    浮点数转换为整数也一样,整数类型可以用Double或者Float类型来初始化:

    let integerPi = Int(pi)
     // integerPi 等于 3,所以被推测为 Int 类型
    -

    当用这种方式来初始化一个新的整数值时,浮点值会被截断。也就是说4.75会变成4-3.9会变成3

    +
  • 当用这种方式来初始化一个新的整数值时,浮点值会被截断。也就是说4.75会变成4-3.9会变成-3

    注意:结合数字类常量和变量不同于结合数字类原始值。原始值3可以直接和原始值0.14159相加,因为数字原始值本身没有明确的类型。它们的类型只在编译器需要求值的时候被推测。

    @@ -849,7 +860,7 @@ println("The status message is \(http200Status.description)")
  • 没有值
  • -

    注意:C 和 Objective-C 中并没有可选这个概念。最接近的是 Objective-C 中的一个特性,一个方法要不返回一个对象要不返回nilnil表示“缺少一个合法的对象”。然而,这只对对象起作用——对于结构体,基本的 C 类型或者美剧类型不起作用。对于这些类型,Objective-C 方法一般会返回一个特殊值(比如NSNotFound)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,Swift 的可选可以让你暗示任意类型的值缺失,并不需要一个特殊值。

    +

    注意:C 和 Objective-C 中并没有可选这个概念。最接近的是 Objective-C 中的一个特性,一个方法要不返回一个对象要不返回nilnil表示“缺少一个合法的对象”。然而,这只对对象起作用——对于结构体,基本的 C 类型或者枚举类型不起作用。对于这些类型,Objective-C 方法一般会返回一个特殊值(比如NSNotFound)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,Swift 的可选可以让你暗示任意类型的值缺失,并不需要一个特殊值。

    来看一个例子。Swift 的String类型有一个叫做toInt的方法,作用是将一个String值转换成一个Int值。然而,并不是所有的字符串都可以转换成一个整数。字符串"123"可以被转换成数字123,但是字符串"hello, world"不行。

    下面的例子使用toInt方法来尝试将一个String转换成Int

    diff --git a/chapter2/02_Basic_Operators.html b/chapter2/02_Basic_Operators.html index 69c48de4..4b3b51e9 100644 --- a/chapter2/02_Basic_Operators.html +++ b/chapter2/02_Basic_Operators.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    基础运算符

    运算符是检查, 改变, 合并值的特殊符号或短语. 例如, 加号 + 把计算两个数的和(如 let i = 1 + 2). 复杂些的运行算包括逻辑与&&(如 if enteredDoorCode && passedRetinaScan), 还有自增运算符 ++i 这样让自身加一的便捷运算.

    diff --git a/chapter2/03_Strings_and_Characters.html b/chapter2/03_Strings_and_Characters.html index def2350c..71f15039 100644 --- a/chapter2/03_Strings_and_Characters.html +++ b/chapter2/03_Strings_and_Characters.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    字符串和字符 (Strings and Characters)

    本页包含内容:

    @@ -593,82 +604,91 @@
  • 字符串大小写
  • Unicode
  • -

    String 是一个有序的字符集合,例如 "hello, world", "albatross"。 -Swift 字符串通过 String 类型来表示,也可以表示为 Character 类型值的集合。

    +
    +

    String 是例如 "hello, world", "海贼王" 这样的有序的 Character (字符) 类型的值的集合,通过 String 类型来表示。

    Swift 的 StringCharacter 类型提供了一个快速的,兼容 Unicode 的方式来处理代码中的文本信息。 -创建和操作字符串的语法与 C的操作方式相似,轻量并且易读。 +创建和操作字符串的语法与 C 语言中字符串操作相似,轻量并且易读。 字符串连接操作只需要简单地通过 + 号将两个字符串相连即可。 与 Swift 中其他值一样,能否更改字符串的值,取决于其被定义为常量还是变量。

    尽管语法简易,但 String 类型是一种快速、现代化的字符串实现。 -每一个字符串都是由独立编码的 Unicode 字符组成,并提供了用于访问这些字符在不同的Unicode表示的支持。

    -

    String 也可以用于在常量、变量、字面量和表达式中进行字符串插值,这使得创建用于展示、存储和打印的字符串变得轻松自如。

    +每一个字符串都是由独立编码的 Unicode 字符组成,并提供了以不同 Unicode 表示 (representations) 来访问这些字符的支持。

    +

    Swift可以在常量、变量、字面量和表达式中进行字符串插值操作,可以轻松创建用于展示、存储和打印的自定义字符串。

    注意:

    Swift 的 String 类型与 Foundation NSString 类进行了无缝桥接。 -如果您利用 Cocoa 或 Cocoa Touch 中的 Foundation 框架进行工作,整个 NSString API 都可以调用您创建的任意 String 类型的值,您额外还可以在任意 API 中使用本章介绍的 String 特性。 -您也可以在任意要求传入NSString 实例作为参数的 API 中使用 String 类型的值进行替换。

    +如果您利用 Cocoa 或 Cocoa Touch 中的 Foundation 框架进行工作。 +所有 NSString API 都可以调用您创建的任意 String 类型的值。 +除此之外,还可以使用本章介绍的 String 特性。 +您也可以在任意要求传入 NSString 实例作为参数的 API 中使用 String 类型的值作为替代。

    更多关于在 Foundation 和 Cocoa 中使用 String 的信息请查看 Using Swift with Cocoa and Objective-C

    +

    字符串字面量

    您可以在您的代码中包含一段预定义的字符串值作为字符串字面量。 -字符串字面量是由双引号包裹着的具有固定顺序的文本字符集。

    +字符串字面量是由双引号 ("") 包裹着的具有固定顺序的文本字符集。

    字符串字面量可以用于为常量和变量提供初始值。

    let someString = "Some string literal value"
     

    注意:

    -

    someString 变量通过字符串字面量进行初始化,Swift 因此推断其为 String 类型。

    +

    someString 变量通过字符串字面量进行初始化,Swift 因此推断该变量为 String 类型。

    字符串字面量可以包含以下特殊字符:

      -
    • 转移特殊字符 \0 (空字符)、\\(反斜线)、\t (水平制表符)、\n (换行符)、\r (回车符)、\" (双引号)、\' (单引号)。
    • -
    • 单字节 Unicode 标量,写成 \xnn,其中 nn 为两位十六进制数。
    • -
    • 双字节 Unicode 标量,写成 \unnnn,其中 nnnn 为四位十六进制数。
    • -
    • 四字节 Unicode 标量,写成 \Unnnnnnnn,其中 nnnnnnnn 为八位十六进制数。
    • +
    • 转义字符 \0 (空字符)、\\(反斜线)、\t (水平制表符)、\n (换行符)、\r (回车符)、\" (双引号)、\' (单引号)。
    • +
    • 单字节 Unicode 标量,写成 \xnn,其中 nn 为两位十六进制数。
    • +
    • 双字节 Unicode 标量,写成 \unnnn,其中 nnnn 为四位十六进制数。
    • +
    • 四字节 Unicode 标量,写成 \Unnnnnnnn,其中 nnnnnnnn 为八位十六进制数。
    -

    下面的代码为各种特殊字符的使用示例。

    -

    wiseWords 常量包含了两个转移特殊字符 (双括号);dollarSignblackHeartsparklingHeart 常量演示了三种不同格式的 Unicode 标量:

    -
    let wiseWords = "\"Imagination is more important than knowledge\" - Einstein"
    -// "Imagination is more important than knowledge" - Einstein
    -let dollarSign = "\x24"        // $,  Unicode scalar U+0024
    -let blackHeart = "\u2665"      // ♥,  Unicode scalar U+2665
    -let sparklingHeart = "\U0001F496"  // 💖, Unicode scalar U+1F496
    -

    初始化空字符串

    +

    下面的代码为各种特殊字符的使用示例。 +wiseWords 常量包含了两个转移特殊字符 (双括号); +dollarSignblackHeartsparklingHeart 常量演示了三种不同格式的 Unicode 标量:

    +
    let wiseWords = "\"我是要成为海贼王的男人\" - 路飞"
    +// "我是要成为海贼王的男人" - 路飞
    +let dollarSign = "\x24"                // $,  Unicode 标量 U+0024
    +let blackHeart = "\u2665"              // ♥,  Unicode 标量 U+2665
    +let sparklingHeart = "\U0001F496"    // 💖, Unicode 标量 U+1F496
    +

    +

    初始化空字符串

    为了构造一个很长的字符串,可以创建一个空字符串作为初始值。 可以将空的字符串字面量赋值给变量,也可以初始化一个新的 String 实例:

    -
    var emptyString = ""               // empty string literal
    -var anotherEmptyString = String()  // initializer syntax
    -// 这两个字符串都为空,并且两者等价
    +
    var emptyString = ""               // 空字符串字面量
    +var anotherEmptyString = String()  // 初始化 String 实例
    +// 两个字符串均为空并等价。
     

    您可以通过检查其 Boolean 类型的 isEmpty 属性来判断该字符串是否为空:

    if emptyString.isEmpty {
    -    println("Nothing to see here")
    +    println("什么都没有")
     }
    -// 打印 "Nothing to see here"
    -

    字符串可变性

    +// 输出 "什么都没有" +

    +

    字符串可变性

    您可以通过将一个特定字符串分配给一个变量来对其进行修改,或者分配给一个常量来保证其不会被修改:

    var variableString = "Horse"
     variableString += " and carriage"
     // variableString 现在为 "Horse and carriage"
     let constantString = "Highlander"
     constantString += " and another Highlander"
    -// 这会报告一个编译错误(compile-time error) - 常量不可以被修改。
    +// 这会报告一个编译错误 (compile-time error) - 常量不可以被修改。
     

    注意:

    -

    在 Objective-C 和 Cocoa 中,您通过选择两个不同的类( NSString 和 NSMutableString )来指定该字符串是否可以被修改,Swift中的字符串是否可以修改仅通过定义的是变量还是常量来决定,实现了多种类型可变性操作的统一。

    +

    在 Objective-C 和 Cocoa 中,您通过选择两个不同的类( NSStringNSMutableString )来指定该字符串是否可以被修改,Swift 中的字符串是否可以修改仅通过定义的是变量还是常量来决定,实现了多种类型可变性操作的统一。

    +

    字符串是值类型

    Swift 的 String 类型是值类型。 如果您创建了一个新的字符串,那么当其进行常量、变量赋值操作或在函数/方法中传递时,会进行值拷贝。 -任何情况下,都会对已有字符串值创建新副本,并对该新副本进行传递或赋值。 +任何情况下,都会对已有字符串值创建新副本,并对该新副本进行传递或赋值操作。 值类型在 Structures and Enumerations Are Value Types 中进行了说明。

    注意:

    -

    与 Cocoa 中的 NSString 不同,当您在 Cocoa 中创建了一个 NSString 实例,并将其传递给一个函数/方法,或者赋值给一个变量,您永远都是传递或赋值同一个 NSString 实例的一个引用,除非您特别要求其进行值拷贝,否则字符串不会进行赋值新副本操作。

    +

    与 Cocoa 中的 NSString 不同,当您在 Cocoa 中创建了一个 NSString 实例,并将其传递给一个函数/方法,或者赋值给一个变量,您传递或赋值的是该 NSString 实例的一个引用,除非您特别要求进行值拷贝,否则字符串不会生成新的副本来进行赋值操作。

    -

    Swift 默认字符串拷贝的方式保证了在函数/方法中传递的是字符串的值,其明确了无论该值来自于哪里,都是您独自拥有的。 +

    Swift 默认字符串拷贝的方式保证了在函数/方法中传递的是字符串的值。 +很明显无论该值来自于哪里,都是您独自拥有的。 您可以放心您传递的字符串本身不会被更改。

    -

    在实际编译时,Swift编译器会优化字符串的使用,使实际的复制只发生在绝对必要的情况下,这意味着您始终可以将字符串作为值类型的同时获得极高的性能。

    -

    使用字符(Characters)

    -

    Swift 的 String 类型表示特定序列的字符值的集合。 +

    在实际编译时,Swift 编译器会优化字符串的使用,使实际的复制只发生在绝对必要的情况下,这意味着您将字符串作为值类型的同时可以获得极高的性能。

    +
    +

    使用字符(Characters)

    +

    Swift 的 String 类型表示特定序列的 Character (字符) 类型值的集合。 每一个字符值代表一个 Unicode 字符。 您可利用 for-in 循环来遍历字符串中的每一个字符:

    for character in "Dog!🐶" {
    @@ -682,8 +702,9 @@ constantString += " and another Highlander"
     

    for-in 循环在For Loops中进行了详细描述。

    另外,通过标明一个 Character 类型注解并通过字符字面量进行赋值,可以建立一个独立的字符常量或变量:

    let yenSign: Character = "¥"
    -

    计算字符数量

    -

    通过调用全局 countElements 函数并将字符串作为参数进行传递可以获取该字符串的字符数量。

    +
    +

    计算字符数量

    +

    通过调用全局 countElements 函数,并将字符串作为参数进行传递,可以获取该字符串的字符数量。

    let unusualMenagerie = "Koala 🐨, Snail 🐌, Penguin 🐧, Dromedary 🐪"
     println("unusualMenagerie has \(countElements(unusualMenagerie)) characters")
     // prints "unusualMenagerie has 40 characters"
    @@ -697,8 +718,9 @@ println("unusualMenagerie has \(countElements(unusualMenagerie)) characters
     NSString 的 length 属性是基于利用 UTF-16 表示的十六位代码单元数字,而不是基于 Unicode 字符。
     为了解决这个问题,NSString 的 length 属性在被 Swift的 String 访问时会成为 utf16count

    +

    连接字符串和字符

    -

    字符串和字符的值可以通过加法运算符 (+) 相加在一起并创建一个新的字符串值:

    +

    字符串和字符的值可以通过加法运算符 (+) 相加在一起并创建一个新的字符串值:

    let string1 = "hello"
     let string2 = " there"
     let character1: Character = "!"
    @@ -720,12 +742,13 @@ welcome += character1
     

    注意:

    您不能将一个字符串或者字符添加到一个已经存在的字符变量上,因为字符变量只能包含一个字符。

    +

    字符串插值

    -

    字符串插值是一种全新的构建字符串的方式,可以在其中包含常量、变量、字面量和表达式。 +

    字符串插值是一种构建新字符串的方式,可以在其中包含常量、变量、字面量和表达式。 您插入的字符串字面量的每一项都被包裹在以反斜线为前缀的圆括号中:

    let multiplier = 3
    -let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)"
    -// message is "3 times 2.5 is 7.5"
    +let message = "\(multiplier) 乘以 2.5 是 \(Double(multiplier) * 2.5)"
    +// message is "3 乘以 2.5 是 7.5"
     

    在上面的例子中,multiplier 作为 \(multiplier) 被插入到一个字符串字面量中。 当创建字符串执行插值计算时此占位符会被替换为 multiplier 实际的值。

    multiplier 的值也作为字符串中后面表达式的一部分。 @@ -733,18 +756,19 @@ let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)" 在这个例子中,表达式写为 \(Double(multiplier) * 2.5) 并包含在字符串字面量中。

    注意:

    -

    您插值字符串中写在括号中的表达式不能包含非转义双引号 (") 和反斜杠 (\),并且不能包含回车或换行符。

    +

    您插值字符串中写在括号中的表达式不能包含非转义双引号 (") 和反斜杠 (\),并且不能包含回车或换行符。

    +

    比较字符串

    Swift 提供了三种方式来比较字符串的值:字符串相等,前缀相等和后缀相等。

    字符串相等

    如果两个字符串以同一顺序包含完全相同的字符,则认为两者字符串相等:

    -
    let quotation = "We're a lot alike, you and I."
    -let sameQuotation = "We're a lot alike, you and I."
    +
    let quotation = "我们是一样一样滴."
    +let sameQuotation = "我们是一样一样滴."
     if quotation == sameQuotation {
    -    println("These two strings are considered equal")
    +    println("这两个字符串被认为是相同的")
     }
    -// prints "These two strings are considered equal"
    +// prints "这两个字符串被认为是相同的"
     
    前缀/后缀相等

    通过调用字符串的 hasPrefix/hasSuffix 方法来检查字符串是否拥有特定前缀/后缀。 两个方法均需要以字符串作为参数传入并传出 Boolean 值。 @@ -773,16 +797,17 @@ for scene in romeoAndJuliet { println("There are \(act1SceneCount) scenes in Act 1") // prints "There are 5 scenes in Act 1"

    大写和小写字符串
    -

    您可以通过字符串的 uppercaseStringlowercaseString 属性来访问一个字符串的大写/小写版本。

    +

    您可以通过字符串的 uppercaseStringlowercaseString 属性来访问大写/小写版本的字符串。

    let normal = "Could you help me, please?"
     let shouty = normal.uppercaseString
     // shouty 值为 "COULD YOU HELP ME, PLEASE?"
     let whispered = normal.lowercaseString
     // whispered 值为 "could you help me, please?"
    -

    Unicode

    -

    Unicode 是文本编码和表示的国际标准。 +


    +

    Unicode

    +

    Unicode 是一个国际标准,用于文本的编码和表示。 它使您可以用标准格式表示来自任意语言几乎所有的字符,并能够对文本文件或网页这样的外部资源中的字符进行读写操作。

    -

    Swift 的字符串和字符类型是完全兼容 Unicode 的,它支持如下所述的一系列不同的 Unicode 编码。

    +

    Swift 的字符串和字符类型是完全兼容 Unicode 标准的,它支持如下所述的一系列不同的 Unicode 编码。

    Unicode 术语(Terminology)

    Unicode 中每一个字符都可以被解释为一个或多个 unicode 标量。 字符的 unicode 标量是一个唯一的21位数字(和名称),例如 U+0061 表示小写的拉丁字母A ("a"),U+1F425 表示小幺鸡表情 ("🐥")

    @@ -797,18 +822,18 @@ let whispered = normal.lowercaseString
  • UTF-16 代码单元集合 (利用字符串的 utf16 属性进行访问)
  • 21位的 Unicode 标量值集合 (利用字符串的 unicodeScalars 属性进行访问)
  • -

    下面由 D o g !🐶 (狗脸表情,Unicode 标量为 U+1F436)组成的字符串中的每一个字符代表着一种不同的表示:

    +

    下面由 D o g !🐶 (DOG FACE,Unicode 标量为 U+1F436)组成的字符串中的每一个字符代表着一种不同的表示:

    let dogString = "Dog!🐶"
     
    UTF-8

    您可以通过遍历字符串的 utf8 属性来访问它的 UTF-8 表示。 -其为 UTF8View 类型的属性,UTF8View 是无符号8位 (UInt8) 值的集合,每一个 UIn8 都是一个字符的 UTF-8 表示:

    +其为 UTF8View 类型的属性,UTF8View 是无符号8位 (UInt8) 值的集合,每一个 UInt8 值都是一个字符的 UTF-8 表示:

    for codeUnit in dogString.utf8 {
         print("\(codeUnit) ")
     }
     print("\n")
     // 68 111 103 33 240 159 144 182
     

    上面的例子中,前四个10进制代码单元值 (68, 111, 103, 33) 代表了字符 D o g! ,他们的 UTF-8 表示与 ASCII 表示相同。 -后四个代码单元值 (240, 159, 144, 182) 是 狗脸表情 的4位 UTF-8 表示。

    +后四个代码单元值 (240, 159, 144, 182) 是 DOG FACE 的4位 UTF-8 表示。

    UTF-16

    您可以通过遍历字符串的 utf16 属性来访问它的 UTF-16 表示。 其为 UTF16View 类型的属性,UTF16View 是无符号16位 (UInt16) 值的集合,每一个 UInt16 都是一个字符的 UTF-16 表示:

    @@ -818,7 +843,7 @@ print("\n") print("\n") // 68 111 103 33 55357 56374

    同样,前四个代码单元值 (68, 111, 103, 33) 代表了字符 D o g! ,他们的 UTF-16 代码单元和 UTF-8 完全相同。

    -

    第五和第六个代码单元值 (55357 and 56374) 是 狗脸表情 字符的UTF-16 表示。 +

    第五和第六个代码单元值 (55357 and 56374) 是 DOG FACE 字符的UTF-16 表示。 第一个值为 U+D83D (十进制值为 55357),第二个值为 U+DC36 (十进制值为 56374)。

    Unicode 标量 (Scalars)

    您可以通过遍历字符串的 unicodeScalars 属性来访问它的 Unicode 标量表示。 @@ -832,7 +857,7 @@ print("\n") // 68 111 103 33 128054

    同样,前四个代码单元值 (68, 111, 103, 33) 代表了字符 D o g! 。 第五位数值,128054,是一个十六进制1F436的十进制表示。 -其等同于 狗脸表情 的Unicode 标量 U+1F436。

    +其等同于 DOG FACE 的Unicode 标量 U+1F436。

    作为查询字符值属性的一种替代方法,每个 UnicodeScalar 值也可以用来构建一个新的字符串值,比如在字符串插值中使用:

    for scalar in dogString.unicodeScalars {
         println("\(scalar) ")
    diff --git a/chapter2/04_Collection_Types.html b/chapter2/04_Collection_Types.html
    index a74b8013..3d4c3961 100644
    --- a/chapter2/04_Collection_Types.html
    +++ b/chapter2/04_Collection_Types.html
    @@ -46,7 +46,7 @@
     
     
             
    -    
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter2/05_Control_Flow.html b/chapter2/05_Control_Flow.html index 4cd16909..39864f4a 100644 --- a/chapter2/05_Control_Flow.html +++ b/chapter2/05_Control_Flow.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter2/06_Functions.html b/chapter2/06_Functions.html index f8353284..3e576998 100644 --- a/chapter2/06_Functions.html +++ b/chapter2/06_Functions.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    函数(Functions)

    本页包含内容:

    @@ -590,7 +601,7 @@

    函数是用来完成特定任务的独立的代码块。你给一个函数起一个合适的名字,用来标示函数做什么,并且当函数需要执行的时候,这个名字会被“调用”。

    Swift统一的函数语法足够灵活,可以用来表示任何函数,包括从最简单的没有参数名字的C风格函数,到复杂的带局部和外部参数名的Objective-C风格函数。参数可以提供默认值,以简化函数调用。参数也可以即当做传入参数,也当做传出参数,也就是说,一旦函数执行结束,传入的参数值可以被修改。

    在Swift中,每个函数都有一种类型,包括函数的参数值类型和返回值类型。你可以把函数类型当做任何其他普通变量类型一样处理,这样就可以更简单地把函数当做别的函数的参数,也可以从其他函数中返回函数。函数的定义可以写在在其他函数定义中,这样可以在嵌套函数范围内实现功能封装。

    -

    函数的定义与调用

    +

    函数的定义与调用(Defining and Calling Functions)

    当你定义一个函数时,你可以定义一个或多个有名字和类型的值,作为函数的输入(称为参数,parameters),也可以定义某种类型的值作为函数执行结束的输出(称为返回类型)。

    每个函数有个函数名,用来描述函数执行的任务。要使用一个函数时,你用函数名“调用”,并传给它匹配的输入值(称作实参,arguments)。一个函数的实参必须与函数参数表里参数的顺序一致。

    在下面例子中的函数叫做"greetingForPerson",之所以叫这个名字是因为这个函数用一个人的名字当做输入,并返回给这个人的问候语。为了完成这个任务,你定义一个输入参数-一个叫做personNameString值,和一个包含给这个人问候语的String类型的返回值:

    @@ -613,8 +624,323 @@ } println(sayHelloAgain("Anna")) // prints "Hello again, Anna! -
  • 函数参数与返回值

    - +

    函数参数与返回值(Function Parameters and Return Values)

    +

    函数参数与返回值在Swift中极为灵活。你可以定义任何类型的函数,包括从只带一个未名参数的简单函数到复杂的带有表达性参数名和不同参数选项的复杂函数。

    +

    多重输入参数(Multiple Input Parameters)

    +

    函数可以有多个输入参数,写在圆括号中,用逗号分隔。

    +

    下面这个函数用一个半开区间的开始点和结束点,计算出这个范围内包含多少数字:

    +
            func halfOpenRangeLength(start: Int, end: Int) -> Int {
    +            return end - start
    +        }
    +        println(halfOpenRangeLength(1, 10))
    +        // prints "9
    +

    无参函数(Functions Without Parameters)

    +

    函数可以没有参数。下面这个函数就是一个无参函数,当被调用时,它返回固定的String消息:

    +
            func sayHelloWorld() -> String {
    +            return "hello, world"
    +        }
    +        println(sayHelloWorld())
    +        // prints "hello, world
    +

    尽管这个函数没有参数,但是定义中在函数名后还是需要一对圆括号。当被调用时,也需要在函数名后写一对圆括号。

    +

    无返回值函数(Functions Without Return Values)

    +

    函数可以没有返回值。下面是sayHello函数的另一个版本,叫waveGoodbye,这个函数直接输出String值,而不是返回它:

    +
            func sayGoodbye(personName: String) {
    +            println("Goodbye, \(personName)!")
    +        }
    +        sayGoodbye("Dave")
    +        // prints "Goodbye, Dave!
    +

    因为这个函数不需要返回值,所以这个函数的定义中没有返回箭头(->)和返回类型。

    +
    +

    注意: +严格上来说,虽然没有返回值被定义,sayGoodbye函数依然返回了值。没有定义返回类型的函数会返回特殊的值,叫Void。它其实是一个空的元组(tuple),没有任何元素,可以写成()

    +
    +

    被调用时,一个函数的返回值可以被忽略:

    +
            func printAndCount(stringToPrint: String) -> Int {
    +            println(stringToPrint)
    +            return countElements(stringToPrint)
    +        }
    +        func printWithoutCounting(stringToPrint: String) {
    +            printAndCount(stringToPrint)
    +        }
    +        printAndCount("hello, world")
    +        // prints "hello, world" and returns a value of 12
    +        printWithoutCounting("hello, world")
    +        // prints "hello, world" but does not return a value
    +

    第一个函数printAndCount,输出一个字符串并返回Int类型的字符数。第二个函数printWithoutCounting调用了第一个函数,但是忽略了它的返回值。当第二个函数被调用时,消息依然会由第一个函数输出,但是返回值不会被用到。

    +
    +

    注意: +返回值可以被忽略,但定义了有返回值的函数必须返回一个值,如果在函数定义底部没有返回任何值,这叫导致编译错误(compile-time error)。

    +
    +

    多重返回值函数(Functions with Multiple Return Values)

    +

    你可以用元组(tuple)类型让多个值作为一个复合值从函数中返回。

    +

    下面的这个例子中,count函数用来计算一个字符串中元音,辅音和其他字母的个数(基于美式英语的标准)。

    +
            func count(string: String) -> (vowels: Int, consonants: Int, others: Int) {
    +            var vowels = 0, consonants = 0, others = 0
    +            for character in string {
    +                switch String(character).lowercaseString {
    +                case "a", "e", "i", "o", "u":
    +                       ++vowels
    +                case "b", "c", "d", "f", "g", "h", "j", "k", "l", "m",
    +                "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z":
    +                    ++consonants
    +                default:
    +                    ++others
    +                }
    +            }
    +            return (vowels, consonants, others)
    +        }
    +

    你可以用count函数来处理任何一个字符串,返回的值将是一个包含三个Int型值的元组(tuple):

    +
            let total = count("some arbitrary string!")
    +        println("\(total.vowels) vowels and \(total.consonants) consonants")
    +        // prints "6 vowels and 13 consonants
    +

    需要注意的是,元组的成员不需要在函数中返回时命名,因为它们的名字已经在函数返回类型有有了定义。

    +

    函数参数名(Function Parameter Names)

    +

    以上所有的函数都给它们的参数定义了参数名(parameter name)

    +
            func someFunction(parameterName: Int) {
    +            // function body goes here, and can use parameterName
    +            // to refer to the argument value for that parameter
    +        }
    +

    但是,这些参数名仅在函数体中使用,不能在函数调用时使用。这种类型的参数名被称作局部参数名(local parameter name),因为它们只能在函数体中使用。

    +

    外部参数名(External Parameter Names)

    +

    有时候,调用函数时,给每个参数命名是非常有用的,因为这些参数名可以指出各个实参的用途是什么。

    +

    如果你希望函数的使用者在调用函数时提供参数名字,那就需要给每个参数除了局部参数名外再定义一个外部参数名。外部参数名写在局部参数名之前,用空格分隔。

    +
            func someFunction(externalParameterName localParameterName: Int) {
    +            // function body goes here, and can use localParameterName
    +            // to refer to the argument value for that parameter
    +        }
    +
    +

    注意: +如果你提供了外部参数名,那么函数在被调用时,必须使用外部参数名。

    +
    +

    以下是个例子,这个函数使用一个结合者(joiner)把两个字符串联在一起:

    +
            func join(s1: String, s2: String, joiner: String) -> String {
    +            return s1 + joiner + s2
    +        }
    +

    当你调用这个函数时,这三个字符串的用途是不清楚的:

    +
            join("hello", "world", ", ")
    +        // returns "hello, world
    +

    为了让这些字符串的用途更为明显,我们为join函数添加外部参数名:

    +
            func join(string s1: String, toString s2: String, withJoiner joiner: String) -> String {
    +                return s1 + joiner + s2
    +        }
    +

    在这个版本的join函数中,第一个参数有一个叫string的外部参数名和s1的局部参数名,第二个参数有一个叫toString的外部参数名和s2的局部参数名,第三个参数有一个叫withJoiner的外部参数名和joiner的局部参数名。

    +

    现在,你可以使用这些外部参数名以一种清晰地方式来调用函数了:

    +
            join(string: "hello", toString: "world", withJoiner: ", ")
    +        // returns "hello, world
    +

    使用外部参数名让第二个版本的join函数的调用更为有表现力,更为通顺,同时还保持了函数体是可读的和有明确意图的。

    +
    +

    注意: +当其他人在第一次读你的代码,函数参数的意图显得不明显时,考虑使用外部参数名。如果函数参数名的意图是很明显的,那就不需要定义外部参数名了。

    +
    +

    简写外部参数名(Shorthand External Parameter Names)

    +

    如果你需要提供外部参数名,但是局部参数名已经定义好了,那么你不需要写两次这些参数名。相反,只写一次参数名,并用井号(#)作为前缀就可以了。这告诉Swift使用这个参数名作为局部和外部参数名。

    +

    下面这个例子定义了一个叫containsCharacter的函数,使用井号(#)的方式定义了外部参数名:

    +
            func containsCharacter(#string: String, #characterToFind: Character) -> Bool {
    +            for character in string {
    +                if character == characterToFind {
    +                    return true
    +                }
    +            }
    +            return false
    +        }
    +

    这样定义参数名,使得函数体更为可读,清晰,同时也可以以一个不含糊的方式被调用:

    +
            let containsAVee = containsCharacter(string: "aardvark", characterToFind: "v")
    +        // containsAVee equals true, because "aardvark" contains a "v”
    +

    默认参数值(Default Parameter Values)

    +

    你可以在函数体中为每个参数定义默认值。当默认值被定义后,调用这个函数时可以略去这个参数。

    +
    +

    注意: +将带有默认值的参数放在函数参数表的最后。这样可以保证在函数调用时,非默认参数的顺序是一致的,同时使得相同的函数在不同情况下调用时显得更为清晰。

    +
    +

    以下是另一个版本的join函数,其中joiner有了默认参数值:

    +
            func join(string s1: String, toString s2: String, withJoiner joiner: String = " ") -> String {
    +            return s1 + joiner + s2
    +        }
    +

    像第一个版本的join函数一样,如果joiner被幅值时,函数将使用这个字符串值来连接两个字符串:

    +
            join(string: "hello", toString: "world", withJoiner: "-")
    +        // returns "hello-world
    +

    当这个函数被调用时,如果joiner的值没有被指定,函数会使用默认值(" "):

    +
            join(string: "hello", toString: "world", withJoiner: "-")
    +        // returns "hello-world
    +

    默认值参数的外部参数名(External Names for Parameters with Default Values)

    +

    在大多数情况下,给带默认值的参数起一个外部参数名是很有用的。这样可以保证当函数被调用且带默认值的参数被提供值时,实参的意图是明显的。

    +

    为了使定义外部参数名更加简单,当你未给带默认值的参数提供外部参数名时,Swift会自动提供外部名字。此时外部参数名与局部名字是一样的,就像你已经在局部参数名前写了井号(#)一样。

    +

    下面是join函数的另一个版本,这个版本中并没有为它的参数提供外部参数名,但是joiner参数依然有外部参数名:

    +
            func join(s1: String, s2: String, joiner: String = " ") -> String {
    +            return s1 + joiner + s2
    +        }
    +

    在这个例子中,Swift自动为joiner提供了外部参数名。因此,当函数调用时,外部参数名必须使用,这样使得参数的用途变得清晰。

    +
            func join(s1: String, s2: String, joiner: String = " ") -> String {
    +            return s1 + joiner + s2
    +        }
    +
    +

    注意: +你可以使用下划线(_)作为默认值参数的外部参数名,这样可以在调用时不用提供外部参数名。但是给带默认值的参数命名总是更加合适的。

    +
    +

    可变参数(Variadic Parameters)

    +

    一个可变参数(variadic parameter)可以接受一个或多个值。函数调用时,你可以用可变参数来传入不确定数量的输入参数。通过在变量类型名后面加入(...)的方式来定义可变参数。

    +

    传入可变参数的值在函数体内当做这个类型的一个数组。例如,一个叫做numbersDouble...型可变参数,在函数体内可以当做一个叫numbersDouble[]型的数组常量。

    +

    下面的这个函数用来计算一组任意长度数字的算术平均数:

    +
            func arithmeticMean(numbers: Double...) -> Double {
    +            var total: Double = 0
    +            for number in numbers {
    +                total += number
    +            }
    +            return total / Double(numbers.count)
    +        }
    +        arithmeticMean(1, 2, 3, 4, 5)
    +        // returns 3.0, which is the arithmetic mean of these five numbers
    +        arithmeticMean(3, 8, 19)
    +        // returns 10.0, which is the arithmetic mean of these three numbers
    +
    +

    注意: +一个函数至多能有一个可变参数,而且它必须是参数表中最后的一个。这样做是为了避免函数调用时出现歧义。

    +
    +

    如果函数有一个或多个带默认值的参数,而且还有一个可变参数,那么把可变参数放在参数表的最后。

    +

    常量参数和变量参数(Constant and Variable Parameters)

    +

    函数参数默认是常量。试图在函数体中更改参数值将会导致编译错误。这意味着你不能错误地更改参数值。

    +

    但是,有时候,如果函数中有传入参数的变量值副本将是很有用的。你可以通过指定一个或多个参数为变量参数,从而避免自己在函数中定义新的变量。变量参数不是常量,你可以在函数中把它当做新的可修改副本来使用。

    +

    通过在参数名前加关键字var来定义变量参数:

    +
            func alignRight(var string: String, count: Int, pad: Character) -> String {
    +            let amountToPad = count - countElements(string)
    +            for _ in 1...amountToPad {
    +                string = pad + string
    +            }
    +            return string
    +        }
    +        let originalString = "hello"
    +        let paddedString = alignRight(originalString, 10, "-")
    +        // paddedString is equal to "-----hello"
    +        // originalString is still equal to "hello”
    +

    这个例子中定义了一个新的叫做alignRight的函数,用来右对齐输入的字符串到一个长的输出字符串中。左侧空余的地方用指定的填充字符填充。这个例子中,字符串"hello"被转换成了"-----hello"

    +

    alignRight函数将参数string定义为变量参数。这意味着string现在可以作为一个局部变量,用传入的字符串值初始化,并且可以在函数体中进行操作。

    +

    该函数首先计算出多少个字符需要被添加到string的左边,以右对齐到总的字符串中。这个值存在局部常量amountToPad中。这个函数然后将amountToPad多的填充(pad)字符填充到string左边,并返回结果。它使用了string这个变量参数来进行所有字符串操作。

    +
    +

    注意: +对变量参数所进行的修改在函数调用结束后变消息了,并且对于函数体外是不可见的。变量参数仅仅存在于函数调用的生命周期中。

    +
    +

    输入输出参数(In-Out Parameters)

    +

    变量参数,正如上面所述,仅仅能在函数体内被更改。如果你想要一个函数可以修改参数的值,并且想要在这些修改在函数调用结束后仍然存在,那么就应该把这个参数定义为输入输出参数(In-Out Parameters)。

    +

    定义一个输入输出参数时,在参数定以前加inout关键字。一个输入输出参数有传入函数的值,这个值被函数修改,然后被传出函数,替换原来的值。

    +

    你只能传入一个变量作为输入输出参数。你不能传入常量或者字面量(literal value),因为这些量是不能被修改的。当传入的参数作为输入输出参数时,需要在参数前加&符,表示这个值可以被函数修改。

    +
    +

    注意: +输入输出参数不能有默认值,而且变量参数不能用inout标记。如果你用inout标记一个参数,这个参数不能别var或者let标记。

    +
    +

    下面是例子,swapTwoInts函数,有两个分别叫做ab的输出输出参数:

    +
            func swapTwoInts(inout a: Int, inout b: Int) {
    +            let temporaryA = a
    +            a = b
    +            b = temporaryA
    +        }
    +

    这个swapTwoInts函数仅仅交换ab的值。该函数先将a的值存到一个暂时常量temporaryA中,然后将b的值赋给a,最后将temporaryA幅值给b

    +

    你可以用两个Int型的变量来调用swapTwoInts。需要注意的是,someIntanotherInt在传入swapTwoInts函数前,都加了&的前缀:

    +
            var someInt = 3
    +        var anotherInt = 107
    +        swapTwoInts(&someInt, &anotherInt)
    +        println("someInt is now \(someInt), and anotherInt is now \(anotherInt)")
    +        // prints "someInt is now 107, and anotherInt is now 3”
    +

    从上面这个例子中,我们可以看到someIntanotherInt的原始值在swapTwoInts函数中被修改,尽管它们的定义在函数体外。

    +
    +

    注意: +输出输出参数和返回值是不一样的。上面的swapTwoInts函数并没有定义任何返回值,但仍然修改了someIntanotherInt的值。输入输出参数是函数对函数体外产生影响的另一种方式。

    +
    +

    函数类型(Function Types)

    +

    每个函数都有种特定的函数类型,由函数的参数类型和返回类型组成。

    +

    例如:

    +
            func addTwoInts(a: Int, b: Int) -> Int {
    +            return a + b
    +        }
    +        func multiplyTwoInts(a: Int, b: Int) -> Int {
    +            return a * b
    +        }
    +

    这个例子中定义了两个简单的数学函数:addTwoIntsmultiplyTwoInts。这两个函数都传入两个Int类型, 返回一个合适的Int值。

    +

    这两个函数的类型是(Int, Int) -> Int,可以读作“这个函数类型,它有两个Int型的参数并返回一个Int型的值。”。

    +

    下面是另一个例子,一个没有参数,也没有返回值的函数:

    +
            func printHelloWorld() {
    +            println("hello, world")
    +        }
    +

    这个函数的类型是:() -> (),或者叫“没有参数,并返回Void类型的函数。”。没有指定返回类型的函数总返回 Void。在Swift中,Void与空的元组是一样的。

    +

    使用函数类型(Using Function Types)

    +

    在Swift中,使用函数类型就像使用其他类型一样。例如,你可以定义一个常量或变量,它的类型是函数,并且可以幅值为一个函数:

    +
            var mathFunction: (Int, Int) -> Int = addTwoInts
    +

    这个可以读作:

    +

    “定义一个叫做mathFunction的变量,类型是‘一个有两个Int型的参数并返回一个Int型的值的函数’,并让这个新变量指向addTwoInts函数”。

    +

    addTwoIntsmathFunction有同样的类型,所以这个赋值过程在Swift类型检查中是允许的。

    +

    现在,你可以用mathFunction来调用被赋值的函数了:

    +
            println("Result: \(mathFunction(2, 3))")
    +        // prints "Result: 5
    +

    有相同匹配类型的不同函数可以被赋值给同一个变量,就像非函数类型的变量一样:

    +
            mathFunction = multiplyTwoInts
    +        println("Result: \(mathFunction(2, 3))")
    +        // prints "Result: 6"
    +

    就像其他类型一样,当赋值一个函数给常量或变量时,你可以让Swift来推测其函数类型:

    +
            let anotherMathFunction = addTwoInts
    +        // anotherMathFunction is inferred to be of type (Int, Int) -> Int
    +

    函数类型作为参数类型(Function Types as Parameter Types)

    +

    你可以用(Int, Int) -> Int这样的函数类型作为另一个函数的参数类型。这样你可以将函数的一部分实现交由给函数的调用者。

    +

    下面是另一个例子,正如上面的函数一样,同样是输出某种数学运算结果:

    +
            func printMathResult(mathFunction: (Int, Int) -> Int, a: Int, b: Int) {
    +            println("Result: \(mathFunction(a, b))")
    +        }
    +        printMathResult(addTwoInts, 3, 5)
    +        // prints "Result: 8”
    +

    这个例子定义了printMathResult函数,它有三个参数:第一个参数叫mathFunction,类型是(Int, Int) -> Int,你可以传入任何这种类型的函数;第二个和第三个参数叫ab,它们的类型都是Int,这两个值作为已给的函数的输入值。

    +

    printMathResult被调用时,它被传入addTwoInts函数和整数35。它用传入35调用addTwoInts,并输出结果:8

    +

    printMathResult函数的作用就是输出另一个合适类型的数学函数的调用结果。它不关心传入函数是如何实现的,它只关心这个传入的函数类型是正确的。这使得printMathResult可以以一种类型安全(type-safe)的方式来保证传入函数的调用是正确的。

    +

    函数类型作为返回类型(Function Type as Return Types)

    +

    你可以用函数类型作为另一个函数的返回类型。你需要做的是在返回箭头(->)后写一个完整的函数类型。

    +

    下面的这个例子中定义了两个简单函数,分别是stepForwardstepBackwardstepForward函数返回一个比输入值大一的值。stepBackward函数返回一个比输入值小一的值。这两个函数的类型都是(Int) -> Int

    +
            func stepForward(input: Int) -> Int {
    +            return input + 1
    +        }
    +        func stepBackward(input: Int) -> Int {
    +            return input - 1
    +        }
    +

    下面这个叫做chooseStepFunction的函数,它的返回类型是(Int) -> Int的函数。chooseStepFunction根据布尔值backwards来返回stepForward函数或stepBackward函数:

    +
            func chooseStepFunction(backwards: Bool) -> (Int) -> Int {
    +            return backwards ? stepBackward : stepForward
    +        }
    +

    你现在可以用chooseStepFunction来获得一个函数,不管是那个方向:

    +
            var currentValue = 3
    +        let moveNearerToZero = chooseStepFunction(currentValue > 0)
    +        // moveNearerToZero now refers to the stepBackward() function
    +

    上面这个例子中计算出从currentValue逐渐接近到0是需要向正数走还是向负数走。currentValue的初始值是3,这意味着currentValue > 0是真的(true),这将使得chooseStepFunction返回stepBackward函数。一个指向返回的函数的引用保存在了moveNearerToZero常量中。

    +

    现在,moveNearerToZero指向了正确的函数,它可以被用来数到0

    +
            println("Counting to zero:")
    +        // Counting to zero:
    +        while currentValue != 0 {
    +            println("\(currentValue)... ")
    +            currentValue = moveNearerToZero(currentValue)
    +        }
    +        println("zero!")
    +        // 3...
    +        // 2...
    +        // 1...
    +        // zero!
    +

    嵌套函数(Nested Functions)

    +

    这章中你所见到的所有函数都叫全局函数(global functions),它们定义在全局域中。你也可以把函数定义在别的函数体中,称作嵌套函数(nested functions)。

    +

    默认情况下,嵌套函数是对外界不可见的,但是可以被他们封闭函数(enclosing function)来调用。一个封闭函数也可以返回它的某一个嵌套函数,使得这个函数可以在其他域中被使用。

    +

    你可以用返回嵌套函数的方式重写chooseStepFunction函数:

    +
            func chooseStepFunction(backwards: Bool) -> (Int) -> Int {
    +            func stepForward(input: Int) -> Int { return input + 1 }
    +            func stepBackward(input: Int) -> Int { return input - 1 }
    +            return backwards ? stepBackward : stepForward
    +        }
    +        var currentValue = -4
    +        let moveNearerToZero = chooseStepFunction(currentValue > 0)
    +        // moveNearerToZero now refers to the nested stepForward() function
    +        while currentValue != 0 {
    +            println("\(currentValue)... ")
    +            currentValue = moveNearerToZero(currentValue)
    +        }
    +        println("zero!")
    +        // -4...
    +        // -3...
    +        // -2...
    +        // -1...
    +        // zero!
    +
    diff --git a/chapter2/07_Closures.html b/chapter2/07_Closures.html index 305b5636..3ae931fe 100644 --- a/chapter2/07_Closures.html +++ b/chapter2/07_Closures.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    闭包

    本页内容包含:

    diff --git a/chapter2/08_Enumerations.html b/chapter2/08_Enumerations.html index 7e3e5205..dcdbb512 100644 --- a/chapter2/08_Enumerations.html +++ b/chapter2/08_Enumerations.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,240 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    枚举

    +

    本页内容包含:

    +
      +
    • 枚举语法
    • +
    • 匹配枚举值与Swith语句
    • +
    • 实例值(associated values)
    • +
    • 原始值(raw values)
    • +
    +

    枚举(enumeration)定义了一个通用类型的一组相关的值,使你可以在你的代码中以一个安全的方式来使用这些值。

    +

    如果你熟悉C语言,你就会知道,在C语言中枚举指定相关名称为一组整型值。Swift中的枚举更加灵活,不必给每一个枚举成员(enumeration member)提供一个值。如果一个值(被认为是“原始”值)被提供给每个枚举成员,则该值可以是一个字符串,一个字符,或是一个整型值或浮点值。

    +

    此外,枚举成员可以指定任何类型的实例值存储到枚举成员值中,就像其他语言中的联合体(unions)和变体(variants)。你可以定义一组通用的相关成员作为枚举的一部分,每一组都有不同的一组与它相关的适当类型的数值。

    +

    在Swift中,枚举类型是一等(first-class)类型。它们采用了很多传统上只被类(class)所支持的特征,例如计算型属性(computed properties),用于提供关于枚举当前值的附加信息, 实例方法(instance methods),用于提供和枚举所代表的值相关联的功能。枚举也可以定义构造函数(initializers)来提供一个初始成员值;可以在原始的实现基础上扩展它们的功能;可以遵守协议(protocols)来提供标准的功能。

    +

    欲了解更多相关功能,请参见属性(Properties),方法(Methods),构造过程(Initialization),扩展(Extensions),和协议(Protocols)。

    +

    枚举语法

    +

    使用enum关键词并且把它们的整个定义放在一对大括号内:

    +
    enum SomeEumeration {
    +    // enumeration definition goes here
    +}
    +

    以下是指南针四个方向的一个例子:

    +
    enum CompassPoint {
    +    case North
    +    case South
    +    case East
    +    case West
    +}
    +

    一个枚举中被定义的值(例如 NorthSouthEastWest)是枚举的成员值(或者成员)。case关键词表明新的一行成员值将被定义。

    +
    +

    注意: +不像C和Objective-C一样,Swift的枚举成员在被创建时不会被赋予一个默认的整数值。在上面的CompassPoints例子中,NorthSouthEastWest不是隐式得等于0123。相反的,这些不同的枚举成员在CompassPoint的一种显示定义中拥有各自不同的值。

    +
    +

    多个成员值可以出现在同一行上,用逗号隔开:

    +
    enum Planet {
    +    case Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Nepturn
    +}
    +

    每个枚举定义了一个全新的类型。像Swift中其他类型一样,它们的名字(例如CompassPointPlanet)必须以一个大写字母开头。给枚举类型起一个单数名字而不是复数名字,以便于读起来更加容易理解:

    +
    var directionToHead = CompassPoint.West
    +

    directionToHead的类型被推断当它被CompassPoint的一个可能值初始化。一旦directionToHead被声明为一个CompassPoint,你可以使用更短的点(.)语法将其设置为另一个CompassPoint的值:

    +
    directionToHead = .East
    +

    directionToHead的类型已知时,当设定它的值时,你可以不再写类型名。使用显示类型的枚举值可以让代码具有更好的可读性。

    +

    Switch语句匹配枚举值

    +

    你可以匹配单个枚举值和switch语句:

    +
    directionToHead = .South
    +switch directionToHead {
    +case .North:
    +    println("Lots of planets have a north")
    +case .South:
    +    println("Watch out for penguins")
    +case .East:
    +    println("Where the sun rises")
    +case .West:
    +    println("Where the skies are blue")
    +}
    +// prints "Watch out for penguins”
    +

    你可以如此理解这段代码:

    +

    “考虑directionToHead的值。当它等于.North,打印“Lots of planets have a north”。当它等于.South,打印“Watch out for penguins”。”

    +

    等等依次类推。

    +

    正如在控制流(Control Flow)中介绍,当考虑一个枚举的成员们时,一个switch语句必须全面。如果忽略了.West这种情况,上面那段代码将无法通过编译,因为它没有考虑到CompassPoint的全部成员。全面性的要求确保了枚举成员不会被意外遗漏。

    +

    当不需要匹配每个枚举成员的时候,你可以提供一个默认default分支来涵盖所有未明确被提出的任何成员:

    +
    let somePlanet = Planet.Earth
    +switch somePlanet {
    +case .Earth:
    +    println("Mostly harmless")
    +default:
    +    println("Not a safe place for humans")
    +}
    +// prints "Mostly harmless”
    +

    实例值(Associated Values)

    +

    上一小节的例子演示了一个枚举的成员是如何被定义(分类)的。你可以为Planet.Earth设置一个常量或则变量,并且在之后查看这个值。然而,有时候会很有用如果能够把其他类型的实例值和成员值一起存储起来。这能让你随着成员值存储额外的自定义信息,并且当每次你在代码中利用该成员时允许这个信息产生变化。

    +

    你可以定义Swift的枚举存储任何类型的实例值,如果需要的话,每个成员的数据类型可以是各不相同的。枚举的这种特性跟其他语言中的可辨识联合(discriminated unions),标签联合(tagged unions),或者变体(variants)相似。

    +

    例如,假设一个库存跟踪系统需要利用两种不同类型的条形码来跟踪商品。有些商品上标有UPC-A格式的一维码,它使用数字0到9.每一个条形码都有一个代表“数字系统”的数字,该数字后接10个代表“标识符”的数字。最后一个数字是“检查”位,用来验证代码是否被正确扫描:

    +

    +

    其他商品上标有QR码格式的二维码,它可以使用任何ISO8859-1字符,并且可以编码一个最多拥有2,953字符的字符串:

    +

    +

    对于库存跟踪系统来说,能够把UPC-A码作为三个整型值的元组,和把QR码作为一个任何长度的字符串存储起来是方便的。

    +

    在Swift中,用来定义两种商品条码的枚举是这样子的:

    +
    enum Barcode {
    +    case UPCA(Int, Int, Int)
    +    case QRCode(String)
    +}
    +

    以上代码可以这么理解:

    +

    “定义一个名为Barcode的枚举类型,它可以是UPCA的一个实例值(IntIntInt),或者QRCode的一个字符串类型(String)实例值。”

    +

    这个定义不提供任何IntString的实际值,它只是定义了,当Barcode常量和变量等于Barcode.UPCABarcode.QRCode时,实例值的类型。

    +

    然后可以使用任何一种条码类型创建新的条码,如:

    +
    var productBarcode = Barcode.UPCA(8, 85909_51226, 3)
    +

    以上例子创建了一个名为productBarcode的新变量,并且赋给它一个Barcode.UPCA的实例元组值(8, 8590951226, 3)。提供的“标识符”值在整数字中有一个下划线,使其便于阅读条形码。

    +

    同一个商品可以被分配给一个不同类型的条形码,如:

    +
    productBarcode = .QRCode("ABCDEFGHIJKLMNOP")
    +

    这时,原始的Barcode.UPCA和其整数值被新的Barcode.QRCode和其字符串值所替代。条形码的常量和变量可以存储一个.UPCA或者一个.QRCode(连同它的实例值),但是在任何指定时间只能存储其中之一。

    +

    像以前那样,不同的条形码类型可以使用一个switch语句来检查,然而这次实例值可以被提取作为switch语句的一部分。你可以在switch的case分支代码中提取每个实例值作为一个常量(用let前缀)或者作为一个变量(用var前缀)来使用:

    +
    switch productBarcode {
    +case .UPCA(let numberSystem, let identifier, let check):
    +    println("UPC-A with value of \(numberSystem), \(identifier), \(check).")
    +case .QRCode(let productCode):
    +    println("QR code with value of \(productCode).")
    +}
    +// prints "QR code with value of ABCDEFGHIJKLMNOP.”
    +

    如果一个枚举成员的所有实例值被提取为常量,或者它们全部被提取为变量,为了简洁,你可以只放置一个var或者let标注在成员名称前:

    +
    switch productBarcode {
    +case let .UPCA(numberSystem, identifier, check):
    +    println("UPC-A with value of \(numberSystem), \(identifier), \(check).")
    +case let .QRCode(productCode):
    +    println("QR code with value of \(productCode).")
    +}
    +// prints "QR code with value of ABCDEFGHIJKLMNOP."
    +

    原始值(Raw Values)

    +

    在实例值小节的条形码例子中演示了一个枚举的成员如何声明它们存储不同类型的实例值。作为实例值的替代,枚举成员可以被默认值(称为原始值)预先填充,其中这些原始值具有相同的类型。

    +

    这里是一个枚举成员存储原始ASCII值的例子:

    +
    enum ASCIIControlCharacter: Character {
    +    case Tab = "\t"
    +    case LineFeed = "\n"
    +    case CarriageReturn = "\r"
    +}
    +

    在这里,称为ASCIIControlCharacter的枚举的原始值类型被定义为字符型Character,并被设置了一些比较常见的ASCII控制字符。字符值的描述请详见字符串和字符Strings and Characters部分。

    +

    注意,原始值和实例值是不相同的。当你开始在你的代码中定义枚举的时候原始值是被预先填充的值,像上述三个ASCII码。对于一个特定的枚举成员,它的原始值始终是相同的。实例值是当你在创建一个基于枚举成员的新常量或变量时才会被设置,并且每次当你这么做得时候,它的值可以是不同的。

    +

    原始值可以是字符串,字符,或者任何整型值或浮点型值。每个原始值在它的枚举声明中必须是唯一的。当整型值被用于原始值,如果其他枚举成员没有值时,它们会自动递增。

    +

    下面的枚举是对之前Planet这个枚举的一个细化,利用原始整型值来表示每个planet在太阳系中的顺序:

    +
    enum Planet: Int {
    +    case Mercury = 1, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune
    +}
    +

    自动递增意味着Planet.Venus的原始值是2,依次类推。

    +

    使用枚举成员的toRaw方法可以访问该枚举成员的原始值:

    +
    let earthsOrder = Planet.Earth.toRaw()
    +// earthsOrder is 3
    +

    使用枚举的fromRaw方法来试图找到具有特定原始值的枚举成员。这个例子通过原始值7识别Uranus

    +
    let possiblePlanet = Planet.fromRaw(7)
    +// possiblePlanet is of type Planet? and equals Planet.Uranus
    +

    然而,并非所有可能的Int值都可以找到一个匹配的行星。正因为如此,fromRaw方法可以返回一个可选的枚举成员。在上面的例子中,possiblePlanetPlanet?类型,或“可选的Planet”。

    +

    如果你试图寻找一个位置为9的行星,通过fromRaw返回的可选Planet值将是nil

    +
    let positionToFind = 9
    +if let somePlanet = Planet.fromRaw(positionToFind) {
    +    switch somePlanet {
    +    case .Earth:
    +        println("Mostly harmless")
    +    default:
    +        println("Not a safe place for humans")
    +    }
    +} else {
    +    println("There isn't a planet at position \(positionToFind)")
    +}
    +// prints "There isn't a planet at position 9
    +

    这个范例使用可选绑定(optional binding),通过原始值9试图访问一个行星。if let somePlanet = Planet.fromRaw(9)语句获得一个可选Planet,如果可选Planet可以被获得,把somePlanet设置成该可选Planet的内容。在这个范例中,无法检索到位置为9的行星,所以else分支被执行。

    + + +
    +
  • diff --git a/chapter2/09_Classes_and_Structures.html b/chapter2/09_Classes_and_Structures.html index 2ec07381..243309d7 100644 --- a/chapter2/09_Classes_and_Structures.html +++ b/chapter2/09_Classes_and_Structures.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    类和结构体

    本页包含内容:

    diff --git a/chapter2/10_Properties.html b/chapter2/10_Properties.html index 91628ed0..5aceea4b 100644 --- a/chapter2/10_Properties.html +++ b/chapter2/10_Properties.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter2/11_Methods.html b/chapter2/11_Methods.html index db0d3770..49a07d7d 100644 --- a/chapter2/11_Methods.html +++ b/chapter2/11_Methods.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,296 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    方法(Methods)

    +

    方法是与某些特定类型相关联的功能/函数。类、结构体、枚举都可以定义实例方法;实例方法为指定类型的实例封装了特定的任务与功能。类、结构体、枚举也可以定义类(型)方法(type itself);类型方法与类型自身相关联。类型方法与Objective-C中的类方法(class methods)相似。

    +

    在Swift中,结构体和枚举能够定义方法;事实上这是Swift与C/Objective-C的主要区别之一。在Objective-C中,类是唯一能定义方法的类型。在Swift中,你能够选择是否定义一个类/结构体/枚举,并且你仍然享有在你创建的类型(类/结构体/枚举)上定义方法的灵活性。

    +

    实例方法(Instance Methods)

    +

    实例方法是某个特定类、结构体或者枚举类型的实例的方法。实例方法支撑实例的功能: 或者提供方法,以访问和修改实例属性;或者提供与实例的目的相关的功能。实例方法的语法与函数完全一致,参考函数说明

    +

    实例方法要写在它所属的类型的前后括号之间。实例方法能够访问他所属类型的所有的其他实例方法和属性。实例方法只能被它所属的类的特定实例调用。实例方法不能被孤立于现存的实例而被调用。

    +

    下面是定义一个很简单的类Counter的例子(Counter能被用来对一个动作发生的次数进行计数):

    +
    class Counter {
    +  var count = 0
    +  func increment() {
    +    count++
    +  }
    +  func incrementBy(amount: Int) {
    +    count += amount
    +  }
    +  func reset() {
    +    count = 0
    +  }
    +}
    +

    Counter类定理了三个实例方法:

    +
      +
    • increment让计数器按一递增;
    • +
    • incrementBy(amount: Int)让计数器按一个指定的整数值递增;
    • +
    • reset将计数器重置为0。
    • +
    +

    Counter这个类还声明了一个可变属性count,用它来保持对当前计数器值的追踪。

    +

    和调用属性一样,用点语法(dot syntax)调用实例方法:

    +
     let counter = Counter()
    + // the initial counter value is 0
    + counter.increment()
    + // the counter's value is now 1
    + counter.incrementBy(5)
    + // the counter's value is now 6
    + counter.reset()
    + // the counter's value is now 0
    +

    方法的局部参数名称和外部参数名称(Local and External Parameter Names for Methods)

    +

    函数参数有一个局部名称(在函数体内部使用)和一个外部名称(在调用函数时使用),参考External Parameter Names。对于方法参数也是这样,因为方法就是函数(只是这个函数与某个类型相关联了)。但是,方法和函数的局部名称和外部名称的默认行为是不一样的。

    +

    Swift中的方法和Objective-C中的方法极其相似。像在Objective-C中一样,Swift中方法的名称通常用一个介词指向方法的第一个参数,比如:with,for,by等等。前面的Counter类的例子中incrementBy方法就是这样的。介词的使用让方法在被调用时能像一个句子一样被解读。Swift这种方法命名约定很容易落实,因为它是用不同的默认处理方法参数的方式,而不是用函数参数(来实现的)。

    +

    具体来说,Swift默认仅给方法的第一个参数名称一个局部参数名称;但是默认同时给第二个和后续的参数名称局部参数名称和外部参数名称。 +这个约定与典型的命名和调用约定相匹配,这与你在写Objective-C的方法时很相似。这个约定还让expressive method调用不需要再检查/限定参数名。

    +

    看看下面这个Counter的替换版本(它定义了一个更复杂的incrementBy方法):

    +
    class Counter {
    +  var count: Int = 0
    +  func incrementBy(amount: Int, numberOfTimes: Int) {
    +    count += amount * numberOfTimes
    +  }
    +}
    +

    incrementBy方法有两个参数: amountnumberOfTimes。默认地,Swift只把amount当作一个局部名称,但是把numberOfTimes即看作本地名称又看作外部名称。下面调用这个方法:

    +
    let counter = Counter()
    +counter.incrementBy(5, numberOfTimes: 3)
    +// counter value is now 15
    +

    你不必为第一个参数值再定义一个外部变量名:因为从函数名incrementBy已经能很清楚地看出它的目的/作用。但是第二个参数,就要被一个外部参数名称所限定,以便在方法被调用时让他目的/作用明确。

    +

    这种默认的行为能够有效的检查方法,比如你在参数numberOfTimes前写了个井号( # )时:

    +
    func incrementBy(amount: Int, #numberOfTimes: Int) {
    + count += amount * numberOfTimes
    +}
    +

    这种默认行为使上面代码意味着:在Swift中定义方法使用了与Objective-C同样的语法风格,并且方法将以自然表达式的方式被调用。

    +

    修改外部参数名称(Modifying External Parameter Name Behavior for Methods)

    +

    有时为方法的第一个参数提供一个外部参数名称是非常有用的,尽管这不是默认的行为。你可以自己添加一个明确的外部名称;你也可以用一个hash符号作为第一个参数的前缀,然后用这个局部名字作为外部名字。

    +

    相反,如果你不想为方法的第二个及后续的参数提供一个外部名称,你可以通过使用下划线(_)作为该参数的显式外部名称来覆盖默认行为。

    +

    self属性(The self Property)

    +

    类型的每一个实例都有一个隐含属性叫做self,它完全等同于这个实力变量本身。你可以在一个实例的实例方法中使用这个隐含的self属性来引用当前实例。

    +

    上面例子中的increment方法可以被写成这样:

    +
    func increment() {
    +  self.count++
    +}
    +

    实际上,你不必在你的代码里面经常写self。不论何时,在一个方法中使用一个已知的属性或者方法名称,如果你没有明确的写self,Swift假定你是指当前实例的属性或者方法。这种假定在上面的Counter中已经示范了:Counter中的三个实例方法中都使用的是count(而不是self.count)

    +

    这条规则的主要例外发生在当实例方法的某个参数名称与实例的某个属性名称相同时。 +在这种情况下,参数名称享有优先权,并且在引用属性时必须使用一种更恰当(被限定更严格)的方式。 +你可以使用隐藏的self属性来区分参数名称和属性名称。

    +

    下面的例子演示了self消除方法参数x和实例属性x之间的歧义:

    +
    struct Point {
    +  var x = 0.0, y = 0.0
    +  func isToTheRightOfX(x: Double) -> Bool {
    +    return self.x > x
    +  }
    +}
    +let somePoint = Point(x: 4.0, y: 5.0)
    +if somePoint.isToTheRightOfX(1.0) {
    +  println("This point is to the right of the line where x == 1.0")
    +}
    +// prints "This point is to the right of the line where x == 1.0"
    +

    如果不使用self前缀,Swift就认为两次使用的x都指的是名称为x的函数参数。

    +

    在实例方法中修改值类型(Modifying Value Types from Within Instance Methods)

    +

    结构体和枚举是值类型Structures and Enumerations Are Value Types。一般情况下,值类型的属性不能在他的实例方法中被修改。

    +

    但是,如果你确实需要在某个具体的方法中修改结构体或者枚举的属性,你可以选择变异(mutating)这个方法。方法可以从内部变异它的属性;并且它做的任何改变在方法结束时都会回写到原始结构。方法会给它隐含的self属性赋值一个全新的实例,这个新实例在方法结束后将替换原来的实例。

    +

    变异方法, 将关键字mutating 放到方法的func关键字之前就可以了:

    +
    struct Point {
    +  var x = 0.0, y = 0.0
    +  mutating func moveByX(deltaX: Double, y deltaY: Double) {
    +    x += deltaX
    +    y += deltaY
    +  }
    +}
    +var somePoint = Point(x: 1.0, y: 1.0)
    +somePoint.moveByX(2.0, y: 3.0)
    +println("The point is now at (\(somePoint.x), \(somePoint.y))")
    +// prints "The point is now at (3.0, 4.0)"
    +

    上面的Point结构体定义了一个变异方法(mutating method)moveByXmoveByX用来移动一个point。moveByX方法在被调用时修改了这个point,而不是返回一个新的point。方法定义是加上那个了mutating关键字,所以方法可以修改值类型的属性了。

    +

    注意:不能在结构体类型的常量上调用变异方法,因为常量的属性不能被改变,就算你想改变的是常量的可变属性也不行,参考Stored Properties of Constant Structure Instances

    +
    let fixedPoint = Point(x: 3.0, y: 3.0)
    +fixedPoint.moveByX(2.0, y: 3.0)
    +// this will report an error
    +

    在变异方法中给self赋值(Assigning to self Within a Mutating Method)

    +

    变异方法能够赋给隐含属性self一个全新的实例。上面Point的例子可以用下面的方式改写:

    +
    struct Point {
    +  var x = 0.0, y = 0.0
    +  mutating func moveByX(deltaX: Double, y deltaY: Double) {
    +    self = Point(x: x + deltaX, y: y + deltaY)
    +  }
    +}
    +

    新版的变异方法moveByX创建了一个新的分支结构(他的x和y的值都被设定为目标值了)。调用这个版本的方法和调用上个版本的最终结果是一样的。

    +

    枚举的变异方法可以让self从相同的枚举设置为不同的成员。

    +
    enum TriStateSwitch {
    +  case Off, Low, High
    +  mutating func next() {
    +    switch self {
    +    case Off:
    +      self = Low
    +    case Low:
    +      self = High
    +    case High:
    +      self = Off
    +    }
    +  }
    +}
    +var ovenLight = TriStateSwitch.Low
    +ovenLight.next()
    +// ovenLight is now equal to .High
    +ovenLight.next()
    +// ovenLight is now equal to .Off
    +

    上面的例子中定义了一个三态开关的枚举。每次调用next方法时,开关在不同的电源状态(Off,Low,High)之前循环切换。

    +

    类型方法(Type Methods)

    +

    实例方法是被类型的某个实例调用的方法。你也可以定义类列本身调用的方法,这种方法就叫做类型方法。声明类的类型方法,在方法的func关键字之前加上关键字class;声明结构体和枚举的类型方法,在方法的func关键字之前加上关键字static

    +
    +

    注意:

    +

    在Objective-C里面,你只能为Objective-C的类定义类型方法(type-level methods)。在Swift中,你可以为所有的类、结构体和枚举定义类型方法:Each type method is explicitly scoped to the type it supports.

    +
    +

    类型方法和实例方法一样用点语法调用。但是,你是在类型上调用这个方法,而不是在实例上调用。下面是如何在SomeClass类上调用类型方法的例子:

    +
    class SomeClass {
    +  class func someTypeMethod() {
    +    // type method implementation goes here
    +  }
    +}
    +SomeClass.someTypeMethod()
    +

    在类型方法的方法体(body)中,self指向这个类型本身,而不是类型的某个实例。对于结构体和枚举来说,这意味着你可以用self来消除静态属性和静态方法参数之间的二意性(类似于我们在前面处理实例属性和实例方法参数时做的那样)。

    +

    一般地,在类型方法里面所使用的任何未限定的方法和属性名称,将会指向其他的类型级别的方法和属性。一个类型方法可以用另一个类型方法的名称调用踏,而无需在方法名称前面加上类型名称的前缀。同样,结构体和枚举的类型方法也能够直接通过静态属性的名称访问静态属性,而不需要类型名称前缀。

    +

    下面的例子定义了一个名为LevelTracker结构体。它监测玩家的发展情况(游戏的不同层次或阶段)。这是一个单人游戏,但也可以用作多玩家游戏中单个设备上的信息存储。

    +

    游戏初始时,所有的游戏等级(除了等级1)都被锁定。每次有玩家完成一个等级,这个等级就对这个设备上的所有玩家解锁。LevelTracker结构体用静态属性和方法监测游戏的哪个等级已经被解锁。他还监测每个玩家的当前等级。

    +
    struct LevelTracker {
    +  static var highestUnlockedLevel = 1
    +  static func unlockLevel(level: Int) {
    +    if level > highestUnlockedLevel { highestUnlockedLevel = level }
    +  }
    +  static func levelIsUnlocked(level: Int) -> Bool {
    +    return level <= highestUnlockedLevel
    +  }
    +  var currentLevel = 1
    +  mutating func advanceToLevel(level: Int) -> Bool {
    +    if LevelTracker.levelIsUnlocked(level) {
    +      currentLevel = level
    +      return true
    +    } else {
    +      return false
    +    }
    +  }
    +}
    +

    LevelTracker监测玩家的已解锁的最高等级。这个值被存储在静态属性highestUnlockedLevel中。

    +

    LevelTracker还定义了两个类型方法与highestUnlockedLevel配合工作。第一个类型方法是unlockLevel:一旦新等级被解锁,它会更新highestUnlockedLevel的值。第二个类型方法是levelIsUnlocked:如果某个给定的等级已经被解锁,他返回true。(注意:我们没用使用LevelTracker.highestUnlockedLevel,这个类型方法还是能够访问静态属性highestUnlockedLevel)

    +

    除了静态属性和类型方法,LevelTracker还监测每个玩家的进度。它用实例属性currentLevel来监测玩家当前正在进行的等级。

    +

    为了便于管理currentLevel属性,LevelTracker定义了实例方法advanceToLevel。这个方法会在更新currentLevel之前检查所请求的新等级是否已经解锁。advanceToLevel方法返回布尔值以指示是否确实能够设置currentLevel了。

    +

    下面,Player类使用LevelTracker来监测和更新每个玩家的发展进度:

    +
    class Player {
    +  var tracker = LevelTracker()
    +  let playerName: String
    +  func completedLevel(level: Int) {
    +    LevelTracker.unlockLevel(level + 1)
    +    tracker.advanceToLevel(level + 1)
    +  }
    +  init(name: String) {
    +    playerName = name
    +  }
    +}
    +

    Player类创建一个新的LevelTracker实例来检测这个用户的发展进度。他提供了completedLevel方法:一旦玩家完成某个指定等级就调用它。这个方法为所有玩家解锁下一等级,并且将当前玩家的进度更新为下一等级。(我们忽略了advanceToLevel返回的布尔值,因为之前调用LevelTracker.unlockLevel时就知道了这个等级已经被解锁了)

    +

    你还可以为一个新的玩家创建一个Player的实例,然后看这个玩家完成等级一时发生了什么:

    +
    var player = Player(name: "Argyrios")
    +player.completedLevel(1)
    +println("highest unlocked level is now \(LevelTracker.highestUnlockedLevel)")
    +// prints "highest unlocked level is now 2"
    +

    如果你创建了第二个玩家,并尝试让他开始一个没有被任何玩家解锁的等级,你试图去设置玩家当前等级时会失败的:

    +
    player = Player(name: "Beto")
    +if player.tracker.advanceToLevel(6) {
    +println("player is now on level 6")
    +} else {
    +println("level 6 has not yet been unlocked")
    +}
    +// prints "level 6 has not yet been unlocked"
    +
    + +
    +
  • diff --git a/chapter2/12_Subscripts.html b/chapter2/12_Subscripts.html index b52bb4a7..4290bd5e 100644 --- a/chapter2/12_Subscripts.html +++ b/chapter2/12_Subscripts.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,200 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    下标 (Subscripts)

    +

    下标可以定义在类(Class)、结构体(structures)和枚举(enumerations)这些目标中,可以认为是访问对象、集合或序列的快捷方式。举例来说,用下标访问一个数组(Array)实例中的元素可以这样写 someArray[index] ,访问字典(Dictionary)实例中的元素可以这样写 someDictionary[key],而不需要再调用实例的某个方法来获得元素的值。

    +

    对于同一个目标可以定义多个下标,通过索引值类型的不同来进行重载,而且索引值的个数可以是多个。

    +
    +

    译者:这里下标重载在本小节中原文并没有任何演示

    +
    +

    下标语法

    +

    下标允许你通过在实例后面的方括号中传入一个或者多个的索引值来对实例进行访问和赋值。语法类似于实例方法和实例属性的混合。与定义实例方法类似,定义下标使用subscript关键字,显式声明入参(一个或多个)和返回类型。与实例方法不同的是下标可以设定为读写或只读。这种方式又有点像实例属性的getter和setter:

    +
    subscript(index: Int) -> Int {
    +    get {
    +        // 返回与入参匹配的Int类型的值
    +    }
    +
    +    set(newValue) {
    +        // 执行赋值操作
    +    }
    +}
    +

    newValue的类型必须和下标定义的返回类型相同。与实例属性相同的是set的入参声明newValue就算不写,在set代码块中依然可以使用newValue这个变量来访问新赋的值。

    +

    与只读实例属性一样,可以直接将原本应该写在get代码块中的代码写在subscript中即可:

    +
    subscript(index: Int) -> Int {
    +    // 返回与入参匹配的Int类型的值
    +}
    +

    下面代码演示了一个在TimesTable结构体中使用只读下标的用法,该结构体用来展示传入整数的N倍。

    +
    struct TimesTable {
    +    let multiplier: Int
    +    subscript(index: Int) -> Int {
    +        return multiplier * index
    +    }
    +}
    +let threeTimesTable = TimesTable(multiplier: 3)
    +println("3的6倍是\(threeTimesTable[6])")
    +// 输出 "3的6倍是18"
    +

    在上例中,通过TimesTable结构体创建了一个用来表示索引值三倍的实例。数值3作为结构体构造函数入参表示这个值将成为实例成员multiplier的值。

    +

    你可以通过下标来来得到结果,比如threeTimesTable[6]。这句话访问了threeTimesTable的第六个元素,返回18或者6的3倍。

    +
    +

    提示

    +

    TimesTable例子是基于一个固定的数学公式。它并不适合开放写权限来对threeTimesTable[someIndex]进行赋值操作,这也是为什么下标只定义为只读的原因。

    +
    +

    下标用法

    +

    下标根据使用场景不同也具有不同的含义。通常下标是用来访问集合(collection),列表(list)或序列(sequence)中元素的快捷方式。你可以为特定的类或结构体中自由的实现下标来提供合适的功能。

    +

    例如,Swift的字典(Dictionary)实现了通过下标来对其实例中存放的值进行存取操作。在字典中设值可以通过给字典提供一个符合字典索引类型的索引值的表达式赋一个与字典存放值类型匹配的值来做到:

    +
    var numberOfLegs = ["spider": 8, "ant": 6, "cat": 4]
    +numberOfLegs["bird"] = 2
    +

    上例定义一个名为numberOfLegs的变量并用一个字典表达式初始化出了包含三对键值的字典实例。numberOfLegs的字典存放值类型推断为Dictionary<String, Int>。字典实例创建完成之后通过下标的方式将整型值2赋值到字典实例的索引为bird的位置中。

    +

    更多关于字典(Dictionary)下标的信息请参考字典的访问与修改

    +
    +

    提示

    +

    Swift中Dictionary的下标实现中,在get部分返回值是Int?,也就是说不是每个字典的索引都能得到一个整型值,对于没有设过值的索引的访问返回的结果就是nil;同样想要从字典实例中删除某个索引下的值也只需要给这个索引赋值为nil即可。

    +
    +

    下标选项

    +

    下标允许任意数量的入参索引,并且每个入参类型也没有限制。下标的返回值也可以是任何类型。下标可以使用变量参数和可变参数,但使用in-out参数或给参数设置默认值都是不允许的。

    +

    一个类或结构体可以根据自身需要提供多个下标实现,在定义下标时通过入参个类型进行区分,使用下标时会自动匹配合适的下标实现运行,这就是下标的重载。

    +

    一个下标入参是最常见的情况,但只要有合适的场景也可以定义多个下标入参。如下例定义了一个Matrix结构体,将呈现一个Double类型的二维数组。Matrix结构体的下标需要两个整型参数:

    +
    struct Matrix {
    +    let rows: Int, columns: Int
    +    var grid: Double[]
    +    init(rows: Int, columns: Int) {
    +        self.rows = rows
    +        self.columns = columns
    +        grid = Array(count: rows * columns, repeatedValue: 0.0)
    +    }
    +    func indexIsValidForRow(row: Int, column: Int) -> Bool {
    +        return row >= 0 && row < rows && column >= 0 && column < columns
    +    }
    +    subscript(row: Int, column: Int) -> Double {
    +        get {
    +            assert(indexIsValidForRow(row, column: column), "Index out of range")
    +            return grid[(row * columns) + column]
    +        }
    +        set {
    +            assert(indexIsValidForRow(row, column: column), "Index out of range")
    +            grid[(row * columns) + columns] = newValue
    +        }
    +    }
    +}
    +

    Matrix提供了一个两个入参的构造方法,入参分别是rowscolumns,创建了一个足够容纳rows * columns个数的Double类型数组。为了存储,将数组的大小和数组每个元素初始值0.0,都传入数组的构造方法中来创建一个正确大小的新数组。关于数组的构造方法和析构方法请参考Creating and Initializing an Array

    +

    你可以通过传入合适的row和column的数量来构造一个新的Matrix实例:

    +
    var matrix = Matrix(rows: 2, columns: 2)
    +

    上例中创建了一个新的两行两列的Matrix实例。在阅读顺序从左上到右下的Matrix实例中的数组实例grid是矩阵二维数组的扁平化存储:

    +
    // 示意图
    +grid = [0.0, 0.0, 0.0, 0.0]
    +
    +        col0     col1
    +row0   [0.0,     0.0,
    +row1    0.0,     0.0]
    +

    将值赋给带有row和column下标的matrix实例表达式可以完成赋值操作,下标入参使用逗号分割

    +
    matrix[0, 1] = 1.5
    +matrix[1, 0] = 3.2
    +

    上面两句话分别让matrix的右上值为1.5,坐下值为3.2:

    +
    [0.0, 1.5,
    + 3.2, 0.0]
    +

    Matrix下标的getter和setter中同时调用了下标入参的row和column是否有效的判断。为了方便进行断言,Matrix包含了一个名为indexIsValid的成员方法,用来确认入参的row或column值是否会造成数组越界:

    +
    func indexIsValidForRow(row: Int, column: Int) -> Bool {
    +    return row >= 0 && row < rows && column >= 0 && column < columns
    +}
    +

    断言在下标越界时触发:

    +
    let someValue = matrix[2, 2]
    +// 断言将会触发,因为 [2, 2] 已经超过了matrix的最大长度
    +
    +

    译者:这里有个词Computed Properties 这里统一翻译为实例属性了 微软术语引擎里没有这个词

    +
    + + +
    +
  • diff --git a/chapter2/13_Inheritance.html b/chapter2/13_Inheritance.html index a2f5308e..2b6fd17c 100644 --- a/chapter2/13_Inheritance.html +++ b/chapter2/13_Inheritance.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,256 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    继承

    +

    一个类可以继承另一个类的方法,属性和其它特性。当一个类继承其它类,继承类叫子类,被继承类叫超类(或父类)。在Swift中,继承是区分「类」与其它类型的一个基本特征。

    +

    在Swift中,类可以调用和访问超类的方法,属性和下标,并且可以重写(override)这些方法,属性和下标来优化或修改它们的行为。Swift会检查你的重写定义在超类中是否有匹配的定义,以此确保你的重写行为是正确的。

    +

    可以为类中继承来的属性添加属性观察器(property observer),这样一来,当属性值改变时,类就会被通知到。可以为任何属性添加属性观察器,无论它原本被定义为存储型属性(stored property)还是计算型属性(computed property)。

    +

    定义一个基类

    +

    不继承于其它类的类,称之为基类。

    +
    +

    注意:Swift中的类并不是从一个通用的基类继承而来。如果你不为你定义的类指定一个超类的话,这个类就自动成为基类。

    +
    +

    下面的例子定义了一个叫Vehicle的基类。这个基类声明了两个对所有车辆都通用的属性(numberOfWheelsmaxPassengers)。这些属性在description方法中使用,这个方法返回一个String类型的,对车辆特征的描述:

    +
    class Vehicle {
    +    var numberOfWheels: Int
    +    var maxPassengers: Int
    +    func description() -> String {
    +        return "\(numberOfWheels) wheels; up to \(maxPassengers) passengers"
    +    }
    +    init() {
    +        numberOfWheels = 0
    +        maxPassengers = 1
    +    }
    +}
    +

    Vehicle类定义了初始化器(initializer)来设置属性的值。初始化器会在构造函数一节中详细介绍,这里我们做一下简单介绍,以便于讲解子类中继承来的属性可以如何被修改。

    +

    初始化器用于创建某个类型的一个新实例。尽管初始化器并不是方法,但在语法上,两者很相似。初始化器的工作是准备新实例以供使用,并确保实例中的所有属性都拥有有效的初始化值。

    +

    初始化器的最简单形式就像一个没有参数的实例方法,使用init关键字:

    +
    init() {
    +    // perform some initialization here
    +}
    +

    如果要创建一个Vehicle类的新实例,使用初始化器语法调用上面的初始化器,即类名后面跟一个空的小括号:

    +
    let someVehicle = Vehicle()
    +

    这个Vehicle类的初始化器为任意的一辆车设置一些初始化属性值(numberOfWheels = 0maxPassengers = 1)。

    +

    Vehicle类定义了车辆的共同特性,但这个类本身并没太大用处。为了使它更为实用,你需要进一步细化它来描述更具体的车辆。

    +

    Subclassing(子类化?待定)

    +

    subclassing指的是在一个已有类的基础上创建一个新的类。子类继承超类的特性,并且你可以优化或改变它。你还可以为子类添加新的特性。

    +

    为了指明某个类的超类,将超类名写在子类名的后面,用冒号分隔:

    +
    class SomeClass: SomeSuperclass {
    +    // class definition goes here
    +}
    +

    下一个例子,定义一个更具体的车辆类叫Bicycle。这个新类是在Vehicle类的基础上创建起来。因此你需要将Vehicle类放在Bicycle类后面,用冒号分隔。

    +

    我们可以将这读作:

    +

    “定义一个新的类叫Bicycle,它继承了Vehicle的特性”;

    +
    class Bicycle: Vehicle {
    +    init() {
    +        super.init()
    +        numberOfWheels = 2
    +    }
    +}
    +

    BicycleVehicle的子类,VehicleBicycle的超类。新的Bicycle类自动获得Vehicle类的特性,比如maxPassengersnumberOfWheels属性。你可以在子类中定制这些特性,或添加新的特性来更好地描述Bicycle类。

    +

    Bicycle类定义了一个初始化器来设置它定制的特性(自行车只有2个轮子)。Bicycle的初始化器调用了它父类Vehicle的初始化器super.init(),以此确保在Bicycle类试图修改那些继承来的属性前,Vehicle类已经初始化过它们了。

    +
    +

    注意:不像Objective-C,在Swift中,初始化器默认是不继承的,见初始化器的继承与重写

    +
    +

    Vehicle类中maxPassengers的默认值对自行车来说已经是正确的,因此在Bicycle的初始化器中并没有改变它。而numberOfWheels原来的值对自行车来说是不正确的,因此在初始化器中将它更改为2。

    +

    Bicycle不仅可以继承Vehicle的属性,还可以继承它的方法。如果你创建了一个Bicycle类的实例,你就可以调用它继承来的description方法,并且可以看到,它输出的属性值已经发生了变化:

    +
    let bicycle = Bicycle()
    +println("Bicycle: \(bicycle.description())")
    +// Bicycle: 2 wheels; up to 1 passengers
    +

    子类还可以继续被其它类继承:

    +
    class Tandem: Bicycle {
    +    init() {
    +        super.init()
    +        maxPassengers = 2
    +    }
    +}
    +

    上面的例子创建了Bicycle的一个子类:双人自行车(tandem)。TandemBicycle继承了两个属性,而这两个属性是BicycleVehicle继承而来的。Tandem并不修改轮子的数量,因为它仍是一辆自行车,有2个轮子。但它需要修改maxPassengers的值,因为双人自行车可以坐两个人。

    +
    +

    注意:子类只允许修改从超类继承来的变量属性,而不能修改继承来的常量属性。

    +
    +

    创建一个Tandem类的实例,打印它的描述,即可看到它的属性已被更新:

    +
    let tandem = Tandem()
    +println("Tandem: \(tandem.description())")
    +// Tandem: 2 wheels; up to 2 passengers
    +

    注意,Tandem类也继承了description方法。一个类的实例方法会被这个类的所有子类继承。

    +

    重写(Overriding)

    +

    子类可以为继承来的实例方法(instance method),类方法(class method),实例属性(instance property),或下标(subscript)提供自己定制的实现(implementation)。我们把这种行为叫重写(overriding)。

    +

    如果要重写某个特性,你需要在重写定义的前面加上override关键字。这么做,你就表明了你是想提供一个重写版本,而非错误地提供了一个相同的定义。意外的重写行为可能会导致不可预知的错误,任何缺少override关键字的重写都会在编译时被诊断为错误。

    +

    override关键字会提醒Swift编译器去检查该类的超类(或其中一个父类)是否有匹配重写版本的声明。这个检查可以确保你的重写定义是正确的。

    +

    访问超类的方法,属性及下标

    +

    当你在子类中重写超类的方法,属性或下标时,有时在你的重写版本中使用已经存在的超类实现会大有裨益。比如,你可以优化已有实现的行为,或在一个继承来的变量中存储一个修改过的值。

    +

    在合适的地方,你可以通过使用super前缀来访问超类版本的方法,属性或下标:

    +
      +
    • 在方法someMethod的重写实现中,可以通过super.someMethod()来调用超类版本的someMethod方法。
    • +
    • 在属性someProperty的getter或setter的重写实现中,可以通过super.someProperty来访问超类版本的someProperty属性。
    • +
    • 在下标的重写实现中,可以通过super[someIndex]来访问超类版本中的相同下标。
    • +
    +

    重写方法

    +

    在子类中,你可以重写继承来的实例方法或类方法,提供一个定制或替代的方法实现。

    +

    下面的例子定义了Vehicle的一个新的子类,叫Car,它重写了从Vehicle类继承来的'description'方法:

    +
    class Car: Vehicle {
    +    var speed: Double = 0.0
    +    init() {
    +        super.init()
    +        maxPassengers = 5
    +        numberOfWheels = 4
    +    }
    +    override func description() -> String {
    +        return super.description() + "; "
    +            + "traveling at \(speed) mph"
    +    }
    +}
    +

    Car声明了一个新的存储型属性speed,它是Double类型的,默认值是0.0,表示“时速是0英里”。'Car'有自己的初始化器,它将乘客的最大数量设为5,轮子数量设为4。

    +

    Car重写了继承来的description方法,它的声明与Vehicle中的description方法一致,声明前面加上了override关键字。

    +

    Car中的description方法并非完全自定义,而是通过super.description使用了超类Vehicle中的description方法,然后再追加一些额外的信息,比如汽车的当前速度。

    +

    如果你创建一个Car的新实例,并打印description方法的输出,你就会发现描述信息已经发生了改变:

    +
    let car = Car()
    +println("Car: \(car.description())")
    +// Car: 4 wheels; up to 5 passengers; traveling at 0.0 mph
    +

    重写属性

    +

    你可以重写继承来的实例属性或类属性,提供自己定制的getter和setter,或添加属性观察器使重写的属性观察属性值什么时候发生改变。

    +

    重写属性的Getters和Setters

    +

    你可以提供定制的getter(或setter)来重写任意继承来的属性,无论继承来的属性是存储型的还是计算型的属性。子类并不知道继承来的属性是存储型的还是计算型的,它只知道继承来的属性会有一个名字和类型。你在重写一个属性时,必需将它的名字和类型都写出来。这样才能使编译器去检查你重写的属性是与超类中同名同类型的属性相匹配的。

    +

    你可以将一个继承来的只读属性重写为一个读写属性,只需要你在重写版本的属性里提供getter和setter即可。但是,你不可以将一个继承来的读写属性重写为一个只读属性。

    +
    +

    注意:如果你在重写属性中提供了setter,那么你也一定要提供getter。如果你不想在重写版本中的getter里修改继承来的属性值,你可以直接返回super.someProperty来返回继承来的值。正如下面的SpeedLimitedCar的例子所示。

    +
    +

    以下的例子定义了一个新类,叫SpeedLimitedCar,它是Car的子类。类SpeedLimitedCar表示安装了限速装置的车,它的最高速度只能达到40mph。你可以通过重写继承来的speed属性来实现这个速度限制:

    +
    class SpeedLimitedCar: Car {
    +    override var speed: Double  {
    +    get {
    +        return super.speed
    +    }
    +    set {
    +        super.speed = min(newValue, 40.0)
    +    }
    +    }
    +}
    +

    当你设置一个SpeedLimitedCar实例的speed属性时,属性setter的实现会去检查新值与限制值40mph的大小,它会将超类的speed设置为newValue40.0中较小的那个。这两个值哪个较小由min函数决定,它是Swift标准库中的一个全局函数。min函数接收两个或更多的数,返回其中最小的那个。

    +

    如果你尝试将SpeedLimitedCar实例的speed属性设置为一个大于40mph的数,然后打印description函数的输出,你会发现速度被限制在40mph:

    +
    let limitedCar = SpeedLimitedCar()
    +limitedCar.speed = 60.0
    +println("SpeedLimitedCar: \(limitedCar.description())")
    +// SpeedLimitedCar: 4 wheels; up to 5 passengers; traveling at 40.0 mph
    +

    重写属性观察器(Property Observer)

    +

    你可以在属性重写中为一个继承来的属性添加属性观察器。这样一来,当继承来的属性值发生改变时,你就会被通知到,无论那个属性原本是如何实现的。关于属性观察器的更多内容,请看属性观察器

    +
    +

    注意:你不可以为继承来的常量存储型属性或继承来的只读计算型属性添加属性观察器。这些属性的值是不可以被设置的,所以,为它们提供willSet或didSet实现是不恰当。此外还要注意,你不可以同时提供重写的setter和重写的属性观察器。如果你想观察属性值的变化,并且你已经为那个属性提供了定制的setter,那么你在setter中就可以观察到任何值变化了。

    +
    +

    下面的例子定义了一个新类叫AutomaticCar,它是Car的子类。AutomaticCar表示自动挡汽车,它可以根据当前的速度自动选择合适的挡位。AutomaticCar也提供了定制的description方法,可以输出当前挡位。

    +
    class AutomaticCar: Car {
    +    var gear = 1
    +    override var speed: Double {
    +    didSet {
    +        gear = Int(speed / 10.0) + 1
    +    }
    +    }
    +    override func description() -> String {
    +        return super.description() + " in gear \(gear)"
    +    }
    +}
    +

    当你设置AutomaticCarspeed属性,属性的didSet观察器就会自动地设置gear属性,为新的速度选择一个合适的挡位。具体来说就是,属性观察器将新的速度值除以10,然后向下取得最接近的整数值,最后加1来得到档位gear的值。例如,速度为10.0时,挡位为1;速度为35.0时,挡位为4:

    +
    let automatic = AutomaticCar()
    +automatic.speed = 35.0
    +println("AutomaticCar: \(automatic.description())")
    +// AutomaticCar: 4 wheels; up to 5 passengers; traveling at 35.0 mph in gear 4
    +

    防止重写

    +

    你可以通过把方法,属性或下标标记为final来防止它们被重写,只需要在声明关键字前加上@final特性即可。(例如:@final var, @final func, @final class func, 以及 @final subscript

    +

    如果你重写了final方法,属性或下标,在编译时会报错。在扩展中,你添加到类里的方法,属性或下标也可以在扩展的定义里标记为final。

    +

    你可以通过在关键字class前添加@final特性(@final class)来将整个类标记为final的,这样的类是不可被继承的,否则会报编译错误。

    + + +
    +
  • @@ -584,7 +758,7 @@ - +
    diff --git a/chapter2/14_Initialization.html b/chapter2/14_Initialization.html index 1cc0b978..0aa84795 100644 --- a/chapter2/14_Initialization.html +++ b/chapter2/14_Initialization.html @@ -5,7 +5,7 @@ - 构造函数 | Swift 编程语言 + 构造过程 | Swift 编程语言 @@ -21,7 +21,7 @@ - + @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    @@ -584,7 +595,7 @@ - +
  • diff --git a/chapter2/15_Deinitialization.html b/chapter2/15_Deinitialization.html index 4a4b1df0..909607b0 100644 --- a/chapter2/15_Deinitialization.html +++ b/chapter2/15_Deinitialization.html @@ -5,7 +5,7 @@ - 析构函数 | Swift 编程语言 + 析构过程 | Swift 编程语言 @@ -21,7 +21,7 @@ - + @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,97 +500,165 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    析构过程

    +

    在一个类的实例被释放之前,析构函数被立即调用。用关键字deinit来标示析构函数,类似于初始化函数用init来标示。析构函数只适用于类类型。

    +

    析构过程原理

    +

    Swift会自动释放不再需要的实例以释放资源。如自动引用计数那一章描述,Swift通过自动引用计数(ARC)处理实例的内存管理。通常当你的实例被释放时不需要手动的去清理。但是,当使用自己的资源时,你可能需要进行一些额外的清理。例如,如果创建了一个自定义的类来打开一个文件,并写入一些数据,你可能需要在类实例被释放之前关闭该文件。

    +

    在类的定义中,每个类最多只能有一个析构函数。析构函数不带任何参数,在写法上不带括号:

    +
    1  deinit {
    +2       // 执行析构过程
    +3  }
    +

    析构函数是在实例释放发生前一步被自动调用。不允许主动调用自己的析构函数。子类继承了父类的析构函数,并且在子类析构函数实现的最后,父类的析构函数被自动调用。即使子类没有提供自己的析构函数,父类的析构函数也总是被调用。

    +

    因为直到实例的析构函数被调用时,实例才会被释放,所以析构函数可以访问所有请求实例的属性,并且根据那些属性可以修改它的行为(比如查找一个需要被关闭的文件的名称)。

    +

    析构函数操作

    +

    这里是一个析构函数操作的例子。这个例子是一个简单的游戏,定义了两种新类型,Bank和Player。Bank结构体管理一个虚拟货币的流通,在这个流通中Bank永远不可能拥有超过10,000的硬币。在这个游戏中有且只能有一个Bank存在,因此Bank由带有静态属性和静态方法的结构体实现,从而存储和管理其当前的状态。

    +
    1  struct Bank {
    +2      static var coinsInBank = 10_000
    +3      static func vendCoins(var numberOfCoinsToVend: Int) -> Int {
    +4         numberOfCoinsToVend = min(numberOfCoinsToVend, coinsInBank)
    +5         coinsInBank -= numberOfCoinsToVend
    +6         return numberOfCoinsToVend
    +7      }
    +8       static func receiveCoins(coins: Int) {
    +9    coinsInBank += coins
    +10     }
    +11  }
    +

    Bank根据它的coinsInBank属性来跟踪当前它拥有的硬币数量。银行还提供两个方法—vendCoins和receiveCoins,用来处理硬币的分发和收集。

    +

    vendCoins方法在bank分发硬币之前检查是否有足够的硬币。如果没有足够多的硬币,bank返回一个比请求时小的数字(如果没有硬币留在bank中就返回0)。vendCoins方法声明numberOfCoinsToVend为一个变量参数,这样就可以在方法体的内部修改数字,而不需要定义一个新的变量。vendCoins方法返回一个整型值,表明了提供的硬币的实际数目。

    +

    receiveCoins方法只是将bank的硬币存储和接收到的硬币数目相加,再保存回bank。

    +

    Player类描述了游戏中的一个玩家。每一个player在任何时刻都有一定数量的硬币存储在他们的钱包中。这通过player的coinsInPurse属性来体现:

    +
        1  class Player {
    +    2     var coinsInPurse: Int
    +    3     init(coins: Int) {
    +    4         coinsInPurse = Bank.vendCoins(coins)
    +    5     }
    +    6     func winCoins(coins: Int) {
    +    7         coinsInPurse += Bank.vendCoins(coins)
    +    8     }
    +    9     deinit {
    +    10        Bank.receiveCoins(coinsInPurse)
    +    11    }
    +    12  }
    +

    每个Player实例都由一个指定数目硬币组成的启动额度初始化,这些硬币在bank初始化的过程中得到。如果没有足够的硬币可用,Player实例可能收到比指定数目少的硬币。

    +

    Player类定义了一个winCoins方法,该方法从bank获取一定数量的硬币,并把它们添加到player的钱包。Player类还实现了一个析构函数,这个析构函数在Player实例释放前一步被调用。这里析构函数只是将player的所有硬币都返回给bank:

    +
    1  var playerOne: Player? = Player(coins: 100)
    +2  println("A new player has joined the game with \    (playerOne!.coinsInPurse) coins")
    +3  // 输出 "A new player has joined the game with 100     coins"
    +4  println("There are now \(Bank.coinsInBank) coins left     in the bank")
    +5  // 输出 "There are now 9900 coins left in the bank"
    +

    一个新的Player实例随着一个100个硬币(如果有)的请求而被创建。这个Player实例存储在一个名为playerOne的可选Player变量中。这里使用一个可选变量,是因为players可以随时离开游戏。设置为可选使得你可以跟踪当前是否有player在游戏中。

    +

    因为playerOne是可选的,所以由一个感叹号(!)来修饰,每当其winCoins方法被调用时,coinsInPurse属性被访问并打印出它的默认硬币数目。

    +
    1  playerOne!.winCoins(2_000)
    +2  println("PlayerOne won 2000 coins & now has \    (playerOne!.coinsInPurse) coins")
    +3  // 输出 "PlayerOne won 2000 coins & now has 2100 coins"
    +4  println("The bank now only has \(Bank.coinsInBank) coins left")
    +5  // 输出 "The bank now only has 7900 coins left"
    +

    这里,player已经赢得了2,000硬币。player的钱包现在有2,100硬币,bank只剩余7,900硬币。

    +
    1  playerOne = nil
    +2  println("PlayerOne has left the game")
    +3  // 输出 "PlayerOne has left the game"
    +4  println("The bank now has \(Bank.coinsInBank) coins")
    +5  // 输出 "The bank now has 10000 coins"
    +

    player现在已经离开了游戏。这表明是要将可选的playerOne变量设置为nil,意思是"没有Player实例"。当这种情况发生的时候,playerOne变量对Player实例的引用被破坏了。没有其它属性或者变量引用Player实例,因此为了清空它占用的内存从而释放它。在这发生前一步,其析构函数被自动调用,其硬币被返回到bank。

    + + +
    +
  • - + diff --git a/chapter2/16_Automatic_Reference_Counting.html b/chapter2/16_Automatic_Reference_Counting.html index 64ef465d..7487735c 100644 --- a/chapter2/16_Automatic_Reference_Counting.html +++ b/chapter2/16_Automatic_Reference_Counting.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    自动引用计数

    本页包含内容:

    @@ -608,7 +619,7 @@
    - + diff --git a/chapter2/17_Optional_Chaining.html b/chapter2/17_Optional_Chaining.html index 51f3e91f..e58e88df 100644 --- a/chapter2/17_Optional_Chaining.html +++ b/chapter2/17_Optional_Chaining.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,288 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    Optional Chaining

    +

    可选链(Optional Chaining)是一种可以请求和调用属性、方法及子脚本的过程,它的自判断性体现于请求或调用的目标当前可能为空(nil)。如果自判断的目标有值,那么调用就会成功;相反,如果选择的目标为空(nil),则这种调用将返回空(nil)。多次请求或调用可以被链接在一起形成一个链,如果任何一个节点为空(nil)将导致整个链失效。

    +
    +

    笔记: +Swift的自判断链和Objective-C中的消息为空有些相像,但是Swift可以使用在任意类型中,并且失败与否可以被检测到。

    +
    +

    可选链可替代强制解析

    +

    通过在想调用的属性、方法、或子脚本的自判断值(optional value)(非空)后面放一个问号,可以定义一个可选链。这一点很像在自判断值后面放一个声明符号来强制拆得其封包内的值。他们的主要的区别在于当自判断值为空时可选链即刻失败,然而一般的强制解析将会引发运行时错误。

    +

    为了反映可选链可以调用空(nil),不论你调用的属性、方法、子脚本等返回的值是不是自判断值,它的返回结果都是一个自判断值。你可以利用这个返回值来检测你的可选链是否调用成功,有返回值即成功,返回nil则失败。

    +

    调用可选链的返回结果与原本的返回结果具有相同的类型,但是原本的返回结果被包装成了一个自判断值,当可选链调用成功时,一个应该返回Int的属性将会返回Int?

    +

    下面几段代码将解释可选链和强制解析的不同。

    +

    首先定义两个类PersonResidence

    +
    class Person {
    +var residence: Residence?
    +}
    +
    +class Residence {
    +var numberOfRooms = 1
    +}
    +

    Residence具有一个Int类型的numberOfRooms,其值为1。Person具有一个自判断residence属性,它的类型是Residence?

    +

    如果你创建一个新的Person实例,它的residence属性由于是被定义为自判断型的,此属性将默认初始化为空:

    +
    let john = Person()
    +

    如果你想使用声明符!强制解析获得这个人residence属性numberOfRooms属性值,将会引发运行时错误,因为这时没有可以供解析的residence值。

    +
    let roomCount = john.residence!.numberOfRooms
    +// this triggers a runtime error”
    +//将导致运行时错误
    +

    john.residence不是nil时,会运行通过,且会将roomCount 设置为一个int类型的合理值。然而,如上所述,当residence为空时,这个代码将会导致运行时错误。

    +

    可选链提供了一种另一种获得numberOfRooms的方法。利用可选链,使用问号来代替原来的位置:

    +
    if let roomCount = john.residence?.numberOfRooms {
    +    println("John's residence has \(roomCount) room(s).")
    +} else {
    +    println("Unable to retrieve the number of rooms.")
    +}
    +// 打印 "Unable to retrieve the number of rooms.
    +

    这告诉Swift来链接自判断residence?属性,如果residence存在则取回numberOfRooms的值。

    +

    因为这种尝试获得numberOfRooms的操作有可能失败,可选链会返回Int?类型值,或者称作“自判断Int”。当residence是空的时候(上例),选择Int将会为空,因此会出先无法访问numberOfRooms的情况。

    +

    要注意的是,即使numberOfRooms是非自判断IntInt?)时这一点也成立。只要是通过可选链的请求就意味着最后numberOfRooms总是返回一个Int?而不是Int

    +

    你可以自己定义一个Residence实例给john.residence,这样它就不再为空了:

    +
    john.residence = Residence()
    +

    john.residence 现在有了实际存在的实例而不是nil了。如果你想使用和前面一样的可选链来获得numberOfRoooms,它将返回一个包含默认值1的Int?

    +
    if let roomCount = john.residence?.numberOfRooms {
    +println("John's residence has \(roomCount) room(s).")
    +} else {
    +    println("Unable to retrieve the number of rooms.")
    +}
    +// 打印 "John's residence has 1 room(s)"。
    +

    为可选链定义模型类

    +

    你可以使用可选链来多层调用属性,方法,和子脚本。这让你可以利用它们之间的复杂模型来获取更底层的属性,并检查是否可以成功获取此类底层属性。

    +

    后面的代码定义了四个将在后面使用的模型类,其中包括多层可选链。这些类是由上面的PersonResidence模型通过添加一个Room和一个Address类拓展来。

    +

    Person类定义与之前相同。

    +
    class Person {
    +var residence: Residence?
    +}
    +

    Residence类比之前复杂些。这次,它定义了一个变量 rooms,它被初始化为一个Room[]类型的空数组:

    +
    class Residence {
    +    var rooms = Room[]()
    +    var numberOfRooms: Int {
    +    return rooms.count
    +    }
    +    subscript(i: Int) -> Room {
    +        return rooms[i]
    +    }
    +    func printNumberOfRooms() {
    +        println("The number of rooms is \(numberOfRooms)")
    +    }
    +    var address: Address?
    +}
    +

    因为Residence存储了一个Room实例的数组,它的numberOfRooms属性值不是一个固定的存储值,而是通过计算而来的。numberOfRooms属性值是由返回rooms数组的count属性值得到的。

    +

    为了能快速访问rooms数组,Residence定义了一个只读的子脚本,通过插入数组的元素角标就可以成功调用。如果该角标存在,子脚本则将该元素返回。

    +

    Residence中也提供了一个printNumberOfRooms的方法,即简单的打印房间个数。

    +

    最后,Residence定义了一个自判断属性叫addressaddress?)。Address类的属性将在后面定义。 +用于rooms数组的Room类是一个很简单的类,它只有一个name属性和一个设定room名的初始化器。

    +
    class Room {
    +    let name: String
    +    init(name: String) { self.name = name }
    +}
    +

    这个模型中的最终类叫做Address。它有三个自判断属性他们额类型是String?。前面两个自判断属性buildingNamebuildingNumber作为地址的一部分,是定义某个建筑物的两种方式。第三个属性street,用于命名地址的街道名:

    +
    class Address {
    +    var buildingName: String?
    +    var buildingNumber: String?
    +    var street: String?
    +    func buildingIdentifier() -> String? {
    +        if buildingName {
    +            return buildingName
    +        } else if buildingNumber {
    +            return buildingNumber
    +        } else {
    +            return nil
    +        }
    +    }
    +}
    +

    Address类还提供了一个buildingIdentifier的方法,它的返回值类型为String?。这个方法检查buildingNamebuildingNumber的属性,如果buildingName有值则将其返回,或者如果buildingNumber有值则将其返回,再或如果没有一个属性有值,返回空。

    +

    通过可选链调用属性

    +

    正如上面“ 可选链可替代强制解析”中所述,你可以利用可选链的自判断值获取属性,并且检查属性是否获取成功。然而,你不能使用可选链为属性赋值。

    +

    使用上述定义的类来创建一个人实例,并再次尝试后去它的numberOfRooms属性:

    +
    let john = Person()
    +if let roomCount = john.residence?.numberOfRooms {
    +    println("John's residence has \(roomCount) room(s).")
    +} else {
    +    println("Unable to retrieve the number of rooms.")
    +}
    +// 打印 "Unable to retrieve the number of rooms。
    +

    由于john.residence是空,所以这个可选链和之前一样失败了,但是没有运行时错误。

    +

    通过可选链调用方法

    +

    你可以使用可选链的来调用自判断值的方法并检查方法调用是否成功。即使这个方法没有返回值,你依然可以使用可选链来达成这一目的。

    +

    Residence的printNumberOfRooms方法会打印numberOfRooms的当前值。方法如下:

    +
    func printNumberOfRooms(){
    +    println(“The number of rooms is \(numberOfRooms)”)
    +}
    +

    这个方法没有返回值。但是,没有返回值类型的函数和方法有一个隐式的返回值类型Void(参见Function Without Return Values)。

    +

    如果你利用可选链调用此方法,这个方法的返回值类型将是Void?,而不是Void,因为当通过可选链调用方法时返回值总是自判断类型(optional type)。,即使是这个方法本是没有定义返回值,你也可以使用if语句来检查是否能成功调用printNumberOfRooms方法:如果方法通过可选链调用成功,printNumberOfRooms的隐式返回值将会是Void,如果没有成功,将返回nil

    +
    if john.residence?.printNumberOfRooms() {
    +    println("It was possible to print the number of rooms.")
    +} else {
    +    println("It was not possible to print the number of rooms.")
    +}
    +// 打印 "It was not possible to print the number of rooms."。
    +

    使用可选链调用子脚本

    +

    你可以使用可选链来尝试从子脚本获取值并检查子脚本的调用是否成功,然而,你不能通过可选链来设置子代码。

    +
    +

    注意: +当你使用可选链来获取子脚本的时候,你应该将问号放在子脚本括号的前面而不是后面。可选链的问号一般直接跟在自判断表达语句的后面。

    +
    +

    下面这个例子用在Residence类中定义的子脚本来获取john.residence数组中第一个房间的名字。因为john.residence现在是nil,子脚本的调用失败了。

    +
    if let firstRoomName = john.residence?[0].name {
    +    println("The first room name is \(firstRoomName).")
    +} else {
    +    println("Unable to retrieve the first room name.")
    +}
    +// 打印 "Unable to retrieve the first room name."。
    +

    在子代码调用中可选链的问号直接跟在john.residence的后面,在子脚本括号的前面,因为john.residence是可选链试图获得的自判断值。

    +

    如果你创建一个Residence实例给john.residence,且在他的rooms数组中有一个或多个Room实例,那么你可以使用可选链通过Residence子脚本来获取在rooms数组中的实例了:

    +
    let johnsHouse = Residence()
    +johnsHouse.rooms += Room(name: "Living Room")
    +johnsHouse.rooms += Room(name: "Kitchen")
    +john.residence = johnsHouse
    +
    +if let firstRoomName = john.residence?[0].name {
    +    println("The first room name is \(firstRoomName).")
    +} else {
    +    println("Unable to retrieve the first room name.")
    +}
    +// 打印 "The first room name is Living Room."。
    +

    连接多层链接

    +

    你可以将多层可选链连接在一起,可以掘取模型内更下层的属性方法和子脚本。然而多层可选链不能再添加比已经返回的自判断值更多的层。 +也就是说:

    +

    如果你试图获得的类型不是自判断类型,由于使用了可选链它将变成自判断类型。 +如果你试图获得的类型已经是自判断类型,由于可选链它也不会提高自判断性。

    +

    因此:

    +

    如果你试图通过可选链获得Int值,不论使用了多少层链接返回的总是Int?。 +相似的,如果你试图通过可选链获得Int?值,不论使用了多少层链接返回的总是Int?

    +

    下面的例子试图获取johnresidence属性里的addressstreet属性。这里使用了两层可选链来联系residenceaddress属性,他们两者都是自判断类型:

    +
    if let johnsStreet = john.residence?.address?.street {
    +    println("John's street name is \(johnsStreet).")
    +} else {
    +    println("Unable to retrieve the address.")
    +}
    +// 打印 "Unable to retrieve the address.”。
    +

    john.residence的值现在包含一个Residence实例,然而john.residence.address现在是nil,因此john.residence?.address?.street调用失败。

    +

    从上面的例子发现,你试图获得street属性值。这个属性的类型是String?。因此尽管在自判断类型属性前使用了两层可选链,john.residence?.address?.street的返回值类型也是String?

    +

    如果你为Address设定一个实例来作为john.residence.address的值,并为addressstreet属性设定一个实际值,你可以通过多层可选链来得到这个属性值。

    +
    let johnsAddress = Address()
    +johnsAddress.buildingName = "The Larches"
    +johnsAddress.street = "Laurel Street"
    +john.residence!.address = johnsAddress
    +
    +if let johnsStreet = john.residence?.address?.street {
    +    println("John's street name is \(johnsStreet).")
    +} else {
    +    println("Unable to retrieve the address.")
    +}
    +// 打印 "John's street name is Laurel Street."。
    +

    值得注意的是,“!”符的在定义address实例时的使用(john.residence.address)。john.residence属性是一个自判断类型,因此你需要在它获取address属性之前使用解析以获得它的实际值。

    +

    链接自判断返回值的方法

    +

    前面的例子解释了如何通过可选链来获得自判断类型属性值。你也可以通过调用返回自判断类型值的方法并按需链接方法的返回值。

    +

    下面的例子通过可选链调用了Address类中的buildingIdentifier 方法。这个方法的返回值类型是String?。如上所述,这个方法在可选链调用后最终的返回值类型依然是String?

    +
    if let buildingIdentifier = john.residence?.address?.buildingIdentifier() {
    +    println("John's building identifier is \(buildingIdentifier).")
    +}
    +// 打印 "John's building identifier is The Larches."。
    +

    如果你还想进一步对方法返回值执行可选链,将可选链问号符放在方法括号的后面:

    +
    if let upper = john.residence?.address?.buildingIdentifier()?.uppercaseString {
    +    println("John's uppercase building identifier is \(upper).")
    +}
    +// 打印 "John's uppercase building identifier is THE LARCHES."。
    +
    +

    注意: +在上面的例子中,你将可选链问号符放在括号后面是因为你想要链接的自判断值是buildingIdentifier方法的返回值,不是buildingIdentifier方法本身。

    +
    + + +
    +
  • diff --git a/chapter2/18_Type_Casting.html b/chapter2/18_Type_Casting.html index 0d6ec6b0..de08dfc3 100644 --- a/chapter2/18_Type_Casting.html +++ b/chapter2/18_Type_Casting.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    类型检查(Type Casting)

    (ps:为了方便各位检验所以保留了英文,可删。) diff --git a/chapter2/19_Nested_Types.html b/chapter2/19_Nested_Types.html index 487d1721..1accf1dd 100644 --- a/chapter2/19_Nested_Types.html +++ b/chapter2/19_Nested_Types.html @@ -46,7 +46,7 @@ -

    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    类型嵌套

    本页包含内容:

    diff --git a/chapter2/20_Extensions.html b/chapter2/20_Extensions.html index 8ef67860..5471e039 100644 --- a/chapter2/20_Extensions.html +++ b/chapter2/20_Extensions.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,320 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    扩展(Extensions)

    +
    +

    本页包含内容:

    +
      +
    • 扩展语法(Extension Syntax)
    • +
    • 计算属性(Computed Properties)
    • +
    • 构造器(Initializers)
    • +
    • 方法(Methods)
    • +
    • 下标(Subscripts)
    • +
    • 嵌套类型(Nested Types)
    • +
    +

    扩展就是向一个已有的类、结构体或枚举类型添加新功能(functionality)。这包括在没有权限获取原始源代码的情况下扩展类型的能力(即逆向建模)。扩展和Objective-C中的分类(categories)类似。(不过与Objective-C不同的是,Swift的扩展没有名字。)

    +

    Swift中的扩展可以:

    +
      +
    • 添加计算属性和计算静态属性
    • +
    • 定义实例方法和类型方法
    • +
    • 提供新的构造器
    • +
    • 定义下标
    • +
    • 定义和使用新的嵌套类型
    • +
    • 使一个已有类型符合某个接口
    • +
    +
    +

    注意 +如果你定义了一个扩展向一个已有类型添加新功能,那么这个新功能对该类型的所有已有实例中都是可用的,即使它们是在你的这个扩展的前面定义的。

    +
    +

    扩展语法

    +

    声明一个扩展使用关键字extension

    +
    extension SomeType{
    +    // new functionality to add to SomeType goes here
    +}
    +
    +

    一个扩展可以扩展一个已有类型,使其能够适配一个或多个接口。当这种情况发生时,接口的名字应该完全按照类或结构体的名字的方式进行书写:

    +
    extension SomeType: SomeProtocol, AnotherProctocol{
    +    // implementation of protocol requirments goes here
    +}
    +
    +

    按照这种方式添加的接口一致性被称之为给扩展添加接口一致性(Protocal Conformance)

    +

    计算属性

    +

    扩展可以向已有类型添加计算实例属性和计算类型属性。下面的例子向Swift的内建Double类型添加了5个计算实例属性,从而提供与距离单位协作的基本支持。

    +
    extension Double{
    +    var km: Double { return self * 1_000.0 }
    +    var m : Double { return self }
    +    var cm: Double { return self / 100.0 }
    +    var mm: Double { return self / 1_000.0 }
    +    var ft: Double { return self / 3.28084 }
    +}
    +let oneInch = 25.4.mm
    +println("One inch is \(oneInch) meters")
    +// prints "One inch is 0.0254 meters"
    +let threeFeet = 3.ft
    +println("Three feet is \(threeFeet) meters")
    +// prints "Three feet is 0.914399970739201 meters"
    +
    +

    这些计算属性表达的含义是把一个Double型的值看作是某单位下的长度值。即使它们被实现为计算属性,但这些属性仍可以接一个带有dot语法的浮点型字面值,而这恰恰是使用这些浮点型字面量实现距离转换的方式。

    +

    在上述例子中,一个Double型的值1.0被用来表示“1米”。这就是为什么m计算属性返回self——表达式1.m被认为是计算1.0Double值。

    +

    其它单位则需要一些转换来表示在米下测量的值。1千米等于1,000米,所以km计算属性要把值乘以1_000.00来转化成单位米下的数值。类似地,1米有3.28024英尺,所以ft计算属性要把对应的Double值除以3.28024来实现英尺到米的单位换算。

    +

    这些属性是只读的计算属性,所有从简考虑它们不用get关键字表示。它们的返回值是Double型,而且可以用于所有接受Double的数学计算中:

    +
    let aMarathon = 42.km + 195.m
    +println("A marathon is \(aMarathon) meters long")
    +// prints "A marathon is 42495.0 meters long"
    +
    +
    +

    注意 +扩展可以添加新的计算属性,但是不可以添加存储属性,也不可以向已有属性添加属性观测器(property observers)。

    +
    +

    构造器

    +

    扩展可以向已有类型添加新的构造器。这可以让你扩展其它类型,将你自己的定制类型作为构造器参数,或者提供该类型的原始实现中没有包含的额外初始化选项。

    +
    +

    注意 +如果你使用扩展向一个值类型添加一个构造器,该构造器向所有的存储属性提供默认值,而且没有定义任何定制构造器(custom initializers),那么对于来自你的扩展构造器中的值类型,你可以调用默认构造器(default initializers)和成员级构造器(memberwise initializers)。 +正如在值类型的构造器授权中描述的,如果你已经把构造器写成值类型原始实现的一部分,上述规则不再适用。

    +
    +

    下面的例子定义了一个用于描述几何矩形的定制结构体Rect。这个例子同时定义了两个辅助结构体SizePoint,它们都把0.0作为所有属性的默认值:

    +
    struct Size{
    +    var width = 0.0, height = 0.0
    +}
    +struct Point{
    +    var x = 0.0, y = 0.0
    +}
    +struct Rect{
    +    var origin = Point()
    +    var size = Size()
    +}
    +
    +

    因为结构体Rect提供了其所有属性的默认值,所以正如默认构造器中描述的,它可以自动接受一个默认的构造器和一个成员级构造器。这些构造器可以用于构造新的Rect实例:

    +
    let defaultRect = Rect()
    +let memberwiseRect = Rect(origin: Point(x: 2.0, y: 2.0), 
    +    size: Size(width: 5.0, height: 5.0))
    +
    +

    你可以提供一个额外的使用特殊中心点和大小的构造器来扩展Rect结构体:

    +
    extension Rect{
    +    init(center: Point, size: Size){
    +        let originX = center.x - (size.width / 2)
    +        let originY = center.y - (size.height / 2)
    +        self.init(origin: Point(x: originX, y: originY), size: size)
    +    }
    +}
    +
    +

    这个新的构造器首先根据提供的centersize值计算一个合适的原点。然后调用该结构体自动的成员构造器init(origin:size:),该构造器将新的原点和大小存到了合适的属性中:

    +
    let centerRect = Rect(center: Point(x: 4.0, y: 4.0),
    +    size: Size(width: 3.0, height: 3.0))
    +// centerRect's origin is (2.5, 2.5) and its size is (3.0, 3.0)
    +
    +
    +

    注意 +如果你使用扩展提供了一个新的构造器,你依旧有责任保证构造过程能够让所有实例完全初始化。

    +
    +

    方法

    +

    扩展可以向已有类型添加新的实例方法和类型方法。下面的例子向Int类型添加一个名为repetitions的新实例方法:

    +
    extension Int{
    +    func repetitions(task: () -> ()){
    +        for i in 0..self{
    +            task()
    +        }
    +    }
    +}
    +
    +

    这个repetitions方法使用了一个() -> ()类型的单参数(single argument),表明函数没有参数而且没有返回值。

    +

    定义该扩展之后,你就可以对任意整数调用repetitions方法,实现的功能则是多次执行某任务:

    +
    3.repetitions({
    +    println("Hello!")
    +    })
    +// Hello!
    +// Hello!
    +// Hello!
    +
    +

    可以使用trailing闭包使调用更加简洁:

    +
    3.repetitions{
    +    println("Goodbye!")
    +}
    +// Goodbye!
    +// Goodbye!
    +// Goodbye!
    +
    +

    修改实例方法

    +

    通过扩展添加的实例方法也可以修改该实例本身。结构体和枚举类型中修改self或其属性的方法必须将该实例方法标注为mutating,正如来自原始实现的修改方法一样。

    +

    下面的例子向Swift的Int类型添加了一个新的名为square的修改方法,来实现一个原始值的平方计算:

    +
    extension Int{
    +    mutating func square(){
    +        self = self * self
    +    }
    +}
    +var someInt = 3
    +someInt.square()
    +// someInt is now 9
    +
    +

    下标

    +

    扩展可以向一个已有类型添加新下标。这个例子向Swift内建类型Int添加了一个整型下标。该下标[n]返回十进制数字从右向左数的第n个数字

    +
      +
    • 123456789[0]返回9
    • +
    • 123456789[1]返回8
    • +
    +

    等等

    +
    extension Int{
    +    subscript(digitIndex: Int) -> Int {
    +        var decimalBase = 1
    +            for _ in 1...digitIndex{
    +                decimalBase *= 10
    +            }
    +        return (self / decimalBase) % 10
    +    }
    +}
    +746381295[0]
    +// returns 5
    +746381295[1]
    +// returns 9
    +746381295[2]
    +// returns 2
    +746381295[8]
    +// returns 7
    +
    +

    如果该Int值没有足够的位数,即下标越界,那么上述实现的下标会返回0,因为它会在数字左边自动补0:

    +
    746381295[9]
    +//returns 0, 即等同于:
    +0746381295[9]
    +
    +

    嵌套类型

    +

    扩展可以向已有的类、结构体和枚举添加新的嵌套类型:

    +
    extension Character {
    +    enum Kind {
    +        case Vowel, Consonant, Other
    +    }
    +    var kind: Kind {
    +        switch String(self).lowercaseString {
    +        case "a", "e", "i", "o", "u":
    +            return .Vowel
    +        case "b", "c", "d", "f", "g", "h", "j", "k", "l", "m",
    +             "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z":
    +            return .Consonant
    +        default:
    +            return .Other
    +        }
    +    }
    +}
    +
    +

    该例子向Character添加了新的嵌套枚举。这个名为Kind的枚举表示特定字符的类型。具体来说,就是表示一个标准的拉丁脚本中的字符是元音还是辅音(不考虑口语和地方变种),或者是其它类型。

    +

    这个类子还向Character添加了一个新的计算实例属性,即kind,用来返回合适的Kind枚举成员。

    +

    现在,这个嵌套枚举可以和一个Character值联合使用了:

    +
    func printLetterKinds(word: String) {
    +    println("'\\(word)' is made up of the following kinds   of letters:")
    +    for character in word {
    +        switch character.kind {
    +        case .Vowel:
    +            print("vowel ")
    +        case .Consonant:
    +            print("consonant ")
    +        case .Other:
    +            print("other ")
    +        }
    +    }
    +    print("\n")
    +}
    +printLetterKinds("Hello")
    +// 'Hello' is made up of the following kinds of letters:
    +// consonant vowel consonant consonant vowel
    +
    +

    函数printLetterKinds的输入是一个String值并对其字符进行迭代。在每次迭代过程中,考虑当前字符的kind计算属性,并打印出合适的类别描述。所以printLetterKinds就可以用来打印一个完整单词中所有字母的类型,正如上述单词"hello"所展示的。

    +
    +

    注意 +由于已知character.kindCharacter.Kind型,所以Character.Kind中的所有成员值都可以使用switch语句里的形式简写,比如使用 .Vowel代替Character.Kind.Vowel

    +
    + + +
    +
  • @@ -584,7 +822,7 @@ - +
    diff --git a/chapter2/21_Protocols.html b/chapter2/21_Protocols.html index 6a5602ed..721370b4 100644 --- a/chapter2/21_Protocols.html +++ b/chapter2/21_Protocols.html @@ -5,7 +5,7 @@ - 接口 | Swift 编程语言 + 协议 | Swift 编程语言 @@ -21,7 +21,7 @@ - + @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter2/22_Generics.html b/chapter2/22_Generics.html index b29079a8..027824d3 100644 --- a/chapter2/22_Generics.html +++ b/chapter2/22_Generics.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    泛型


    @@ -943,7 +954,7 @@ var arrayOfStrings = ["uno", + diff --git a/chapter2/23_Advanced_Operators.html b/chapter2/23_Advanced_Operators.html index ecbcddec..ff77dd1a 100644 --- a/chapter2/23_Advanced_Operators.html +++ b/chapter2/23_Advanced_Operators.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter2/chapter2.html b/chapter2/chapter2.html index 5dd6e187..a8cbba59 100644 --- a/chapter2/chapter2.html +++ b/chapter2/chapter2.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    Swift 教程

    本章介绍了 Swift 的各种特性及其使用方法,是全书的核心部分。

    diff --git a/chapter3/01_About_the_Language_Reference.html b/chapter3/01_About_the_Language_Reference.html index 2a87d1cf..0ef88890 100644 --- a/chapter3/01_About_the_Language_Reference.html +++ b/chapter3/01_About_the_Language_Reference.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,92 +500,94 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    -
    +

    关于语言附注

    本书的这一节描述了Swift编程语言的形式语法。这里描述的语法是为了帮助您更详细的了解该语言,而不是让您直接实现一个解析器或编译器。

    diff --git a/chapter3/02_Lexical_Structure.html b/chapter3/02_Lexical_Structure.html index f0fce964..24b99d14 100644 --- a/chapter3/02_Lexical_Structure.html +++ b/chapter3/02_Lexical_Structure.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter3/03_Types.html b/chapter3/03_Types.html index 98e9eb30..72db0e89 100644 --- a/chapter3/03_Types.html +++ b/chapter3/03_Types.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter3/04_Expressions.html b/chapter3/04_Expressions.html index 35a880fd..c90239af 100644 --- a/chapter3/04_Expressions.html +++ b/chapter3/04_Expressions.html @@ -15,7 +15,7 @@ - + @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    @@ -584,7 +595,7 @@ - +
  • diff --git a/chapter3/05_Declarations.html b/chapter3/05_Declarations.html index 34cb1271..d396b7a0 100644 --- a/chapter3/05_Declarations.html +++ b/chapter3/05_Declarations.html @@ -18,7 +18,7 @@ - + @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    @@ -581,10 +592,10 @@
    - + - +
  • diff --git a/chapter3/06_Attributes.html b/chapter3/06_Attributes.html index ba3987ec..e823dab8 100644 --- a/chapter3/06_Attributes.html +++ b/chapter3/06_Attributes.html @@ -5,7 +5,7 @@ - 属性 | Swift 编程语言 + 特性 | Swift 编程语言 @@ -21,7 +21,7 @@ - + @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,91 +500,166 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    +
    + +

    特性

    +

    特性提供了关于声明和类型的更多信息。在Swift中有两类特性,用于修饰声明的以及用于修饰类型的。例如,required特性,当应用于一个类的指定或便利初始化器声明时,表明它的每个子类都必须实现那个初始化器。再比如noreturn特性,当应用于函数或方法类型时,表明该函数或方法不会返回到它的调用者。

    +

    通过以下方式指定一个特性:符号@后面跟特性名,如果包含参数,则把参数带上:

    +
    @attribute name
    +@attribute name(attribute arguments)
    +

    有些声明特性通过接收参数来指定特性的更多信息以及它是如何修饰一个特定的声明的。这些特性的参数写在小括号内,它们的格式由它们所属的特性来定义。

    +

    声明特性

    +

    声明特性只能应用于声明。然而,你也可以将noreturn特性应用于函数或方法类型。

    +

    assignment

    +

    该特性用于修饰重载了复合赋值运算符的函数。重载了复合赋值运算符的函数必需将它们的初始输入参数标记为inout。如何使用assignment特性的一个例子,请见:复合赋值运算符

    +

    class_protocol

    +

    该特性用于修饰一个协议表明该协议只能被类类型采用[待改:adopted]。

    +

    如果你用objc特性修饰一个协议,class_protocol特性就会隐式地应用到该协议,因此无需显式地用class_protocol特性标记该协议。

    +

    exported

    +

    该特性用于修饰导入声明,以此来导出已导入的模块,子模块,或当前模块的声明。如果另一个模块导入了当前模块,那么那个模块可以访问当前模块的导出项。

    +

    final

    +

    该特性用于修饰一个类或类中的属性,方法,以及下标成员。如果用它修饰一个类,那么这个类则不能被继承。如果用它修饰类中的属性,方法或下标,则表示在子类中,它们不能被重写。

    +

    lazy

    +

    该特性用于修饰类或结构体中的存储型变量属性,表示该属性的初始值最多只被计算和存储一次,且发生在第一次访问它时。如何使用lazy特性的一个例子,请见:惰性存储型属性

    +

    noreturn

    +

    该特性用于修饰函数或方法声明,表明该函数或方法的对应类型,T,是@noreturn T。你可以用这个特性修饰函数或方法的类型,这样一来,函数或方法就不会返回到它的调用者中去。

    +

    对于一个没有用noreturn特性标记的函数或方法,你可以将它重写(override)为用该特性标记的。相反,对于一个已经用noreturn特性标记的函数或方法,你则不可以将它重写为没使用该特性标记的。相同的规则试用于当你在一个comforming类型中实现一个协议方法时。

    +

    NSCopying

    +

    该特性用于修饰一个类的存储型变量属性。该特性将使属性的setter与属性值的一个副本合成,由copyWithZone方法返回,而不是属性本身的值。该属性的类型必需遵循NSCopying协议。

    +

    NSCopying特性的行为与Objective-C中的copy特性相似。

    +

    NSManaged

    +

    该特性用于修饰NSManagedObject子类中的存储型变量属性,表明属性的存储和实现由Core Data在运行时基于相关实体描述动态提供。

    +

    objc

    +

    该特性用于修饰任意可以在Objective-C中表示的声明,比如,非嵌套类,协议,类和协议中的属性和方法(包含getter和setter),初始化器,析构器,以下下标。objc特性告诉编译器该声明可以在Objective-C代码中使用。

    +

    如果你将objc特性应用于一个类或协议,它也会隐式地应用于那个类或协议的成员。对于标记了objc特性的类,编译器会隐式地为它的子类添加objc特性。标记了objc特性的协议不能继承自没有标记objc的协议。

    +

    objc特性有一个可选的参数,由标记符组成。当你想把objc所修饰的实体以一个不同的名字暴露给Objective-C,你就可以使用这个特性参数。你可以使用这个参数来命名类,协议,方法,getters,setters,以及初始化器。下面的例子把ExampleClassenabled属性的getter暴露给Objective-C,名字是isEnabled,而不是它原来的属性名。

    +
    @objc
    +class ExampleClass {
    +    var enabled: Bool {
    +    @objc(isEnabled) get {
    +        // Return the appropriate value
    +    }
    +    }
    +}
    +

    optional

    +

    用该特性修饰协议的属性,方法或下标成员,表示实现这些成员并不需要一致性类型(conforming type)。

    +

    你只能用optional特性修饰那些标记了objc特性的协议。因此,只有类类型可以adopt和comform to那些包含可选成员需求的协议。更多关于如何使用optional特性以及如何访问可选协议成员的指导,例如,当你不确定一个conforming类型是否实现了它们,请见:可选协议需求

    +

    required

    +

    用该特性修饰一个类的指定或便利初始化器,表示该类的所有子类都必需实现该初始化器。

    +

    加了该特性的指定初始化器必需显式地实现,而便利初始化器既可显式地实现,也可以在子类实现了超类所有指定初始化器后继承而来(或者当子类使用便利初始化器重写了指定初始化器)。

    +

    Interface Builder使用的声明特性

    +

    Interface Builder特性是Interface Builder用来与Xcode同步的声明特性。Swift提供了以下的Interface Builder特性:IBActionIBDesignableIBInspectable,以及IBOutlet。这些特性与Objective-C中对应的特性在概念上是相同的。

    +

    IBOutletIBInspectable用于修饰一个类的属性声明;IBAction特性用于修饰一个类的方法声明;IBDesignable用于修饰类的声明。

    +

    类型特性

    +

    类型特性只能用于修饰类型。然而,你也可以用noreturn特性去修饰函数或方法声明。

    +

    auto_closure

    +

    这个特性通过自动地将表达式封闭到一个无参数闭包中来延迟表达式的求值。使用该特性修饰无参的函数或方法类型,返回表达式的类型。一个如何使用auto_closure特性的例子,见函数类型

    +

    noreturn

    +

    该特性用于修饰函数或方法的类型,表明该函数或方法不会返回到它的调用者中去。你也可以用它标记函数或方法的声明,表示函数或方法的相应类型,T,是@noreturn T

    +
    +

    特性的语法 +attribute -> @ attribute-name attribute-argument-clauseopt +attribute-name -> identifier +attribute-argument-clause -> ( balanced-tokensopt ) +attributes -> attribute attributesopt +balanced-tokens -> balanced-token balanced-tokensopt +balanced-token -> ( balanced-tokensopt ) +balanced-token -> [ balanced-tokensopt ] +balanced-token -> { balanced-tokensopt } +balanced-token -> 任意标识符,关键字,字面量,或运算符 +balanced-token -> 任意标点符号,除了(, ), [, ], {, 或 }

    +
    + + +
    +
  • diff --git a/chapter3/07_Patterns.html b/chapter3/07_Patterns.html index d67b7fdc..fafdae23 100644 --- a/chapter3/07_Patterns.html +++ b/chapter3/07_Patterns.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    @@ -581,7 +592,7 @@
    - + diff --git a/chapter3/08_Generic_Parameters_and_Arguments.html b/chapter3/08_Generic_Parameters_and_Arguments.html index 5ae97d69..caebcdc3 100644 --- a/chapter3/08_Generic_Parameters_and_Arguments.html +++ b/chapter3/08_Generic_Parameters_and_Arguments.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter3/09_Summary_of_the_Grammar.html b/chapter3/09_Summary_of_the_Grammar.html index 05faf50a..12da0950 100644 --- a/chapter3/09_Summary_of_the_Grammar.html +++ b/chapter3/09_Summary_of_the_Grammar.html @@ -44,7 +44,7 @@ -
    +
    @@ -284,7 +284,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -293,7 +293,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -347,7 +347,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -422,46 +422,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -489,85 +498,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/chapter3/10_Statements.html b/chapter3/10_Statements.html new file mode 100644 index 00000000..83e549f1 --- /dev/null +++ b/chapter3/10_Statements.html @@ -0,0 +1,633 @@ + + + + + + + + 语句 | Swift 编程语言 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + Swift 编程语言 +

    +
    + + + +
    + + +
    + +
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    + +
    +
    +
    + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/chapter3/chapter3.html b/chapter3/chapter3.html index ddb4f25c..150960ff 100644 --- a/chapter3/chapter3.html +++ b/chapter3/chapter3.html @@ -46,7 +46,7 @@ -
    +
    @@ -286,7 +286,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -295,7 +295,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -349,7 +349,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -424,46 +424,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -491,85 +500,87 @@
    -
    +
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
    diff --git a/index.html b/index.html index 4d3dcca7..10c6a740 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@ -
    +
    @@ -284,7 +284,7 @@
  • - 2.14. 构造函数 + 2.14. 构造过程 @@ -293,7 +293,7 @@
  • - 2.15. 析构函数 + 2.15. 析构过程 @@ -347,7 +347,7 @@
  • - 2.21. 接口 + 2.21. 协议 @@ -422,46 +422,55 @@
  • -
  • +
  • + + + 3.5. 语句 + + + +
  • + +
  • - 3.5. 声明 + 3.6. 声明
  • -
  • +
  • - 3.6. 属性 + 3.7. 特性
  • -
  • +
  • - 3.7. 模式 + 3.8. 模式
  • -
  • +
  • - 3.8. 泛型参数 + 3.9. 泛型参数
  • -
  • +
  • - 3.9. 语法总结 + 3.10. 语法总结 @@ -495,90 +504,95 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + +
  • -
    +

    Swift 编程语言

    Swift 是苹果在 WWDC 2014 上发布的一款全新的编程语言,本书译自苹果官方的 Swift 教程《The Swift Programming Language》。

    -

    感谢您的阅读。

    +

    翻译正在进行中,翻译完成的部分会实时同步到这里。您可以到项目首页查看当前进度。

    +

    由于是多人协同翻译,可能会有些术语或者句子翻译不太恰当,如果您在阅读过程中发现此类问题,请直接给我们提 issue 或者 pull request。翻译完成后我们会进行认真的校对,给大家提供一本高质量的 Swift 教程。

    +

    如果您愿意加入进来,帮助我们进行翻译和校对,请阅读项目首页中的说明并加入QQ群:364279588,我们期待您的加入,在 Swift 的历史上留下您的足迹!

    +

    最后,非常感谢您的阅读,如果您觉得本文不错的话请分享给其他人,您的支持就是我们最大的动力!

    diff --git a/manifest.appcache b/manifest.appcache index e75f0c30..9668e01a 100644 --- a/manifest.appcache +++ b/manifest.appcache @@ -1,5 +1,5 @@ CACHE MANIFEST -# Revision 1402148739560 +# Revision 1402287112410 CACHE: index.html @@ -30,15 +30,16 @@ chapter2/21_Protocols.html chapter2/22_Generics.html chapter2/23_Advanced_Operators.html chapter2/chapter2.html +chapter3/06_Attributes.html chapter3/01_About_the_Language_Reference.html -chapter3/02_Lexical_Structure.html chapter3/03_Types.html chapter3/04_Expressions.html chapter3/05_Declarations.html -chapter3/06_Attributes.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 gitbook/app.js gitbook/fonts/anonymouspro/400.woff diff --git a/search_index.json b/search_index.json index 139c62b9..941fa574 100644 --- a/search_index.json +++ b/search_index.json @@ -1 +1 @@ -{"version":"0.5.2","fields":[{"name":"title","boost":10},{"name":"body","boost":1}],"ref":"url","documentStore":{"store":{"index.html#gitbook_5":["2014","languag","program","swift","undefinedundefin","wwdc"],"chapter1/01_swift.html#gitbook_6":["arc","automat","c","cocoa","cocoa的基础上构建框架栈并将其标准化。objective-c","count","c的兼容性的限制。swift","foundat","hello","io","objective-c","os","refer","swift","touch","undefinedundefin","world","x"],"chapter1/02_a_swift_tour.html#gitbook_7":["0","0..3","0..time","0.0","1","10","100","103","11","12","13","16","19","2","2.5","20","25","3","3.0","3.1","3.59","3.69","3.79","4","42","43","5","5.2","50","597","69105","7","7.simpledescript","70","70.0","75","8","87","8:09","9","9.9","94","a.adjust","a.simpledescript","ac","ace.toraw","acerawvalu","add","addon","addone(numb","adescript","adjust","amount","anoth","anotherproperti","ant","anycommonel","anycommonelements([1","appl","applese","applesummari","area","b","b.adjust","b.simpledescript","bdescript","blue","bool","bottl","c","captain","card","card(rank","card添加一个方法,创建一副完整的扑克牌并把每张牌的rank和suit","case","catfish","celeri","chees","class","club","condit","condition(item","convertedrank","convertedrank.simpledescript","count","counter","counter.incrementby(2","cucumb","dai","default","deinit","diamond","dictionary(item","result","result(str","result(sunris","return","returnfifteen","rh","rhsitem","sandwich","score","secondforloop","see","self","self.nam","self.sidelength","self被用来区别实例变量。当你创建实例的时候,像传入函数参数一样给类传入构造器的参数。每个属性都需要赋值——无论是通过声明(就像numberofsides)还是通过构造器(就像nam","sequenc","serverrespons","serverresponse.error(\"out","serverresponse.result(\"6:00","serverresponse和switch","set","setter","seven","shape","shape.numberofsid","shape.simpledescript","shapedescript","shape类缺少了一些重要的东西:一个构造函数来初始化类实例。使用init","shoppinglist","shoppinglist[1","side","sidelength","simpl","simpleclass","simpledescript","simplestructur","simplestructure时候mutating关键字用来标记一个会修改结构体的方法。simpleclass","six","size","some(100","some(t","sort([1","soup","spade","spici","squar","square(sidelength","square.sidelength","standard","string","string(self.toraw","string(width","struct","structur","success","suit","suit.heart","suit.simpledescript","suit添加一个color方法,对spades和clubs返回“black”,对hearts和diamonds返回“r","sum","sumof","sumof(42","sumof(numb","sunris","sunset","super.init(nam","swift","switch","switch中匹配到的子句之后,程序会退出switch语句,并不会继续向下运行,所以不需要在每个子句结尾写break","t","t.generatortype.el","tast","tea","teamscor","ten","test","test.area","test.simpledescript","three","threedescript","threeofspad","threeofspades.simpledescript","threeofspadesdescript","time","todai","toraw和fromraw","triagl","triangl","triangle.perimet","triangle.sidelength","triangleandsquar","triangleandsquare(s","triangleandsquare.squar","triangleandsquare.square.sidelength","triangleandsquare.triangle.sidelength","true","tuesdai","tulip","two","type","u","u.generatortype.el","uncom","undefinedundefin","var","veget","vegetablecom","veri","water","watercress","where,只在冒号后面写接口或者类名。<t","width","widthlabel","willset","willset和didset","world","x","x.hassuffix(\"pepp","xcode","y"],"chapter1/chapter1.html#gitbook_8":["swift","undefinedundefin"],"chapter2/01_The_Basics.html#gitbook_10":["0","0.0","0.0125","0.14159","000123.456","0b","0b10001","0o","0o21","0x","0x11","0xc.3p0","0xfp-2","0xfp2","0x)。小数点两边必须有至少一个十进制数字(或者是十六进制的数字)。浮点原始值还有一个可选的指数,在十进制浮点数中通过大写或者小写的e来指定,在十六进制浮点数中通过大写或者小写的p","0为fals","0为true的时候代码运行才会继续,也就是说,当age的值非负的时候。如果age的值是负数,就像代码中那样,ag","1","1.21875e1","1.25","1.25e-2","1.25e2","10","10^-2","10^2","12.1875","123","125.0","15","17","1_000_000","1_000_000.000_000_1","1的比较结果是bool类型,所以第二个例子可以通过类型检查。类似i","200","255","2^-2","2^2","2_000","3","3.14159","3.14159,0.1和-273.15","3.75","32位平台上,int和int32","32位平台上,uint和uint32","3可以直接和原始值0.14159","3没有显式声明类型,而表达式中出现了一个浮点原始值,所以表达式会被推测为doubl","4.75会变成4,-3.9会变成3","404","42","42和-23","42和3.14159","42并且没有标明类型,swift","60.0","64位平台上,int和int64","64位平台上,uint和uint64","8、16、32和64","8位无符号整数类型是uint8,32位有符号整数类型是int32","_","actualnumb","actualnumber常量可以在if语句的第一个分支中使用。它已经被可选包含的值初始化过,所以不需要再使用!后缀来获取它的值。在这个例子中,actualnumb","ag","anotherpi","array和dictionari","assert(ag","assert函数来写一个断言。给assert函数传入一个结果为true或者false的表达式以及一条信息,当表达式为fals","assumedstr","audiosampl","audiosample.min","audiosample被定义为uint16的一个别名。因为它是别名,audiosample.min实际上是uint16.min,所以会给maxamplitudefound赋一个初值0","binaryinteg","bonjour","bool","bool。布尔值是指逻辑,因为它们只能是真或者假。swift","bool类型的地方使用了非布尔值,swift","c","cannotbeneg","cat","chang","cocoa里的nslog函数一样,println","code","comment","compile-tim","constantnam","convert","convertednumb","current","currentloginattempt","decimaldoubl","decimalinteg","definitestr","descript","dogcow","doubl","double(thre","double或者float","double精确度很高,至少有15位数字,而float最少只有6","double而不是float","double表示64","end","error","eww","exponentdoubl","exp,那这个数相当于基数和10^exp","exp,那这个数相当于基数和2^exp","fals","first","float表示32","found","found"","found")元组把一个int值和一个str","friendlywelcom","friendlywelcome的值从"hello!"改为了"bonjour!"","gt","hello","hexadecimaldoubl","hexadecimalinteg","horribl","http","http200statu","http200status.descript","http200status.statuscod","http404error","http404error.0","http404error.1","if和while语句中来对可选的值进行判断并把值赋给一个常量或者变量。if和whil","if语句来判断一个可选是否包含值。如果可选有值,结果是true;如果没有值,结果是fals","if语句的第一个分支中操作actualnumber的值,你可以改成if","implicitli","int","int(pi","int)或者(str","int8","int8.max","int8类型的常量或者变量可以存储的数字范围是-128~127,uint8类型的常量或者变量能存储的数字范围是0~255","integ","integerpi","interpolation)的方式把常量名或者变量名当做占位符加入到长字符串中,swift会用当前常量或变量的值替换这些占位符。将常量或变量名放入反斜杠符加一对圆括号中"\\()"","intuint浮点数类型安全和类型推测数值类原始值数值类型转换整数转换整数和浮点数转换类型别名布尔值元组可选if","int就够了。这可以提高代码一致性和可复用性。即使是在32位平台上,int可以存储的整数范围也可以达到-2147483648~2147483647","int是整型;double和float是浮点型;bool是布尔型;string是字符串。swift","int类型更大或者更小的数字。swift","io","justoveronemillion","justthestatuscod","languagenam","less","let来声明常量,用var","line","maxamplitudefound","maximumnumberofloginattempt","maximumnumberofloginattempts或者welcomemessage)和一个指定类型的值(比如数字10或者字符串hello","maximumnumberofloginattempts的新常量,并给它一个值10。然后,声明一个名字是currentloginattempt的变量并将它的值初始化为0","maxvalu","meaningoflif","messag","minvalu","min和max","multilin","multipl","nest","nil","nil不是指针——它是一个确定的值,用来表示值缺失。任何类型的可选都可以被设置为nil","nil的话请不要使用隐式解析可选。如果你需要在变量的生命周期中判断是否是nil","nil,nil","nil,但是后面的代码运行需要一个非nil","now","nsnotfound)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,swift","objc","objective-c","octalinteg","ok","on","onemillion","option","orangesareorang","orangesareorange和turnipsaredelicious的类型会被推测为bool,因为它们的初值是布尔原始值。就像之前提到的int和double一样,如果你创建变量的时候给它们赋值true或者false,那你不需要给常量或者变量标明bool","os","over","paddeddoubl","person'","pi","pointonefouronefivenin","possiblenumb","possiblenumber.toint","possiblenumber.toint返回的可选int包含一个值,创建一个叫做actualnumb","possiblestr","print","println","println(\"\\(possiblenumb","println(\"eww","println(\"mmm","println(\"th","println(\"thi","println(assumedstr","println(cat","println(definitestr","println(friendlywelcom","println(possiblestr","println函数输出传入的str","println是一个用来输出的全局函数,输出的内容会在最后带换行。如果你用xcode,println将会输出内容到“console”面板上。(另一种函数叫print","properti","quot;an","quot;not","refer","second","serverresponsecod","someopt","sometype(ofinitialvalu","start","statement","statu","statuscod","statusmessag","string","string."","string”的意思是“可以存储任意str","string和隐式解析可选str","string类型有一个叫做toint的方法,作用是将一个string值转换成一个int值。然而,并不是所有的字符串都可以转换成一个整数。字符串"123"可以被转换成数字123,但是字符串"hello","string,你绝对不可能不小心传进去一个int","string,名字为welcomemessag","string,类型安全会阻止你不小心传入一个int","subscript","surveyansw","swift","swift可以推断出这个常量或者变量的类型,详情参见类型安全和类型推断(待添加链接)。在上面的例子中,没有给welcomemessag","swift用字符串插值(str","tasti","three","three的值被用来创建一个doubl","toint方法可能会失败,所以它返回一个可选的int,而不是一个int。一个可选的int被写作int?而不是int。问号暗示包含的值是可选,也就是说可能包含int值也可能不包含值。(不能包含其他任何值比如bool值或者string值。只能是int","toint方法来尝试将一个string转换成int","toobig","true","true。从字面意思来说,断言“断言”一个条件是否为真。你可以使用断言来保证在运行其他代码之前,某些重要的条件已经被满足。如果条件判断为true,代码运行会继续进行;如果条件判断为fals","true和fals","tupl","turnip","turnipsaredelici","twothousand","twothousandandon","twothousand类型是uint16,然而常量one类型是uint8。它们不能直接相加,因为它们类型不同。所以要调用uint16(one)来创建一个新的uint16数字并用on","typealia","uint","uint16","uint16(on","uint16有一个构造器,可以接受一个uint8类型的值,所以这个构造器可以用现有的uint8来创建一个新的uint16。注意,你并不能传入任意类型的值,只能传入uint16","uint16,可以进行相加。目标常量twothousandandone的类型被推测为uint16,因为它是两个uint16","uint8","uint8.max","uint8.min","uint,除非你真的需要存储一个和当前平台原生字长相同的无符号整数。除了这种情况,最好使用int,即使你要存储的值已知是非负的。统一使用int","undefinedundefin","unicod","unown","unwrap","valu","var","web","welcomemessag","welcomemessage变量添加了类型标注,表示这个变量可以存储str","world"","written","x","xcode","y","z","zero"],"chapter2/03_Strings_and_Characters.html#gitbook_11":["0","1","10","103","111","128054","128054,是一个十六进制1f436","144","159","16","182","2","2.5","21","240","3","33","39","4","40","5","55357","56374","6","68","7.5","8","act","act1scenecount","alik","anoth","anotheremptystr","api","ascii","blackheart","boolean","c","capulet'","carriag","cell","charact","character1","character2","characterpluscharact","characterplusstr","characters)字符串字面量初始化空字符串字符串可变性字符串是值类型使用字符(characters)计算字符数量连接字符串和字符字符串插值比较字符串字符串相等前缀/后缀相等大写和小写字符串unicodeunicod","cocoa","codeunit","compile-tim","consid","constantstr","countel","countelements(unusualmenageri","d","dog","dogstr","dogstring.unicodescalar","dogstring.utf16","dogstring.utf8","dollarsign","dollarsign、blackheart","double(multipli","dromedari","einstein","empti","emptystr","emptystring.isempti","enumer","equal","error","for-in","foundat","friar","g","good","great","hall","hasprefix","hasprefix/hassuffix","hello","help","here","highland","hors","imagin","import","initi","instruct","isempti","knowledg","koala","lawrence'","length","liter","look","loop","lot","lowercasestr","mansion","messag","more","morn","multipli","n","nn","nnnn","nnnnnnnn","normal","normal.lowercasestr","normal.uppercasestr","noth","nsmutablestr","nsstring","o","objective-c","orchard","outsid","over","penguin","place","pleas","print","print(\"\\(codeunit","print(\"\\(scalar.valu","print(\"\\n","println(\"\\(scalar","println(\"noth","println(\"ther","println(\"thes","println(\"unusualmenageri","println(charact","public","quot","quot;a"),u+1f425","quot;albatross"","quot;hello","quot;🐥"","quotat","r","romeoandjuliet","room","samequot","scalar","scene","scene.hasprefix(\"act","see","shouti","snail","somestr","sparklingheart","street","string","string1","string2","stringpluscharact","stringplusstr","structur","swift","syntax","t","terminolog","time","touch","two","type","u+0024","u+0061","u+1f436","u+1f496","u+2665","u+d83d","u+dc36","u0001f496","u2665","uin8","uint16","uint32","uint8","undefinedundefin","unicod","unicodescalar","unicodescalarview","unnnn","unnnnnnnn","unusualmenageri","uppercasestr","us","utf-16","utf-8","utf-8utf-16unicod","utf16","utf16count","utf16view","utf8","utf8view","valu","var","variablestr","verona","we'r","welcom","whisper","wiseword","work","world"","x24","xnn","yensign"],"chapter2/06_Functions.html#gitbook_14":["again","anna","argument","brian","func","function","func作为前缀。指定函数返回类型时,用返回箭头->","greet","greeting被调用,该函数结束它的执行并返回greet","hello","paramet","personnam","print","println(sayhello(\"anna","println(sayhello(\"brian","println(sayhelloagain(\"anna","quot;greetingforperson",之所以叫这个名字是因为这个函数用一个人的名字当做输入,并返回给这个人的问候语。为了完成这个任务,你定义一个输入参数-一个叫做personname的string值,和一个包含给这个人问候语的str","return","sayhello(personnam","sayhelloagain(personnam","sayhello。上面的例子展示的是用"anna"和"brian"","sayhello函数时,在圆括号中传给它一个string类型的实参。因为这个函数返回一个string类型的值,sayhello可以被包含在println","sayhello的函数体中,先定义了一个新的名为greeting的string常量,同时赋值了给personname的一个简单问候消息。然后用return关键字把这个问候返回出去。一旦return","string","swift","swift统一的函数语法足够灵活,可以用来表示任何函数,包括从最简单的没有参数名字的c风格函数,到复杂的带局部和外部参数名的objective-c","undefinedundefin"],"chapter2/07_Closures.html#gitbook_15":["0","0,$1,$2","0,这时闭包会将字符串输出,而map","1","10","10中,如果number为16,则返回6,58返回8,510返回0","16","16,58,510","16变成了1,58变成了5,510变成了51","2","20","3","30","4","40","5","50","510","58","6","7","8","9","alex","alsoincrementbyten","amount","arrai","b","backward","backwards(s1","barri","block","bool","c","captur","caputur","chri","closur","constant","cycl","daniella","digitnam","digitnames[numb","eight","equal","ewa","five","fiveeight","fiveonezero","force-unwrap","forincr","four","func","function","gt","incrementbyseven","incrementbysevn","incrementbyten","incrementor","inout","int","kei","lambda","makeincrementor","makeincrementor(forincr","map","name","nine","note","number","numbers.map","objective-c","on","onesix","oper","option","output","paramet","quot;a"","quot;alex"","quot;b"","quot;barry"","quot;fiveeight"","quot;fiveonezero"","quot;onesix"","quot;tim"","quot;tom"","quot;大于"","quot;按照字母顺序后出现"","refer","return","returntyp","return参数名称缩写运算符函数trail","revers","runingtot","runningtot","s1","s2","s2),backward","seven","six","somefunctionthattakesaclosur","somefunctionthattakesaclosure(closur","sort","sort(nam","statement","string","strong","swift","three","trail","true","two","type","undefinedundefin","valu","var","variabl","zero"],"chapter2/09_Classes_and_Structures.html#gitbook_17":["collect","undefinedundefin"],"chapter2/02_Basic_Operators.html#gitbook_21":["0","0..count","0.5","1","1...5","10","10.0","15","1后变成2","2","2.5","20","25","3","39;*'","4","4.0","40","5","50","6","8","8除于2.5等于3余0.5","9","90","a...b","a..b","access","alex","allow","allowedentri","allowentri","alow","alsominussix","amp","amp;&","anna","answer1","answer2","b","brian","bug","c","charact","colspan=\"4\">41","td>1*2","td>3","td>4","td>5","td>6","td>7","td>8","td>9","three","tr","true","undefinedundefin","var","welcom","win","world","x","y"],"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":["arc","arc为了能帮助你管理内存,需要更多的关于你的代码之间关系的信息。本章描述了这些情况,并且为你示范怎样启用arc","arc会分配一大块内存用来储存实例的信息。内存中会包含实例的类型信息,以及这个实例所有相关属性的值。此外,当实例不再被使用时,arc","arc会跟踪和计算每一个类实例正在被多少属性,常量和变量所引用。哪怕实例的引用数为一,arc","swift使用自动引用计数(arc)这一机制来跟踪和管理你的应用程序的内存。通常情况下,swift的内存管理机制会一直起着作用,你无须自己来考虑内存的管理。arc","undefinedundefin"],"chapter2/18_Type_Casting.html#gitbook_26":["0","1","2","2001","3","3.0","3.14159","42","5.0","abov","access","action","actual","add","addit","advanc","alias","alien","alwai","and/or","anoth","anyobject","anyobjectanyobject类型ani","anyobject可以代表任何class","any可以表示任何类型,除了方法类型(funct","any和anyobject","apart","api","apis,它一般接收一个anyobject[]类型的数组,或者说“一个任何对象类型的数组”。这是因为oc没有明确的类型化数组。但是,你常常可以确定包含在仅从你知道的api","appear","appli","appropri","arrai","artist","as)下转并解包到不可选的movie类型(p","as?)。可选形式的类型检查总是返回一个可选值(opt","assum","astlei","attempt","back","base","basic","behavior","behind","believ","below","better","bind","binding)来检查opt","blue","call","capabl","casablanca","case","cases里用i","cast","casting)定义一个类层次作为例子defin","certain","chang","check","checker","chesnei","citizen","class","class=\"x-name\">check","class类型。它创建了一个可以存储ani","cocoa","code","come","common","compound","confid","conform","conformance(arrai","equatable类型都可以安全的使用在findindex函数中,因为其保证支持等式操作。为了说明这个事实,当你定义一个函数时,你可以写一个equat","equatable,也就意味着“任何t类型都遵循equat","equival","error","exampl","exist","extens","extension][6","extension][7","fals","findindex([\"mik","findindex([3.14159","findindex(arrai","findindex中这个单个类型参数写做:t","findindex函数现在则可以成功的编译过,并且作用于任何遵循equatable的类型,如double或str","findindex,用某个类型t","findstringindex","findstringindex(arrai","findstringindex(str","findstringindex的泛型版本findindex。请注意这个函数仍然返回int","findstringindex的非泛型函数,该函数功能是去查找包含一给定string值的数组。若查找到匹配的字符串,findstringindex函数返回该字符串在数组中的索引值(int),反之则返回nil","first","for-in循环和半闭区间操作(..)来迭代somecontainer中的所有items。对于每个item,函数检查是否somecontainer中的item不等于对应的anothercontainer中的item,如果这两个items不等,则这两个容器不匹配,返回fals","for—that","foundindex","fromthetop","func","function","gener","give","goe","guide,即便你没有实现它。例如:swift的array和dictionary类型都是泛型集。你可以创建一个int数组,也可创建一个string数组,或者甚至于可以是任何其他swift的类型数据数组。同样的,你也可以创建存储任何指定类型的字典(dictionari","hashtabl","hello","here","here’","hierarchi","implement","import","in-out参数交换a和b的值,这两个参数被描述为[in-out类型参数][1","index","indic","inform","inout","inspir","int","intstack","intstack指定了container的实现,适用的itemtype被用作int类型。对于这个contain","intstack类型只能用于int值,不过,其对于定义一个泛型stack","intstack类型实现了container协议的所有三个要求,在intstack","intstack类型的非泛型版本,适用于遵循contain","int索引值下标可以检索到每一个item","int这一行,一切仍旧可以工作,因为它清楚的知道itemtyp","int,将抽象的itemtype类型转换为具体的int","item","items.append(item","items.count","items.removelast","items[i","items。这个需求通过一个类型约束和wher","items的属性,使用空的t","itemtyp","itemtype。th","item是如何存储的或何种类型是允许的。这个协议只指定三个任何遵循contain","item的push方法,该参数必须是t","keytyp","languag","last","left","librari","llama","look","made","malcolm","manag","match","method","model","mutat","name","navig","need","nil","note","now","number","option","origin","out","pair","parakeet","paramet","parameters类型参数命名类型参数泛型类型类型约束类型约束语法类型约束行为关联类型关联类型行为扩展一个存在的类型为一指定关联类型wher","part","placehold","pop","popviewcontrolleranim","pop并移除值"cuatro"","pop方法的返回值,该返回值将是一个t","possibl","print","println(\"al","println(\"not","println(\"someint","println(\"th","protocol","provid","provide(这个协议不会定义itemtype是遵循类型所提供的何种信息的别名)。尽管如此,itemtype别名支持一种方法识别在一个容器里的items类型,以及定义一种使用在append方法和下标中的类型,以便保证任何期望的contain","push","push(item","push)/出栈(pop","pushviewcontroller:anim","remov","report","return","same","see","self.push(item","someclass","somecontain","somecontainer.count","somecontainer[i","somecontainer中item","somecontainer中的item","somecontainer和anothercontainer。somecontainer参数是类型c1,anothercontainer参数是类型c2。c1和c2","somecontainer和anothercontainer包含相同的item","somecontainer是一个c1","somefunction(somet","somestr","someu","stack","stack(栈)。一个栈是一系列值域的集合,和array(数组)相似,但其是一个比swift的array类型更多限制的集合。一个数组可以允许其里面任何位置的插入/删除操作,而栈,只允许,只允许在集合的末端添加新的项(如同push一个新值进栈)。同样的一个栈也只能从末端移除项(如同pop","stack(inout","swaptwovalues例子中,节点类型t是一种类型参数的示例。类型参数指定并命名为一个节点类型,并且紧随在函数名后面,并用一对尖括号括起来(如)。这个尖括号告诉swift那个t是swaptwovalues函数所定义的一个节点类型。因为t是一个节点,swift不会去查找每一个命名为t","temporarya","terrapin","three","tre","true","type","type-saf","typealia","t分别代表tnt和string","t定义了一个名为“某种类型t”的节点提供给后来用。这种将来类型可以在结构体的定义里任何地方表示为“t”。在这种情况下,t","t来表示)来代替实际类型名(如int、string或double)。节点类型名并不是表示t必须是任何类型,但是其规定a和b必须是同一类型的t,而不管t表示任何类型。只有swaptwovalues函数在每次调用时所传入的实际类型决定了t","t被用作append方法的item参数和下标的返回类型。swift因此可以推断出被用作这个特定容器的itemtype的t","t,有一个需要t必须是someclass子类的类型约束;第二个类型参数u,有一个需要u必须遵循someprotocol","u","uinavigationcontrol","undefinedundefin","uno","uppercamelcas","us","valu","valuetofind","valuetofind”。不是所有的swift中的类型都可以用等式符(==)进行比较。例如,如果你创建一个你自己的类或结构体来表示一个复杂的数据模型,那么swift没法猜到对于这个类或结构体而言“等于”的意思。正因如此,这部分代码不能可能保证工作于每个可能的类型t","var","variabl","view","whenev","where语句作为一个类型参数队列的一部分。一个where语句使你能够要求一个关联类型遵循一个特定的协议,以及(或)那个特定的类型参数和关联类型可以是相同的。你可写一个where语句,通过紧随放置wher","where语句的一部分,写在关键字wher","world"],"chapter2/chapter2.html#gitbook_34":["swift","undefinedundefin"],"chapter3/01_About_the_Language_Reference.html#gitbook_35":["block","getter-claus","getter-sett","getter-setter-block","getter-setter方法​​块可以由一个getter子句后跟一个可选的setter子句构成,用大括号括起来,或者由一个setter子句后跟一个gett","grammar","opt","setter-claus","setter-clause­opt","swift","swift语言相对小点,这是由于在swift代码中几乎无处不在的许多常见的的类型,函数以及运算符都由swift标准库来定义。虽然这些类型,函数和运算符不是swift","undefinedundefin"]},"length":16},"tokenStore":{"root":{"0":{"0":{"0":{"1":{"2":{"3":{"docs":{},".":{"4":{"5":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.01410105757931845},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.010752688172043012},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.018421052631578946},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.008928571428571428},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}},".":{"0":{"1":{"2":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}}},"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"2":{"5":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}},"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"docs":{},".":{"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}}},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}},"b":{"1":{"0":{"0":{"0":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"o":{"2":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"x":{"1":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"c":{"docs":{},".":{"3":{"docs":{},"p":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"docs":{}}},"f":{"docs":{},"p":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}},")":{"docs":{},"。":{"docs":{},"小":{"docs":{},"数":{"docs":{},"点":{"docs":{},"两":{"docs":{},"边":{"docs":{},"必":{"docs":{},"须":{"docs":{},"有":{"docs":{},"至":{"docs":{},"少":{"docs":{},"一":{"docs":{},"个":{"docs":{},"十":{"docs":{},"进":{"docs":{},"制":{"docs":{},"数":{"docs":{},"字":{"docs":{},"(":{"docs":{},"或":{"docs":{},"者":{"docs":{},"是":{"docs":{},"十":{"docs":{},"六":{"docs":{},"进":{"docs":{},"制":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},")":{"docs":{},"。":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"还":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"指":{"docs":{},"数":{"docs":{},",":{"docs":{},"在":{"docs":{},"十":{"docs":{},"进":{"docs":{},"制":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"中":{"docs":{},"通":{"docs":{},"过":{"docs":{},"大":{"docs":{},"写":{"docs":{},"或":{"docs":{},"者":{"docs":{},"小":{"docs":{},"写":{"docs":{},"的":{"docs":{},"e":{"docs":{},"来":{"docs":{},"指":{"docs":{},"定":{"docs":{},",":{"docs":{},"在":{"docs":{},"十":{"docs":{},"六":{"docs":{},"进":{"docs":{},"制":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"中":{"docs":{},"通":{"docs":{},"过":{"docs":{},"大":{"docs":{},"写":{"docs":{},"或":{"docs":{},"者":{"docs":{},"小":{"docs":{},"写":{"docs":{},"的":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"代":{"docs":{},"码":{"docs":{},"运":{"docs":{},"行":{"docs":{},"才":{"docs":{},"会":{"docs":{},"继":{"docs":{},"续":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},",":{"docs":{},"当":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"的":{"docs":{},"值":{"docs":{},"非":{"docs":{},"负":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"负":{"docs":{},"数":{"docs":{},",":{"docs":{},"就":{"docs":{},"像":{"docs":{},"代":{"docs":{},"码":{"docs":{},"中":{"docs":{},"那":{"docs":{},"样":{"docs":{},",":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"$":{"1":{"docs":{},",":{"docs":{},"$":{"2":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"docs":{}}}},"docs":{}}},",":{"docs":{},"这":{"docs":{},"时":{"docs":{},"闭":{"docs":{},"包":{"docs":{},"会":{"docs":{},"将":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"输":{"docs":{},"出":{"docs":{},",":{"docs":{},"而":{"docs":{},"m":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}}}}}}}}},"1":{"0":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}}},"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}}},"7":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.02368421052631579},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},"^":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"中":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"为":{"1":{"6":{"docs":{},",":{"docs":{},"则":{"docs":{},"返":{"docs":{},"回":{"6":{"docs":{},",":{"5":{"8":{"docs":{},"返":{"docs":{},"回":{"8":{"docs":{},",":{"5":{"1":{"0":{"docs":{},"返":{"docs":{},"回":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"docs":{}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}},"docs":{}},"docs":{}}},"docs":{}}}}}},"docs":{}},"docs":{}}}}}}}}}}}},".":{"0":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}},"1":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}}},"2":{"3":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509}}},"5":{"docs":{},".":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"8":{"0":{"5":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},",":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"十":{"docs":{},"六":{"docs":{},"进":{"docs":{},"制":{"1":{"docs":{},"f":{"4":{"3":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}},".":{"1":{"8":{"7":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"4":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{}},"5":{"9":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"6":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}},",":{"5":{"8":{"docs":{},",":{"5":{"1":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"变":{"docs":{},"成":{"docs":{},"了":{"1":{"docs":{},",":{"5":{"8":{"docs":{},"变":{"docs":{},"成":{"docs":{},"了":{"5":{"docs":{},",":{"5":{"1":{"0":{"docs":{},"变":{"docs":{},"成":{"docs":{},"了":{"5":{"1":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"docs":{}},"docs":{}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}},"docs":{}},"docs":{}}},"docs":{}}}}},"7":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509}}},"8":{"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{}},"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.009400705052878966},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.012544802867383513},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.01834862385321101},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.010526315789473684},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.10044642857142858},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}},".":{"2":{"1":{"8":{"7":{"5":{"docs":{},"e":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},"e":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}},"docs":{}},"docs":{},".":{"docs":{},".":{"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}}},"_":{"0":{"0":{"0":{"docs":{},"_":{"0":{"0":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},".":{"0":{"0":{"0":{"docs":{},"_":{"0":{"0":{"0":{"docs":{},"_":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"的":{"docs":{},"比":{"docs":{},"较":{"docs":{},"结":{"docs":{},"果":{"docs":{},"是":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"查":{"docs":{},"。":{"docs":{},"类":{"docs":{},"似":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"后":{"docs":{},"变":{"docs":{},"成":{"2":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}}}},"2":{"0":{"0":{"1":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}},"1":{"4":{"docs":{"index.html#gitbook_5":{"ref":"index.html#gitbook_5","tf":0.1111111111111111}}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.008928571428571428}}},"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.007339449541284404}}},"4":{"0":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{}},"5":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.009400705052878966},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.014678899082568808},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.06696428571428571},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},".":{"5":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.009174311926605505},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"docs":{}},"^":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"_":{"0":{"0":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}}},"3":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"2":{"docs":{},"位":{"docs":{},"平":{"docs":{},"台":{"docs":{},"上":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"3":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}}},"9":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},";":{"docs":{},"*":{"docs":{},"&":{"docs":{},"#":{"3":{"9":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}},"docs":{}}}}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.007339449541284404},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.026785714285714284},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.008968609865470852}},".":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},",":{"0":{"docs":{},".":{"1":{"docs":{},"和":{"docs":{},"-":{"2":{"7":{"3":{"docs":{},".":{"1":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}}},"docs":{}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"5":{"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"6":{"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"7":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"可":{"docs":{},"以":{"docs":{},"直":{"docs":{},"接":{"docs":{},"和":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"0":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}},"没":{"docs":{},"有":{"docs":{},"显":{"docs":{},"式":{"docs":{},"声":{"docs":{},"明":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"而":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"中":{"docs":{},"出":{"docs":{},"现":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"会":{"docs":{},"被":{"docs":{},"推":{"docs":{},"测":{"docs":{},"为":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"4":{"0":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.017921146953405017}}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"和":{"3":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{},"-":{"2":{"3":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"并":{"docs":{},"且":{"docs":{},"没":{"docs":{},"有":{"docs":{},"标":{"docs":{},"明":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}},"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.026785714285714284},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},".":{"0":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"7":{"5":{"docs":{},"会":{"docs":{},"变":{"docs":{},"成":{"4":{"docs":{},",":{"docs":{},"-":{"3":{"docs":{},".":{"9":{"docs":{},"会":{"docs":{},"变":{"docs":{},"成":{"3":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}}},"docs":{}}},"docs":{}}}},"docs":{}}}}},"docs":{}},"docs":{}},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}},"5":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571}}},"1":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"docs":{}},"5":{"3":{"5":{"7":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}},"docs":{}},"docs":{}},"docs":{}},"6":{"3":{"7":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}},"docs":{}},"docs":{}},"docs":{}},"8":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"9":{"7":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.024553571428571428}},".":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}},"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}},"6":{"0":{"docs":{},".":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}},"4":{"docs":{},"位":{"docs":{},"平":{"docs":{},"台":{"docs":{},"上":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}}},"9":{"1":{"0":{"5":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571}}},"7":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},".":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}},"5":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.007894736842105263}},".":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"8":{"7":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}},":":{"0":{"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"、":{"1":{"6":{"docs":{},"、":{"3":{"2":{"docs":{},"和":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"位":{"docs":{},"无":{"docs":{},"符":{"docs":{},"号":{"docs":{},"整":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},",":{"3":{"2":{"docs":{},"位":{"docs":{},"有":{"docs":{},"符":{"docs":{},"号":{"docs":{},"整":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}},"除":{"docs":{},"于":{"2":{"docs":{},".":{"5":{"docs":{},"等":{"docs":{},"于":{"3":{"docs":{},"余":{"0":{"docs":{},".":{"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}},"docs":{}}},"docs":{}}}},"docs":{}}},"docs":{}}}},"9":{"0":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"4":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.020089285714285716}},".":{"3":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}},"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}},"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"a":{"docs":{},"g":{"docs":{"index.html#gitbook_5":{"ref":"index.html#gitbook_5","tf":0.1111111111111111},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}}}}}}}}}}},"b":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}},"r":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}}}}}}},"w":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"'":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}},"m":{"docs":{},"b":{"docs":{},"d":{"docs":{},"a":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}},"s":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}}},"s":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"(":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"t":{"docs":{},"来":{"docs":{},"声":{"docs":{},"明":{"docs":{},"常":{"docs":{},"量":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"用":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}},"f":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"s":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"'":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.016600790513833993},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"n":{"docs":{},"e":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}},"o":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"o":{"docs":{},"k":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"p":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"w":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"l":{"docs":{},"a":{"docs":{},"m":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}}}},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"g":{"docs":{},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{"index.html#gitbook_5":{"ref":"index.html#gitbook_5","tf":0.1111111111111111}}}}}},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.008968609865470852}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"e":{"docs":{},".":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"变":{"docs":{},"量":{"docs":{},"运":{"docs":{},"行":{"docs":{},"时":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},",":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"会":{"docs":{},"把":{"docs":{},"它":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"当":{"docs":{},"做":{"docs":{},"e":{"docs":{},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"》":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}}}}},"v":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"(":{"docs":{},"这":{"docs":{},"个":{"docs":{},"协":{"docs":{},"议":{"docs":{},"不":{"docs":{},"会":{"docs":{},"定":{"docs":{},"义":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"是":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"类":{"docs":{},"型":{"docs":{},"所":{"docs":{},"提":{"docs":{},"供":{"docs":{},"的":{"docs":{},"何":{"docs":{},"种":{"docs":{},"信":{"docs":{},"息":{"docs":{},"的":{"docs":{},"别":{"docs":{},"名":{"docs":{},")":{"docs":{},"。":{"docs":{},"尽":{"docs":{},"管":{"docs":{},"如":{"docs":{},"此":{"docs":{},",":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"别":{"docs":{},"名":{"docs":{},"支":{"docs":{},"持":{"docs":{},"一":{"docs":{},"种":{"docs":{},"方":{"docs":{},"法":{"docs":{},"识":{"docs":{},"别":{"docs":{},"在":{"docs":{},"一":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"种":{"docs":{},"使":{"docs":{},"用":{"docs":{},"在":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"中":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"以":{"docs":{},"便":{"docs":{},"保":{"docs":{},"证":{"docs":{},"任":{"docs":{},"何":{"docs":{},"期":{"docs":{},"望":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.07142857142857142},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},"l":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}},"(":{"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}},"\\":{"docs":{},"(":{"docs":{},"p":{"docs":{},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}}}}}}}}}}}}}},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}}},"e":{"docs":{},"w":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"m":{"docs":{},"m":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}},"e":{"docs":{},"d":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}},"t":{"docs":{},"h":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.014336917562724014},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"h":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}},"u":{"docs":{},"n":{"docs":{},"u":{"docs":{},"s":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"c":{"docs":{},"c":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286}}}}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.008928571428571428}}}}}}}},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"d":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}}},"c":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}},"f":{"docs":{},"r":{"docs":{},"i":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"l":{"docs":{},"y":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"p":{"docs":{},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}},"s":{"docs":{},"a":{"docs":{},"y":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}},"b":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}},"a":{"docs":{},"g":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"输":{"docs":{},"出":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"用":{"docs":{},"来":{"docs":{},"输":{"docs":{},"出":{"docs":{},"的":{"docs":{},"全":{"docs":{},"局":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"输":{"docs":{},"出":{"docs":{},"的":{"docs":{},"内":{"docs":{},"容":{"docs":{},"会":{"docs":{},"在":{"docs":{},"最":{"docs":{},"后":{"docs":{},"带":{"docs":{},"换":{"docs":{},"行":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"用":{"docs":{},"x":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},",":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"n":{"docs":{},"将":{"docs":{},"会":{"docs":{},"输":{"docs":{},"出":{"docs":{},"内":{"docs":{},"容":{"docs":{},"到":{"docs":{},"“":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"”":{"docs":{},"面":{"docs":{},"板":{"docs":{},"上":{"docs":{},"。":{"docs":{},"(":{"docs":{},"另":{"docs":{},"一":{"docs":{},"种":{"docs":{},"函":{"docs":{},"数":{"docs":{},"叫":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"(":{"docs":{},"\"":{"docs":{},"\\":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}}},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{},".":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}}}},"c":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"e":{"docs":{},"s":{"docs":{},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"d":{"docs":{},"d":{"docs":{},"e":{"docs":{},"d":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"命":{"docs":{},"名":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"语":{"docs":{},"法":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"行":{"docs":{},"为":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"行":{"docs":{},"为":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"一":{"docs":{},"个":{"docs":{},"存":{"docs":{},"在":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"为":{"docs":{},"一":{"docs":{},"指":{"docs":{},"定":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":5}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"k":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"i":{"docs":{},"c":{"docs":{},"u":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"e":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286}}}}}}}}}}}}}}}}},"e":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"r":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"'":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.047619047619047616}}}}}}}}},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}},"e":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},",":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01046337817638266}},"u":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{},"l":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"并":{"docs":{},"移":{"docs":{},"除":{"docs":{},"值":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"c":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},",":{"docs":{},"该":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"将":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}},"s":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}}}},")":{"docs":{},"/":{"docs":{},"出":{"docs":{},"栈":{"docs":{},"(":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{},"l":{"docs":{},"e":{"docs":{},"r":{"docs":{},":":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"h":{"docs":{},"o":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"e":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}}}}},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"s":{"1":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.034210526315789476}}},"2":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.034210526315789476}},")":{"docs":{},",":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}},"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"index.html#gitbook_5":{"ref":"index.html#gitbook_5","tf":10.444444444444445},"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":10.404761904761905},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":10.00587544065805},"chapter1/chapter1.html#gitbook_8":{"ref":"chapter1/chapter1.html#gitbook_8","tf":10.75},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.06451612903225806},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.029357798165137616},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.034210526315789476},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.03125},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174},"chapter2/chapter2.html#gitbook_34":{"ref":"chapter2/chapter2.html#gitbook_34","tf":10.666666666666666},"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.08333333333333333}},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"这":{"docs":{},"个":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"详":{"docs":{},"情":{"docs":{},"参":{"docs":{},"见":{"docs":{},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"和":{"docs":{},"类":{"docs":{},"型":{"docs":{},"推":{"docs":{},"断":{"docs":{},"(":{"docs":{},"待":{"docs":{},"添":{"docs":{},"加":{"docs":{},"链":{"docs":{},"接":{"docs":{},")":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"没":{"docs":{},"有":{"docs":{},"给":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"插":{"docs":{},"值":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}},"统":{"docs":{},"一":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"语":{"docs":{},"法":{"docs":{},"足":{"docs":{},"够":{"docs":{},"灵":{"docs":{},"活":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"任":{"docs":{},"何":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"包":{"docs":{},"括":{"docs":{},"从":{"docs":{},"最":{"docs":{},"简":{"docs":{},"单":{"docs":{},"的":{"docs":{},"没":{"docs":{},"有":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"字":{"docs":{},"的":{"docs":{},"c":{"docs":{},"风":{"docs":{},"格":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"到":{"docs":{},"复":{"docs":{},"杂":{"docs":{},"的":{"docs":{},"带":{"docs":{},"局":{"docs":{},"部":{"docs":{},"和":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"的":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"也":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"方":{"docs":{},"便":{"docs":{},"对":{"docs":{},"变":{"docs":{},"量":{"docs":{},"本":{"docs":{},"身":{"docs":{},"加":{"1":{"docs":{},"或":{"docs":{},"减":{"1":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}}},"docs":{}}}}}}}}}}}}},"支":{"docs":{},"持":{"docs":{},"基":{"docs":{},"于":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}},"大":{"docs":{},"部":{"docs":{},"分":{"docs":{},"标":{"docs":{},"准":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}}}},"使":{"docs":{},"用":{"docs":{},"自":{"docs":{},"动":{"docs":{},"引":{"docs":{},"用":{"docs":{},"计":{"docs":{},"数":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},")":{"docs":{},"这":{"docs":{},"一":{"docs":{},"机":{"docs":{},"制":{"docs":{},"来":{"docs":{},"跟":{"docs":{},"踪":{"docs":{},"和":{"docs":{},"管":{"docs":{},"理":{"docs":{},"你":{"docs":{},"的":{"docs":{},"应":{"docs":{},"用":{"docs":{},"程":{"docs":{},"序":{"docs":{},"的":{"docs":{},"内":{"docs":{},"存":{"docs":{},"。":{"docs":{},"通":{"docs":{},"常":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"内":{"docs":{},"存":{"docs":{},"管":{"docs":{},"理":{"docs":{},"机":{"docs":{},"制":{"docs":{},"会":{"docs":{},"一":{"docs":{},"直":{"docs":{},"起":{"docs":{},"着":{"docs":{},"作":{"docs":{},"用":{"docs":{},",":{"docs":{},"你":{"docs":{},"无":{"docs":{},"须":{"docs":{},"自":{"docs":{},"己":{"docs":{},"来":{"docs":{},"考":{"docs":{},"虑":{"docs":{},"内":{"docs":{},"存":{"docs":{},"的":{"docs":{},"管":{"docs":{},"理":{"docs":{},"。":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_24","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"测":{"docs":{},"器":{"docs":{},"能":{"docs":{},"够":{"docs":{},"演":{"docs":{},"绎":{"docs":{},"出":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"已":{"docs":{},"经":{"docs":{},"提":{"docs":{},"供":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"属":{"docs":{},"性":{"docs":{},"和":{"docs":{},"通":{"docs":{},"过":{"docs":{},"下":{"docs":{},"标":{"docs":{},"来":{"docs":{},"查":{"docs":{},"找":{"docs":{},"一":{"docs":{},"个":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"元":{"docs":{},"素":{"docs":{},"。":{"docs":{},"这":{"docs":{},"三":{"docs":{},"个":{"docs":{},"功":{"docs":{},"能":{"docs":{},"都":{"docs":{},"达":{"docs":{},"到":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"要":{"docs":{},"求":{"docs":{},"。":{"docs":{},"也":{"docs":{},"就":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"去":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"只":{"docs":{},"要":{"docs":{},"通":{"docs":{},"过":{"docs":{},"简":{"docs":{},"单":{"docs":{},"声":{"docs":{},"明":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"适":{"docs":{},"用":{"docs":{},"于":{"docs":{},"该":{"docs":{},"协":{"docs":{},"议":{"docs":{},"而":{"docs":{},"已":{"docs":{},"。":{"docs":{},"如":{"docs":{},"何":{"docs":{},"实":{"docs":{},"践":{"docs":{},"这":{"docs":{},"样":{"docs":{},"一":{"docs":{},"个":{"docs":{},"空":{"docs":{},"扩":{"docs":{},"展":{"docs":{},",":{"docs":{},"在":{"docs":{},"[":{"docs":{},"d":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"对":{"docs":{},"作":{"docs":{},"用":{"docs":{},"于":{"docs":{},"其":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"s":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"做":{"docs":{},"了":{"docs":{},"些":{"docs":{},"限":{"docs":{},"制":{"docs":{},"。":{"docs":{},"在":{"docs":{},"[":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{},"e":{"docs":{},"s":{"docs":{},"]":{"docs":{},"[":{"5":{"docs":{},"]":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},"中":{"docs":{},",":{"docs":{},"字":{"docs":{},"典":{"docs":{},"的":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"s":{"docs":{},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},",":{"docs":{},"必":{"docs":{},"须":{"docs":{},"有":{"docs":{},"一":{"docs":{},"种":{"docs":{},"方":{"docs":{},"法":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"其":{"docs":{},"是":{"docs":{},"唯":{"docs":{},"一":{"docs":{},"的":{"docs":{},"表":{"docs":{},"示":{"docs":{},"。":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"之":{"docs":{},"所":{"docs":{},"以":{"docs":{},"需":{"docs":{},"要":{"docs":{},"其":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"s":{"docs":{},"是":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"是":{"docs":{},"为":{"docs":{},"了":{"docs":{},"以":{"docs":{},"便":{"docs":{},"于":{"docs":{},"其":{"docs":{},"检":{"docs":{},"查":{"docs":{},"其":{"docs":{},"是":{"docs":{},"否":{"docs":{},"包":{"docs":{},"含":{"docs":{},"某":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"如":{"docs":{},"无":{"docs":{},"此":{"docs":{},"需":{"docs":{},"求":{"docs":{},",":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"即":{"docs":{},"不":{"docs":{},"会":{"docs":{},"告":{"docs":{},"诉":{"docs":{},"是":{"docs":{},"否":{"docs":{},"插":{"docs":{},"入":{"docs":{},"或":{"docs":{},"者":{"docs":{},"替":{"docs":{},"换":{"docs":{},"了":{"docs":{},"某":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"也":{"docs":{},"不":{"docs":{},"能":{"docs":{},"查":{"docs":{},"找":{"docs":{},"到":{"docs":{},"已":{"docs":{},"经":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"字":{"docs":{},"典":{"docs":{},"里":{"docs":{},"面":{"docs":{},"的":{"docs":{},"给":{"docs":{},"定":{"docs":{},"k":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"允":{"docs":{},"许":{"docs":{},"你":{"docs":{},"定":{"docs":{},"义":{"docs":{},"你":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"自":{"docs":{},"定":{"docs":{},"义":{"docs":{},"类":{"docs":{},"、":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"作":{"docs":{},"用":{"docs":{},"于":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"如":{"docs":{},"同":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"字":{"docs":{},"典":{"docs":{},"(":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},")":{"docs":{},"类":{"docs":{},"型":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},",":{"docs":{},"另":{"docs":{},"外":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"值":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"自":{"docs":{},"己":{"docs":{},"写":{"docs":{},"字":{"docs":{},"典":{"docs":{},",":{"docs":{},"你":{"docs":{},"或":{"docs":{},"许":{"docs":{},"会":{"docs":{},"定":{"docs":{},"义":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"为":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"和":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"中":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"该":{"docs":{},"协":{"docs":{},"议":{"docs":{},"要":{"docs":{},"求":{"docs":{},"任":{"docs":{},"何":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"实":{"docs":{},"现":{"docs":{},"等":{"docs":{},"式":{"docs":{},"符":{"docs":{},"(":{"docs":{},"=":{"docs":{},"=":{"docs":{},")":{"docs":{},"和":{"docs":{},"不":{"docs":{},"等":{"docs":{},"符":{"docs":{},"(":{"docs":{},"!":{"docs":{},"=":{"docs":{},")":{"docs":{},"对":{"docs":{},"任":{"docs":{},"何":{"docs":{},"两":{"docs":{},"个":{"docs":{},"该":{"docs":{},"类":{"docs":{},"型":{"docs":{},"进":{"docs":{},"行":{"docs":{},"比":{"docs":{},"较":{"docs":{},"。":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"类":{"docs":{},"型":{"docs":{},"自":{"docs":{},"动":{"docs":{},"支":{"docs":{},"持":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"考":{"docs":{},",":{"docs":{},"你":{"docs":{},"不":{"docs":{},"用":{"docs":{},"在":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"定":{"docs":{},"义":{"docs":{},"部":{"docs":{},"分":{"docs":{},"声":{"docs":{},"明":{"docs":{},"一":{"docs":{},"个":{"docs":{},"具":{"docs":{},"体":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"。":{"docs":{},"由":{"docs":{},"于":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"要":{"docs":{},"求":{"docs":{},",":{"docs":{},"只":{"docs":{},"要":{"docs":{},"通":{"docs":{},"过":{"docs":{},"简":{"docs":{},"单":{"docs":{},"的":{"docs":{},"查":{"docs":{},"找":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"参":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"就":{"docs":{},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"需":{"docs":{},"要":{"docs":{},"强":{"docs":{},"大":{"docs":{},"特":{"docs":{},"征":{"docs":{},"中":{"docs":{},"的":{"docs":{},"其":{"docs":{},"中":{"docs":{},"一":{"docs":{},"个":{"docs":{},",":{"docs":{},"许":{"docs":{},"多":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"代":{"docs":{},"码":{"docs":{},"构":{"docs":{},"建":{"docs":{},"出":{"docs":{},"来":{"docs":{},"的":{"docs":{},"。":{"docs":{},"事":{"docs":{},"实":{"docs":{},"上":{"docs":{},",":{"docs":{},"你":{"docs":{},"已":{"docs":{},"经":{"docs":{},"使":{"docs":{},"用":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"贯":{"docs":{},"穿":{"docs":{},"着":{"docs":{},"整":{"docs":{},"个":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"言":{"docs":{},"相":{"docs":{},"对":{"docs":{},"小":{"docs":{},"点":{"docs":{},",":{"docs":{},"这":{"docs":{},"是":{"docs":{},"由":{"docs":{},"于":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"代":{"docs":{},"码":{"docs":{},"中":{"docs":{},"几":{"docs":{},"乎":{"docs":{},"无":{"docs":{},"处":{"docs":{},"不":{"docs":{},"在":{"docs":{},"的":{"docs":{},"许":{"docs":{},"多":{"docs":{},"常":{"docs":{},"见":{"docs":{},"的":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"以":{"docs":{},"及":{"docs":{},"运":{"docs":{},"算":{"docs":{},"符":{"docs":{},"都":{"docs":{},"由":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"来":{"docs":{},"定":{"docs":{},"义":{"docs":{},"。":{"docs":{},"虽":{"docs":{},"然":{"docs":{},"这":{"docs":{},"些":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"和":{"docs":{},"运":{"docs":{},"算":{"docs":{},"符":{"docs":{},"不":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.041666666666666664}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.006324110671936759},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},"中":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"到":{"docs":{},"的":{"docs":{},"子":{"docs":{},"句":{"docs":{},"之":{"docs":{},"后":{"docs":{},",":{"docs":{},"程":{"docs":{},"序":{"docs":{},"会":{"docs":{},"退":{"docs":{},"出":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"语":{"docs":{},"句":{"docs":{},",":{"docs":{},"并":{"docs":{},"不":{"docs":{},"会":{"docs":{},"继":{"docs":{},"续":{"docs":{},"向":{"docs":{},"下":{"docs":{},"运":{"docs":{},"行":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"每":{"docs":{},"个":{"docs":{},"子":{"docs":{},"句":{"docs":{},"结":{"docs":{},"尾":{"docs":{},"写":{"docs":{},"b":{"docs":{},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"句":{"docs":{},"的":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"强":{"docs":{},"制":{"docs":{},"形":{"docs":{},"式":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"查":{"docs":{},"操":{"docs":{},"作":{"docs":{},"符":{"docs":{},"(":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"s":{"docs":{},"(":{"docs":{},"&":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"交":{"docs":{},"换":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"可":{"docs":{},"以":{"docs":{},"交":{"docs":{},"换":{"docs":{},"b":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"到":{"docs":{},"a":{"docs":{},",":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"交":{"docs":{},"换":{"docs":{},"a":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"到":{"docs":{},"b":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"交":{"docs":{},"换":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"非":{"docs":{},"常":{"docs":{},"有":{"docs":{},"用":{"docs":{},"的":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"它":{"docs":{},"只":{"docs":{},"能":{"docs":{},"交":{"docs":{},"换":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"想":{"docs":{},"要":{"docs":{},"交":{"docs":{},"换":{"docs":{},"两":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"或":{"docs":{},"者":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"s":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"和":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"函":{"docs":{},"数":{"docs":{},"主":{"docs":{},"题":{"docs":{},"都":{"docs":{},"是":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},",":{"docs":{},"唯":{"docs":{},"一":{"docs":{},"不":{"docs":{},"同":{"docs":{},"之":{"docs":{},"处":{"docs":{},"就":{"docs":{},"在":{"docs":{},"于":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"不":{"docs":{},"同":{"docs":{},",":{"docs":{},"分":{"docs":{},"别":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"、":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"和":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"&":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}},"<":{"docs":{},"t":{"docs":{},">":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}}},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{},"是":{"docs":{},"一":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"的":{"docs":{},"示":{"docs":{},"例":{"docs":{},"。":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"指":{"docs":{},"定":{"docs":{},"并":{"docs":{},"命":{"docs":{},"名":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"紧":{"docs":{},"随":{"docs":{},"在":{"docs":{},"函":{"docs":{},"数":{"docs":{},"名":{"docs":{},"后":{"docs":{},"面":{"docs":{},",":{"docs":{},"并":{"docs":{},"用":{"docs":{},"一":{"docs":{},"对":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"括":{"docs":{},"起":{"docs":{},"来":{"docs":{},"(":{"docs":{},"如":{"docs":{},"<":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"中":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},")":{"docs":{},",":{"docs":{},"或":{"docs":{},"作":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"或":{"docs":{},"用":{"docs":{},"作":{"docs":{},"函":{"docs":{},"数":{"docs":{},"主":{"docs":{},"体":{"docs":{},"中":{"docs":{},"的":{"docs":{},"注":{"docs":{},"释":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},",":{"docs":{},"被":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"所":{"docs":{},"代":{"docs":{},"表":{"docs":{},"的":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"不":{"docs":{},"管":{"docs":{},"函":{"docs":{},"数":{"docs":{},"任":{"docs":{},"何":{"docs":{},"时":{"docs":{},"候":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"都":{"docs":{},"会":{"docs":{},"被":{"docs":{},"实":{"docs":{},"际":{"docs":{},"类":{"docs":{},"型":{"docs":{},"所":{"docs":{},"替":{"docs":{},"换":{"docs":{},"(":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"当":{"docs":{},"函":{"docs":{},"数":{"docs":{},"第":{"docs":{},"一":{"docs":{},"次":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"t":{"docs":{},"被":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"替":{"docs":{},"换":{"docs":{},",":{"docs":{},"第":{"docs":{},"二":{"docs":{},"次":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"被":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"主":{"docs":{},"体":{"docs":{},"和":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"是":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"而":{"docs":{},"且":{"docs":{},",":{"docs":{},"只":{"docs":{},"在":{"docs":{},"第":{"docs":{},"一":{"docs":{},"行":{"docs":{},"稍":{"docs":{},"微":{"docs":{},"有":{"docs":{},"那":{"docs":{},"么":{"docs":{},"一":{"docs":{},"点":{"docs":{},"点":{"docs":{},"不":{"docs":{},"同":{"docs":{},"于":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"除":{"docs":{},"了":{"docs":{},"只":{"docs":{},"要":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"两":{"docs":{},"个":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"值":{"docs":{},"是":{"docs":{},"同":{"docs":{},"一":{"docs":{},"类":{"docs":{},"型":{"docs":{},"外":{"docs":{},",":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"作":{"docs":{},"为":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"。":{"docs":{},"每":{"docs":{},"次":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"泛":{"docs":{},"型":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"或":{"docs":{},"一":{"docs":{},"个":{"docs":{},"存":{"docs":{},"储":{"docs":{},"单":{"docs":{},"一":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"集":{"docs":{},",":{"docs":{},"如":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},")":{"docs":{},",":{"docs":{},"通":{"docs":{},"常":{"docs":{},"用":{"docs":{},"一":{"docs":{},"单":{"docs":{},"个":{"docs":{},"字":{"docs":{},"母":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"w":{"docs":{},"i":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}},"m":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"y":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"(":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}},"a":{"docs":{},"g":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"(":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}},"。":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"展":{"docs":{},"示":{"docs":{},"的":{"docs":{},"是":{"docs":{},"用":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"a":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"和":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"b":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"时":{"docs":{},",":{"docs":{},"在":{"docs":{},"圆":{"docs":{},"括":{"docs":{},"号":{"docs":{},"中":{"docs":{},"传":{"docs":{},"给":{"docs":{},"它":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"实":{"docs":{},"参":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"s":{"docs":{},"a":{"docs":{},"y":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"包":{"docs":{},"含":{"docs":{},"在":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"体":{"docs":{},"中":{"docs":{},",":{"docs":{},"先":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"名":{"docs":{},"为":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"常":{"docs":{},"量":{"docs":{},",":{"docs":{},"同":{"docs":{},"时":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"了":{"docs":{},"给":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"简":{"docs":{},"单":{"docs":{},"问":{"docs":{},"候":{"docs":{},"消":{"docs":{},"息":{"docs":{},"。":{"docs":{},"然":{"docs":{},"后":{"docs":{},"用":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"把":{"docs":{},"这":{"docs":{},"个":{"docs":{},"问":{"docs":{},"候":{"docs":{},"返":{"docs":{},"回":{"docs":{},"出":{"docs":{},"去":{"docs":{},"。":{"docs":{},"一":{"docs":{},"旦":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"f":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}}}},"t":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":1.6776758409785932}}}}}},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.025688073394495414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},".":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"p":{"docs":{},"r":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.056910569105691054}},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"o":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}}}}}}}}}}}}},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"l":{"docs":{},"f":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},".":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}}}},"被":{"docs":{},"用":{"docs":{},"来":{"docs":{},"区":{"docs":{},"别":{"docs":{},"实":{"docs":{},"例":{"docs":{},"变":{"docs":{},"量":{"docs":{},"。":{"docs":{},"当":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},",":{"docs":{},"像":{"docs":{},"传":{"docs":{},"入":{"docs":{},"函":{"docs":{},"数":{"docs":{},"参":{"docs":{},"数":{"docs":{},"一":{"docs":{},"样":{"docs":{},"给":{"docs":{},"类":{"docs":{},"传":{"docs":{},"入":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"。":{"docs":{},"每":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"都":{"docs":{},"需":{"docs":{},"要":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"—":{"docs":{},"—":{"docs":{},"无":{"docs":{},"论":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"声":{"docs":{},"明":{"docs":{},"(":{"docs":{},"就":{"docs":{},"像":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},")":{"docs":{},"还":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"(":{"docs":{},"就":{"docs":{},"像":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"q":{"docs":{},"u":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}},"r":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}},"e":{"docs":{},".":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"(":{"docs":{},"\"":{"6":{"docs":{},":":{"0":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}},"和":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}}}}}}}}}}}}}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.08333333333333333}},"e":{"docs":{},"­":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.08333333333333333}}}}}}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"h":{"docs":{},"a":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.007050528789659225}},".":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"类":{"docs":{},"缺":{"docs":{},"少":{"docs":{},"了":{"docs":{},"一":{"docs":{},"些":{"docs":{},"重":{"docs":{},"要":{"docs":{},"的":{"docs":{},"东":{"docs":{},"西":{"docs":{},":":{"docs":{},"一":{"docs":{},"个":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},"来":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"类":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"p":{"docs":{},"p":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"[":{"1":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}}}}}}}}}},"u":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}},"r":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.012925969447708578}}}}}}}}}},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.01527614571092832}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"e":{"docs":{},"时":{"docs":{},"候":{"docs":{},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"用":{"docs":{},"来":{"docs":{},"标":{"docs":{},"记":{"docs":{},"一":{"docs":{},"个":{"docs":{},"会":{"docs":{},"修":{"docs":{},"改":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"。":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"i":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}},"x":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}},"z":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"(":{"1":{"0":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}}}}}},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"(":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"a":{"docs":{},"k":{"docs":{},"e":{"docs":{},"s":{"docs":{},"a":{"docs":{},"c":{"docs":{},"l":{"docs":{},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}},"e":{"docs":{},"(":{"docs":{},"c":{"docs":{},"l":{"docs":{},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}}}}}}}}}}}}}}},"<":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.007473841554559043}}}}},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"中":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"。":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"参":{"docs":{},"数":{"docs":{},"是":{"docs":{},"类":{"docs":{},"型":{"docs":{},"c":{"1":{"docs":{},",":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"参":{"docs":{},"数":{"docs":{},"是":{"docs":{},"类":{"docs":{},"型":{"docs":{},"c":{"2":{"docs":{},"。":{"docs":{},"c":{"1":{"docs":{},"和":{"docs":{},"c":{"2":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}}}},"docs":{}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}},"包":{"docs":{},"含":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"1":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}}}}}},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},">":{"docs":{},"(":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}},"u":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"r":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":3.359649122807017}},"(":{"docs":{},"[":{"1":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.021052631578947368}}}}}}}},"u":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.02766798418972332}},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}},".":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695}},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"计":{"docs":{},"算":{"docs":{},"数":{"docs":{},"组":{"docs":{},"l":{"docs":{},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}},"检":{"docs":{},"查":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"是":{"docs":{},"否":{"docs":{},"为":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"在":{"docs":{},"循":{"docs":{},"环":{"docs":{},"末":{"docs":{},"尾":{"docs":{},",":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}}}},"r":{"docs":{},"k":{"docs":{},"l":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}}}}}},"c":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"e":{"docs":{},"c":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"f":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.011750881316098707}},"e":{"docs":{},"(":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}}}}}}}}}}}}},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}},"r":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.025089605734767026}},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}}}}},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.007473841554559043}},"(":{"docs":{},"栈":{"docs":{},")":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"栈":{"docs":{},"是":{"docs":{},"一":{"docs":{},"系":{"docs":{},"列":{"docs":{},"值":{"docs":{},"域":{"docs":{},"的":{"docs":{},"集":{"docs":{},"合":{"docs":{},",":{"docs":{},"和":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"(":{"docs":{},"数":{"docs":{},"组":{"docs":{},")":{"docs":{},"相":{"docs":{},"似":{"docs":{},",":{"docs":{},"但":{"docs":{},"其":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"比":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"更":{"docs":{},"多":{"docs":{},"限":{"docs":{},"制":{"docs":{},"的":{"docs":{},"集":{"docs":{},"合":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"数":{"docs":{},"组":{"docs":{},"可":{"docs":{},"以":{"docs":{},"允":{"docs":{},"许":{"docs":{},"其":{"docs":{},"里":{"docs":{},"面":{"docs":{},"任":{"docs":{},"何":{"docs":{},"位":{"docs":{},"置":{"docs":{},"的":{"docs":{},"插":{"docs":{},"入":{"docs":{},"/":{"docs":{},"删":{"docs":{},"除":{"docs":{},"操":{"docs":{},"作":{"docs":{},",":{"docs":{},"而":{"docs":{},"栈":{"docs":{},",":{"docs":{},"只":{"docs":{},"允":{"docs":{},"许":{"docs":{},",":{"docs":{},"只":{"docs":{},"允":{"docs":{},"许":{"docs":{},"在":{"docs":{},"集":{"docs":{},"合":{"docs":{},"的":{"docs":{},"末":{"docs":{},"端":{"docs":{},"添":{"docs":{},"加":{"docs":{},"新":{"docs":{},"的":{"docs":{},"项":{"docs":{},"(":{"docs":{},"如":{"docs":{},"同":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"值":{"docs":{},"进":{"docs":{},"栈":{"docs":{},")":{"docs":{},"。":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"栈":{"docs":{},"也":{"docs":{},"只":{"docs":{},"能":{"docs":{},"从":{"docs":{},"末":{"docs":{},"端":{"docs":{},"移":{"docs":{},"除":{"docs":{},"项":{"docs":{},"(":{"docs":{},"如":{"docs":{},"同":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"<":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"s":{"docs":{},".":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"c":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"d":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}},"u":{"docs":{},"n":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}}}},"如":{"docs":{},"何":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}},"单":{"docs":{},"例":{"docs":{},"来":{"docs":{},"存":{"docs":{},"储":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},",":{"docs":{},"然":{"docs":{},"后":{"docs":{},"压":{"docs":{},"了":{"docs":{},"三":{"docs":{},"个":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"进":{"docs":{},"栈":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"也":{"docs":{},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"单":{"docs":{},"例":{"docs":{},",":{"docs":{},"并":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"包":{"docs":{},"含":{"docs":{},"三":{"docs":{},"个":{"docs":{},"同":{"docs":{},"栈":{"docs":{},"里":{"docs":{},"一":{"docs":{},"样":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"。":{"docs":{},"即":{"docs":{},"便":{"docs":{},"栈":{"docs":{},"和":{"docs":{},"数":{"docs":{},"组":{"docs":{},"否":{"docs":{},"是":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"但":{"docs":{},"他":{"docs":{},"们":{"docs":{},"都":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"而":{"docs":{},"且":{"docs":{},"他":{"docs":{},"们":{"docs":{},"都":{"docs":{},"包":{"docs":{},"含":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"值":{"docs":{},"。":{"docs":{},"你":{"docs":{},"因":{"docs":{},"此":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"a":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"用":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"作":{"docs":{},"为":{"docs":{},"它":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"a":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"函":{"docs":{},"数":{"docs":{},"正":{"docs":{},"确":{"docs":{},"的":{"docs":{},"显":{"docs":{},"示":{"docs":{},"了":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"同":{"docs":{},"创":{"docs":{},"建":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},"其":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"任":{"docs":{},"何":{"docs":{},"有":{"docs":{},"效":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"栈":{"docs":{},",":{"docs":{},"这":{"docs":{},"种":{"docs":{},"方":{"docs":{},"式":{"docs":{},"如":{"docs":{},"同":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"基":{"docs":{},"本":{"docs":{},"上":{"docs":{},"和":{"docs":{},"非":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"相":{"docs":{},"同":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"的":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"为":{"docs":{},"t":{"docs":{},"代":{"docs":{},"替":{"docs":{},"了":{"docs":{},"实":{"docs":{},"际":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"包":{"docs":{},"含":{"docs":{},"在":{"docs":{},"一":{"docs":{},"对":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"里":{"docs":{},"(":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"t":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"的":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"保":{"docs":{},"证":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"所":{"docs":{},"使":{"docs":{},"用":{"docs":{},"的":{"docs":{},"适":{"docs":{},"用":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"这":{"docs":{},"个":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"后":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"将":{"docs":{},"任":{"docs":{},"何":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"当":{"docs":{},"作":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.007339449541284404}}},"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0282021151586369},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.025089605734767026},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":1.7051987767584096},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.09523809523809523},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.07105263157894737},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.011857707509881422},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01046337817638266}},"(":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}},"w":{"docs":{},"i":{"docs":{},"d":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}},".":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}},"”":{"docs":{},"的":{"docs":{},"意":{"docs":{},"思":{"docs":{},"是":{"docs":{},"“":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"任":{"docs":{},"意":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}},"和":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"解":{"docs":{},"析":{"docs":{},"可":{"docs":{},"选":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"t":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"作":{"docs":{},"用":{"docs":{},"是":{"docs":{},"将":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},"。":{"docs":{},"然":{"docs":{},"而":{"docs":{},",":{"docs":{},"并":{"docs":{},"不":{"docs":{},"是":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"一":{"docs":{},"个":{"docs":{},"整":{"docs":{},"数":{"docs":{},"。":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"1":{"2":{"3":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"数":{"docs":{},"字":{"1":{"2":{"3":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"你":{"docs":{},"绝":{"docs":{},"对":{"docs":{},"不":{"docs":{},"可":{"docs":{},"能":{"docs":{},"不":{"docs":{},"小":{"docs":{},"心":{"docs":{},"传":{"docs":{},"进":{"docs":{},"去":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}},"名":{"docs":{},"字":{"docs":{},"为":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"会":{"docs":{},"阻":{"docs":{},"止":{"docs":{},"你":{"docs":{},"不":{"docs":{},"小":{"docs":{},"心":{"docs":{},"传":{"docs":{},"入":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{},"l":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}},"c":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}},"u":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}},"i":{"docs":{},"l":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}},"u":{"docs":{},"c":{"docs":{},"c":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"e":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.06504065040650407}},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"o":{"docs":{},"r":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"对":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"和":{"docs":{},"c":{"docs":{},"l":{"docs":{},"u":{"docs":{},"b":{"docs":{},"s":{"docs":{},"返":{"docs":{},"回":{"docs":{},"“":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"”":{"docs":{},",":{"docs":{},"对":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"返":{"docs":{},"回":{"docs":{},"“":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"来":{"docs":{},"描":{"docs":{},"述":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"四":{"docs":{},"种":{"docs":{},"花":{"docs":{},"色":{"docs":{},",":{"docs":{},"并":{"docs":{},"分":{"docs":{},"别":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}},"o":{"docs":{},"f":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"(":{"4":{"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"n":{"docs":{},"r":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}}}}}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}}}}},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}}}},"b":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"(":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}}}}}},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.007905138339920948}}}}}}}},"r":{"docs":{},"v":{"docs":{},"e":{"docs":{},"y":{"docs":{},"a":{"docs":{},"n":{"docs":{},"s":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"e":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"n":{"docs":{},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}},"i":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}}}}}},"y":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}},"u":{"0":{"0":{"0":{"1":{"docs":{},"f":{"4":{"9":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"2":{"6":{"6":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"d":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"index.html#gitbook_5":{"ref":"index.html#gitbook_5","tf":0.1111111111111111},"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter1/chapter1.html#gitbook_8":{"ref":"chapter1/chapter1.html#gitbook_8","tf":0.25},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/09_Classes_and_Structures.html#gitbook_17":{"ref":"chapter2/09_Classes_and_Structures.html#gitbook_17","tf":0.5},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857},"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_24","tf":0.16666666666666666},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087},"chapter2/chapter2.html#gitbook_34":{"ref":"chapter2/chapter2.html#gitbook_34","tf":0.3333333333333333},"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.041666666666666664}}}}}}}}}}}}}},"r":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":1.7327217125382262}},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}}}}}}}}}},"o":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"w":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"w":{"docs":{},"r":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"u":{"docs":{},"s":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}}}}}}}}},".":{"docs":{},"g":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},".":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{},"t":{"1":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}},"(":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"接":{"docs":{},"受":{"docs":{},"一":{"docs":{},"个":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"这":{"docs":{},"个":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"现":{"docs":{},"有":{"docs":{},"的":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"。":{"docs":{},"注":{"docs":{},"意":{"docs":{},",":{"docs":{},"你":{"docs":{},"并":{"docs":{},"不":{"docs":{},"能":{"docs":{},"传":{"docs":{},"入":{"docs":{},"任":{"docs":{},"意":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"只":{"docs":{},"能":{"docs":{},"传":{"docs":{},"入":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"进":{"docs":{},"行":{"docs":{},"相":{"docs":{},"加":{"docs":{},"。":{"docs":{},"目":{"docs":{},"标":{"docs":{},"常":{"docs":{},"量":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"被":{"docs":{},"推":{"docs":{},"测":{"docs":{},"为":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"是":{"docs":{},"两":{"docs":{},"个":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"3":{"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"8":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},".":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},",":{"docs":{},"除":{"docs":{},"非":{"docs":{},"你":{"docs":{},"真":{"docs":{},"的":{"docs":{},"需":{"docs":{},"要":{"docs":{},"存":{"docs":{},"储":{"docs":{},"一":{"docs":{},"个":{"docs":{},"和":{"docs":{},"当":{"docs":{},"前":{"docs":{},"平":{"docs":{},"台":{"docs":{},"原":{"docs":{},"生":{"docs":{},"字":{"docs":{},"长":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"无":{"docs":{},"符":{"docs":{},"号":{"docs":{},"整":{"docs":{},"数":{"docs":{},"。":{"docs":{},"除":{"docs":{},"了":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},",":{"docs":{},"最":{"docs":{},"好":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"即":{"docs":{},"使":{"docs":{},"你":{"docs":{},"要":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"值":{"docs":{},"已":{"docs":{},"知":{"docs":{},"是":{"docs":{},"非":{"docs":{},"负":{"docs":{},"的":{"docs":{},"。":{"docs":{},"统":{"docs":{},"一":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"v":{"docs":{},"i":{"docs":{},"g":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}}}}}}}}}}}},"+":{"0":{"0":{"2":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"6":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}},"1":{"docs":{},"f":{"4":{"3":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{}},"9":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}}},"2":{"6":{"6":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}},"docs":{},"d":{"8":{"3":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}},"docs":{}},"docs":{},"c":{"3":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}}}},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}},"m":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.013438735177865613},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}},"t":{"docs":{},"f":{"1":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}},"docs":{}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}},"docs":{},"-":{"1":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.014678899082568808}}},"docs":{}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.014678899082568808}},"u":{"docs":{},"t":{"docs":{},"f":{"docs":{},"-":{"1":{"6":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":1.6666666666666665}}}}}}}}},"docs":{}},"docs":{}}}}}},"docs":{}}}}},"w":{"docs":{},"w":{"docs":{},"d":{"docs":{},"c":{"docs":{"index.html#gitbook_5":{"ref":"index.html#gitbook_5","tf":0.1111111111111111}}}}},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.015625},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"k":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}}},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},",":{"docs":{},"只":{"docs":{},"在":{"docs":{},"冒":{"docs":{},"号":{"docs":{},"后":{"docs":{},"面":{"docs":{},"写":{"docs":{},"接":{"docs":{},"口":{"docs":{},"或":{"docs":{},"者":{"docs":{},"类":{"docs":{},"名":{"docs":{},"。":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"句":{"docs":{},"作":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"队":{"docs":{},"列":{"docs":{},"的":{"docs":{},"一":{"docs":{},"部":{"docs":{},"分":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},"使":{"docs":{},"你":{"docs":{},"能":{"docs":{},"够":{"docs":{},"要":{"docs":{},"求":{"docs":{},"一":{"docs":{},"个":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"一":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"的":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"(":{"docs":{},"或":{"docs":{},")":{"docs":{},"那":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"和":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"可":{"docs":{},"以":{"docs":{},"是":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},",":{"docs":{},"通":{"docs":{},"过":{"docs":{},"紧":{"docs":{},"随":{"docs":{},"放":{"docs":{},"置":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"一":{"docs":{},"部":{"docs":{},"分":{"docs":{},",":{"docs":{},"写":{"docs":{},"在":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"e":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}}}}},"i":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"i":{"docs":{},"d":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"l":{"docs":{},"a":{"docs":{},"b":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"l":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"d":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}},"s":{"docs":{},"e":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"n":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"t":{"docs":{},"h":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"e":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}},"e":{"docs":{},"变":{"docs":{},"量":{"docs":{},"添":{"docs":{},"加":{"docs":{},"了":{"docs":{},"类":{"docs":{},"型":{"docs":{},"标":{"docs":{},"注":{"docs":{},",":{"docs":{},"表":{"docs":{},"示":{"docs":{},"这":{"docs":{},"个":{"docs":{},"变":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"'":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"r":{"docs":{},"i":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_24","tf":0.16666666666666666}},"为":{"docs":{},"了":{"docs":{},"能":{"docs":{},"帮":{"docs":{},"助":{"docs":{},"你":{"docs":{},"管":{"docs":{},"理":{"docs":{},"内":{"docs":{},"存":{"docs":{},",":{"docs":{},"需":{"docs":{},"要":{"docs":{},"更":{"docs":{},"多":{"docs":{},"的":{"docs":{},"关":{"docs":{},"于":{"docs":{},"你":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"之":{"docs":{},"间":{"docs":{},"关":{"docs":{},"系":{"docs":{},"的":{"docs":{},"信":{"docs":{},"息":{"docs":{},"。":{"docs":{},"本":{"docs":{},"章":{"docs":{},"描":{"docs":{},"述":{"docs":{},"了":{"docs":{},"这":{"docs":{},"些":{"docs":{},"情":{"docs":{},"况":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"为":{"docs":{},"你":{"docs":{},"示":{"docs":{},"范":{"docs":{},"怎":{"docs":{},"样":{"docs":{},"启":{"docs":{},"用":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_24","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"会":{"docs":{},"分":{"docs":{},"配":{"docs":{},"一":{"docs":{},"大":{"docs":{},"块":{"docs":{},"内":{"docs":{},"存":{"docs":{},"用":{"docs":{},"来":{"docs":{},"储":{"docs":{},"存":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"信":{"docs":{},"息":{"docs":{},"。":{"docs":{},"内":{"docs":{},"存":{"docs":{},"中":{"docs":{},"会":{"docs":{},"包":{"docs":{},"含":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"信":{"docs":{},"息":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"这":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"所":{"docs":{},"有":{"docs":{},"相":{"docs":{},"关":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"此":{"docs":{},"外":{"docs":{},",":{"docs":{},"当":{"docs":{},"实":{"docs":{},"例":{"docs":{},"不":{"docs":{},"再":{"docs":{},"被":{"docs":{},"使":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_24","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"跟":{"docs":{},"踪":{"docs":{},"和":{"docs":{},"计":{"docs":{},"算":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"实":{"docs":{},"例":{"docs":{},"正":{"docs":{},"在":{"docs":{},"被":{"docs":{},"多":{"docs":{},"少":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"常":{"docs":{},"量":{"docs":{},"和":{"docs":{},"变":{"docs":{},"量":{"docs":{},"所":{"docs":{},"引":{"docs":{},"用":{"docs":{},"。":{"docs":{},"哪":{"docs":{},"怕":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"引":{"docs":{},"用":{"docs":{},"数":{"docs":{},"为":{"docs":{},"一":{"docs":{},",":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_24":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_24","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"a":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}},"性":{"docs":{},"质":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"存":{"docs":{},"储":{"docs":{},"值":{"docs":{},"。":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"提":{"docs":{},"供":{"docs":{},"两":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},":":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"和":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{},",":{"docs":{},"从":{"docs":{},"栈":{"docs":{},"中":{"docs":{},"压":{"docs":{},"进":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},"和":{"docs":{},"移":{"docs":{},"除":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"方":{"docs":{},"法":{"docs":{},"标":{"docs":{},"记":{"docs":{},"为":{"docs":{},"可":{"docs":{},"变":{"docs":{},"的":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"他":{"docs":{},"们":{"docs":{},"需":{"docs":{},"要":{"docs":{},"修":{"docs":{},"改":{"docs":{},"(":{"docs":{},"或":{"docs":{},"转":{"docs":{},"换":{"docs":{},")":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.020553359683794466},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}},"g":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}},"t":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.008695652173913044}}}}}}},"u":{"docs":{},"t":{"docs":{},"o":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"d":{"docs":{},"i":{"docs":{},"o":{"docs":{},"s":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"e":{"docs":{},".":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"被":{"docs":{},"定":{"docs":{},"义":{"docs":{},"为":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"别":{"docs":{},"名":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"是":{"docs":{},"别":{"docs":{},"名":{"docs":{},",":{"docs":{},"a":{"docs":{},"u":{"docs":{},"d":{"docs":{},"i":{"docs":{},"o":{"docs":{},"s":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},".":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"实":{"docs":{},"际":{"docs":{},"上":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},".":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"会":{"docs":{},"给":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"u":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{},"赋":{"docs":{},"一":{"docs":{},"个":{"docs":{},"初":{"docs":{},"值":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"j":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}},".":{"docs":{},".":{"docs":{},"b":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}},"b":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.024390243902439025}},"e":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"t":{"1":{"docs":{},"s":{"docs":{},"c":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}}}}}}}}}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.023853211009174313}},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}},"e":{"docs":{},"r":{"docs":{},"常":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"i":{"docs":{},"f":{"docs":{},"语":{"docs":{},"句":{"docs":{},"的":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"分":{"docs":{},"支":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"。":{"docs":{},"它":{"docs":{},"已":{"docs":{},"经":{"docs":{},"被":{"docs":{},"可":{"docs":{},"选":{"docs":{},"包":{"docs":{},"含":{"docs":{},"的":{"docs":{},"值":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"过":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"再":{"docs":{},"使":{"docs":{},"用":{"docs":{},"!":{"docs":{},"后":{"docs":{},"缀":{"docs":{},"来":{"docs":{},"获":{"docs":{},"取":{"docs":{},"它":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"c":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}}}}},"d":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"o":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"e":{"docs":{},"(":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}},"j":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.007050528789659225}}}}}},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.02894736842105263}}}}}},"p":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}},";":{"docs":{},"&":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.013392857142857142}}}}}}}}},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"e":{"docs":{},"r":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"y":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"中":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"2":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01195814648729447}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"y":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"m":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"(":{"docs":{},"[":{"1":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}}}}}}}}}}}}}}}},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.009486166007905139}},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.8333333333333333}}}}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"代":{"docs":{},"表":{"docs":{},"任":{"docs":{},"何":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"表":{"docs":{},"示":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"除":{"docs":{},"了":{"docs":{},"方":{"docs":{},"法":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.047619047619047616},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}},"s":{"docs":{},"w":{"docs":{},"e":{"docs":{},"r":{"1":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"2":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}}}},"d":{"docs":{},"/":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}},"p":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}},"e":{"docs":{},"s":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"u":{"docs":{},"m":{"docs":{},"m":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"n":{"docs":{},"d":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}}},"方":{"docs":{},"法":{"docs":{},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}},"a":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"s":{"docs":{},",":{"docs":{},"它":{"docs":{},"一":{"docs":{},"般":{"docs":{},"接":{"docs":{},"收":{"docs":{},"一":{"docs":{},"个":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"[":{"docs":{},"]":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"说":{"docs":{},"“":{"docs":{},"一":{"docs":{},"个":{"docs":{},"任":{"docs":{},"何":{"docs":{},"对":{"docs":{},"象":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},"”":{"docs":{},"。":{"docs":{},"这":{"docs":{},"是":{"docs":{},"因":{"docs":{},"为":{"docs":{},"o":{"docs":{},"c":{"docs":{},"没":{"docs":{},"有":{"docs":{},"明":{"docs":{},"确":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"化":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"但":{"docs":{},"是":{"docs":{},",":{"docs":{},"你":{"docs":{},"常":{"docs":{},"常":{"docs":{},"可":{"docs":{},"以":{"docs":{},"确":{"docs":{},"定":{"docs":{},"包":{"docs":{},"含":{"docs":{},"在":{"docs":{},"仅":{"docs":{},"从":{"docs":{},"你":{"docs":{},"知":{"docs":{},"道":{"docs":{},"的":{"docs":{},"a":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.047619047619047616}}}}}},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"(":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}},"函":{"docs":{},"数":{"docs":{},"来":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"断":{"docs":{},"言":{"docs":{},"。":{"docs":{},"给":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"函":{"docs":{},"数":{"docs":{},"传":{"docs":{},"入":{"docs":{},"一":{"docs":{},"个":{"docs":{},"结":{"docs":{},"果":{"docs":{},"为":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"或":{"docs":{},"者":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},"的":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"以":{"docs":{},"及":{"docs":{},"一":{"docs":{},"条":{"docs":{},"信":{"docs":{},"息":{"docs":{},",":{"docs":{},"当":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"e":{"docs":{},"d":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}}}}}}}}}},"c":{"docs":{},"i":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}},")":{"docs":{},"下":{"docs":{},"转":{"docs":{},"并":{"docs":{},"解":{"docs":{},"包":{"docs":{},"到":{"docs":{},"不":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}},"?":{"docs":{},")":{"docs":{},"。":{"docs":{},"可":{"docs":{},"选":{"docs":{},"形":{"docs":{},"式":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"查":{"docs":{},"总":{"docs":{},"是":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"值":{"docs":{},"(":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"l":{"docs":{},"i":{"docs":{},"k":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"a":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"e":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}},"e":{"docs":{},"x":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}},"s":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"b":{"docs":{},"y":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}}}}}}}}}}}}}}},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"u":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}}}}}}}},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571}}}}}}}},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}}},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"检":{"docs":{},"查":{"docs":{},"是":{"docs":{},"否":{"docs":{},"两":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"单":{"docs":{},"例":{"docs":{},"包":{"docs":{},"含":{"docs":{},"具":{"docs":{},"有":{"docs":{},"相":{"docs":{},"同":{"docs":{},"顺":{"docs":{},"序":{"docs":{},"的":{"docs":{},"相":{"docs":{},"同":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"到":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"为":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"的":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"首":{"docs":{},"先":{"docs":{},"检":{"docs":{},"查":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"是":{"docs":{},"否":{"docs":{},"拥":{"docs":{},"有":{"docs":{},"同":{"docs":{},"样":{"docs":{},"数":{"docs":{},"目":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"他":{"docs":{},"们":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"数":{"docs":{},"目":{"docs":{},"不":{"docs":{},"同":{"docs":{},",":{"docs":{},"没":{"docs":{},"有":{"docs":{},"办":{"docs":{},"法":{"docs":{},"进":{"docs":{},"行":{"docs":{},"匹":{"docs":{},"配":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"就":{"docs":{},"会":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"w":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}},"w":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"b":{"docs":{},"o":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"v":{"docs":{},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"c":{"1":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},".":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}}}}}}},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"同":{"docs":{},"样":{"docs":{},"是":{"docs":{},"c":{"2":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}},"docs":{}}}}},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}},"2":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},".":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}},"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.017921146953405017},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.024553571428571428}},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"a":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.07142857142857142},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.012844036697247707},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"的":{"docs":{},"基":{"docs":{},"础":{"docs":{},"上":{"docs":{},"构":{"docs":{},"建":{"docs":{},"框":{"docs":{},"架":{"docs":{},"栈":{"docs":{},"并":{"docs":{},"将":{"docs":{},"其":{"docs":{},"标":{"docs":{},"准":{"docs":{},"化":{"docs":{},"。":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"里":{"docs":{},"的":{"docs":{},"n":{"docs":{},"s":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"函":{"docs":{},"数":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}},".":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"b":{"docs":{},"y":{"docs":{},"(":{"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"(":{"docs":{},"u":{"docs":{},"n":{"docs":{},"u":{"docs":{},"s":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}}}}}}}}}}},"属":{"docs":{},"性":{"docs":{},"获":{"docs":{},"取":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"的":{"docs":{},"数":{"docs":{},"量":{"docs":{},",":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"d":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},"e":{"docs":{},"d":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"]":{"docs":{},"[":{"8":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}},"i":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"h":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.008928571428571428}}}}}}}}}},"x":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0071146245059288534},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.02242152466367713}},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"声":{"docs":{},"明":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"的":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"写":{"docs":{},"作":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},",":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}},"泛":{"docs":{},"型":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"指":{"docs":{},"定":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"其":{"docs":{},"里":{"docs":{},"面":{"docs":{},"的":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"必":{"docs":{},"须":{"docs":{},"保":{"docs":{},"证":{"docs":{},"只":{"docs":{},"有":{"docs":{},"正":{"docs":{},"确":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"可":{"docs":{},"以":{"docs":{},"加":{"docs":{},"进":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},",":{"docs":{},"必":{"docs":{},"须":{"docs":{},"明":{"docs":{},"确":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"其":{"docs":{},"下":{"docs":{},"标":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"需":{"docs":{},"要":{"docs":{},"一":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"指":{"docs":{},"定":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},"的":{"docs":{},"元":{"docs":{},"素":{"docs":{},"将":{"docs":{},"会":{"docs":{},"保":{"docs":{},"留":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"知":{"docs":{},"道":{"docs":{},"特":{"docs":{},"定":{"docs":{},"容":{"docs":{},"器":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"需":{"docs":{},"要":{"docs":{},"指":{"docs":{},"定":{"docs":{},"任":{"docs":{},"何":{"docs":{},"通":{"docs":{},"过":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}},"f":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"<":{"docs":{},"/":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}},"c":{"docs":{},"e":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"d":{"docs":{},"e":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.014336917562724014},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"m":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"p":{"docs":{},"i":{"docs":{},"l":{"docs":{},"e":{"docs":{},"-":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"l":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/09_Classes_and_Structures.html#gitbook_17":{"ref":"chapter2/09_Classes_and_Structures.html#gitbook_17","tf":0.5},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"n":{"docs":{},"=":{"docs":{},"\"":{"4":{"docs":{},"\"":{"docs":{},">":{"4":{"docs":{},"<":{"docs":{},"/":{"docs":{},"t":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}}},"docs":{}}}},"docs":{}}}}}}}},"w":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"p":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}},"的":{"docs":{},"兼":{"docs":{},"容":{"docs":{},"性":{"docs":{},"的":{"docs":{},"限":{"docs":{},"制":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808}}}}}}}}}}}}}}},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}},"u":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"'":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.012844036697247707}}}}}},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":3.3359649122807014}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"r":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"(":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"副":{"docs":{},"完":{"docs":{},"整":{"docs":{},"的":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"并":{"docs":{},"把":{"docs":{},"每":{"docs":{},"张":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"和":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}},"s":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.024676850763807285},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.011067193675889328},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.04065040650406504}},"s":{"docs":{},"里":{"docs":{},"用":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}}},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":1.6840579710144925}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"层":{"docs":{},"次":{"docs":{},"作":{"docs":{},"为":{"docs":{},"例":{"docs":{},"子":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.8333333333333333}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"f":{"docs":{},"i":{"docs":{},"s":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"n":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"b":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}},"l":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}},"r":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.8459815546772068},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"s":{"docs":{},"n":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.022018348623853212},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},"e":{"docs":{},"r":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.009174311926605505}}},"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}},"docs":{},"p":{"docs":{},"l":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"s":{"docs":{},")":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"字":{"docs":{},"面":{"docs":{},"量":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"空":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"可":{"docs":{},"变":{"docs":{},"性":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"是":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"使":{"docs":{},"用":{"docs":{},"字":{"docs":{},"符":{"docs":{},"(":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},")":{"docs":{},"计":{"docs":{},"算":{"docs":{},"字":{"docs":{},"符":{"docs":{},"数":{"docs":{},"量":{"docs":{},"连":{"docs":{},"接":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"和":{"docs":{},"字":{"docs":{},"符":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"插":{"docs":{},"值":{"docs":{},"比":{"docs":{},"较":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"相":{"docs":{},"等":{"docs":{},"前":{"docs":{},"缀":{"docs":{},"/":{"docs":{},"后":{"docs":{},"缀":{"docs":{},"相":{"docs":{},"等":{"docs":{},"大":{"docs":{},"写":{"docs":{},"和":{"docs":{},"小":{"docs":{},"写":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":1.6666666666666665}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}}}},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.010575793184488837},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.8491436100131752},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"=":{"docs":{},"\"":{"docs":{},"x":{"docs":{},"-":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"\"":{"docs":{},">":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"它":{"docs":{},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}},"u":{"docs":{},"c":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"z":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}},"中":{"docs":{},"的":{"docs":{},"比":{"docs":{},"较":{"docs":{},"运":{"docs":{},"算":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}}}}}}}}}}},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}}}}}}}},"语":{"docs":{},"言":{"docs":{},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}}}}}}}}}}}},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"a":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},";":{"docs":{},")":{"docs":{},"元":{"docs":{},"组":{"docs":{},"把":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}},"r":{"docs":{},"-":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"循":{"docs":{},"环":{"docs":{},"和":{"docs":{},"半":{"docs":{},"闭":{"docs":{},"区":{"docs":{},"间":{"docs":{},"操":{"docs":{},"作":{"docs":{},"(":{"docs":{},".":{"docs":{},".":{"docs":{},")":{"docs":{},"来":{"docs":{},"迭":{"docs":{},"代":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"每":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"检":{"docs":{},"查":{"docs":{},"是":{"docs":{},"否":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"不":{"docs":{},"等":{"docs":{},"于":{"docs":{},"对":{"docs":{},"应":{"docs":{},"的":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"不":{"docs":{},"等":{"docs":{},",":{"docs":{},"则":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"不":{"docs":{},"匹":{"docs":{},"配":{"docs":{},",":{"docs":{},"返":{"docs":{},"回":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}},"e":{"docs":{},"-":{"docs":{},"u":{"docs":{},"n":{"docs":{},"w":{"docs":{},"r":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.008695652173913044}}},"—":{"docs":{},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"u":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}},"l":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.026785714285714284},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"e":{"docs":{},"。":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},",":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}},"i":{"docs":{},"b":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"c":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"o":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}},"l":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"(":{"docs":{},"[":{"3":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{},"\"":{"docs":{},"m":{"docs":{},"i":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"<":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},">":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}},"中":{"docs":{},"这":{"docs":{},"个":{"docs":{},"单":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"写":{"docs":{},"做":{"docs":{},":":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"现":{"docs":{},"在":{"docs":{},"则":{"docs":{},"可":{"docs":{},"以":{"docs":{},"成":{"docs":{},"功":{"docs":{},"的":{"docs":{},"编":{"docs":{},"译":{"docs":{},"过":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"作":{"docs":{},"用":{"docs":{},"于":{"docs":{},"任":{"docs":{},"何":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"如":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"或":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"用":{"docs":{},"某":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"。":{"docs":{},"请":{"docs":{},"注":{"docs":{},"意":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"仍":{"docs":{},"然":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"非":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"该":{"docs":{},"函":{"docs":{},"数":{"docs":{},"功":{"docs":{},"能":{"docs":{},"是":{"docs":{},"去":{"docs":{},"查":{"docs":{},"找":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"给":{"docs":{},"定":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"若":{"docs":{},"查":{"docs":{},"找":{"docs":{},"到":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},",":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"该":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"在":{"docs":{},"数":{"docs":{},"组":{"docs":{},"中":{"docs":{},"的":{"docs":{},"索":{"docs":{},"引":{"docs":{},"值":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},")":{"docs":{},",":{"docs":{},"反":{"docs":{},"之":{"docs":{},"则":{"docs":{},"返":{"docs":{},"回":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"并":{"docs":{},"指":{"docs":{},"定":{"docs":{},"初":{"docs":{},"始":{"docs":{},"值":{"docs":{},"为":{"4":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}}}}}}},"表":{"docs":{},"示":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}},"r":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"s":{"docs":{},"u":{"docs":{},"m":{"docs":{},"m":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}},"i":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"l":{"docs":{},"y":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.010752688172043012}},"e":{"docs":{},"的":{"docs":{},"值":{"docs":{},"从":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"!":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"改":{"docs":{},"为":{"docs":{},"了":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"b":{"docs":{},"o":{"docs":{},"n":{"docs":{},"j":{"docs":{},"o":{"docs":{},"u":{"docs":{},"r":{"docs":{},"!":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"o":{"docs":{},"m":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0282021151586369},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.047619047619047616},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.013157894736842105},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.03288490284005979}},"来":{"docs":{},"声":{"docs":{},"明":{"docs":{},"一":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"名":{"docs":{},"字":{"docs":{},"和":{"docs":{},"参":{"docs":{},"数":{"docs":{},"来":{"docs":{},"调":{"docs":{},"用":{"docs":{},"函":{"docs":{},"数":{"docs":{},"。":{"docs":{},"使":{"docs":{},"用":{"docs":{},"-":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":10.023809523809524},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01046337817638266}}}}}},"作":{"docs":{},"为":{"docs":{},"前":{"docs":{},"缀":{"docs":{},"。":{"docs":{},"指":{"docs":{},"定":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"时":{"docs":{},",":{"docs":{},"用":{"docs":{},"返":{"docs":{},"回":{"docs":{},"箭":{"docs":{},"头":{"docs":{},"-":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.007339449541284404},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.11904761904761904},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}},"p":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},"s":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"成":{"docs":{},"员":{"docs":{},":":{"docs":{},"给":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"常":{"docs":{},"量":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"时":{"docs":{},",":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"需":{"docs":{},"要":{"docs":{},"用":{"docs":{},"全":{"docs":{},"名":{"docs":{},"来":{"docs":{},"引":{"docs":{},"用":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"常":{"docs":{},"量":{"docs":{},"没":{"docs":{},"有":{"docs":{},"显":{"docs":{},"式":{"docs":{},"指":{"docs":{},"定":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"里":{"docs":{},",":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"使":{"docs":{},"用":{"docs":{},"缩":{"docs":{},"写":{"docs":{},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"来":{"docs":{},"引":{"docs":{},"用":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},"的":{"docs":{},"值":{"docs":{},"已":{"docs":{},"经":{"docs":{},"知":{"docs":{},"道":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"y":{"docs":{},"m":{"docs":{},"b":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}},"x":{"docs":{},"a":{"docs":{},"d":{"docs":{},"e":{"docs":{},"c":{"docs":{},"i":{"docs":{},"m":{"docs":{},"a":{"docs":{},"l":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"a":{"docs":{},"s":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"p":{"docs":{},"r":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"/":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{},"f":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}}},"d":{"docs":{},"o":{"docs":{},"o":{"docs":{},"r":{"docs":{},"k":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286}}}}}}}}},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.008928571428571428}}}}},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"l":{"docs":{},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}},"w":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"o":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"t":{"docs":{},"t":{"docs":{},"p":{"2":{"0":{"0":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"s":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"4":{"0":{"4":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}},".":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}}}}}},"docs":{}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}}}}},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"h":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.8372859025032937},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}},"i":{"docs":{},"o":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.047619047619047616},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"f":{"docs":{},"和":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"来":{"docs":{},"处":{"docs":{},"理":{"docs":{},"值":{"docs":{},"缺":{"docs":{},"失":{"docs":{},"的":{"docs":{},"情":{"docs":{},"况":{"docs":{},"。":{"docs":{},"有":{"docs":{},"些":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"值":{"docs":{},"可":{"docs":{},"能":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"具":{"docs":{},"体":{"docs":{},"的":{"docs":{},"值":{"docs":{},"或":{"docs":{},"者":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"来":{"docs":{},"进":{"docs":{},"行":{"docs":{},"条":{"docs":{},"件":{"docs":{},"操":{"docs":{},"作":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"-":{"docs":{},"i":{"docs":{},"n":{"docs":{},"、":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"、":{"docs":{},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{},"e":{"docs":{},"和":{"docs":{},"d":{"docs":{},"o":{"docs":{},"-":{"docs":{},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},"中":{"docs":{},"来":{"docs":{},"对":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"值":{"docs":{},"进":{"docs":{},"行":{"docs":{},"判":{"docs":{},"断":{"docs":{},"并":{"docs":{},"把":{"docs":{},"值":{"docs":{},"赋":{"docs":{},"给":{"docs":{},"一":{"docs":{},"个":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"。":{"docs":{},"i":{"docs":{},"f":{"docs":{},"和":{"docs":{},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"句":{"docs":{},"中":{"docs":{},",":{"docs":{},"条":{"docs":{},"件":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"—":{"docs":{},"—":{"docs":{},"这":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"像":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"判":{"docs":{},"断":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"是":{"docs":{},"否":{"docs":{},"包":{"docs":{},"含":{"docs":{},"值":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"可":{"docs":{},"选":{"docs":{},"有":{"docs":{},"值":{"docs":{},",":{"docs":{},"结":{"docs":{},"果":{"docs":{},"是":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},";":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"值":{"docs":{},",":{"docs":{},"结":{"docs":{},"果":{"docs":{},"是":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"分":{"docs":{},"支":{"docs":{},"中":{"docs":{},"操":{"docs":{},"作":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"改":{"docs":{},"成":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{},"t":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"l":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509}}}}}}}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}}}},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"a":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"(":{"7":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}},"b":{"docs":{},"y":{"docs":{},"(":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}},"s":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.007894736842105263}}}},"n":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.02631578947368421}}}}}}},"o":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.05}}}}}}}}}},"l":{"docs":{},"u":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}}},"o":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"v":{"docs":{},"i":{"docs":{},"d":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}},"c":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"e":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01195814648729447}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}}},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}},"t":{"8":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},".":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"范":{"docs":{},"围":{"docs":{},"是":{"docs":{},"-":{"1":{"2":{"8":{"docs":{},"~":{"1":{"2":{"7":{"docs":{},",":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"能":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"范":{"docs":{},"围":{"docs":{},"是":{"0":{"docs":{},"~":{"2":{"5":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.024676850763807285},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.026881720430107527},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.021052631578947368},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.04878048780487805},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.03736920777279522}},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}},"p":{"docs":{},"o":{"docs":{},"l":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},")":{"docs":{},"的":{"docs":{},"方":{"docs":{},"式":{"docs":{},"把":{"docs":{},"常":{"docs":{},"量":{"docs":{},"名":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"名":{"docs":{},"当":{"docs":{},"做":{"docs":{},"占":{"docs":{},"位":{"docs":{},"符":{"docs":{},"加":{"docs":{},"入":{"docs":{},"到":{"docs":{},"长":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"中":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"会":{"docs":{},"用":{"docs":{},"当":{"docs":{},"前":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"值":{"docs":{},"替":{"docs":{},"换":{"docs":{},"这":{"docs":{},"些":{"docs":{},"占":{"docs":{},"位":{"docs":{},"符":{"docs":{},"。":{"docs":{},"将":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"变":{"docs":{},"量":{"docs":{},"名":{"docs":{},"放":{"docs":{},"入":{"docs":{},"反":{"docs":{},"斜":{"docs":{},"杠":{"docs":{},"符":{"docs":{},"加":{"docs":{},"一":{"docs":{},"对":{"docs":{},"圆":{"docs":{},"括":{"docs":{},"号":{"docs":{},"中":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"\\":{"docs":{},"(":{"docs":{},")":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.010752688172043012},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"e":{"docs":{},"r":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}},"(":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},")":{"docs":{},"或":{"docs":{},"者":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"和":{"docs":{},"类":{"docs":{},"型":{"docs":{},"推":{"docs":{},"测":{"docs":{},"数":{"docs":{},"值":{"docs":{},"类":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"数":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"转":{"docs":{},"换":{"docs":{},"整":{"docs":{},"数":{"docs":{},"转":{"docs":{},"换":{"docs":{},"整":{"docs":{},"数":{"docs":{},"和":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"转":{"docs":{},"换":{"docs":{},"类":{"docs":{},"型":{"docs":{},"别":{"docs":{},"名":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},"元":{"docs":{},"组":{"docs":{},"可":{"docs":{},"选":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":5}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"就":{"docs":{},"够":{"docs":{},"了":{"docs":{},"。":{"docs":{},"这":{"docs":{},"可":{"docs":{},"以":{"docs":{},"提":{"docs":{},"高":{"docs":{},"代":{"docs":{},"码":{"docs":{},"一":{"docs":{},"致":{"docs":{},"性":{"docs":{},"和":{"docs":{},"可":{"docs":{},"复":{"docs":{},"用":{"docs":{},"性":{"docs":{},"。":{"docs":{},"即":{"docs":{},"使":{"docs":{},"是":{"docs":{},"在":{"3":{"2":{"docs":{},"位":{"docs":{},"平":{"docs":{},"台":{"docs":{},"上":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"整":{"docs":{},"数":{"docs":{},"范":{"docs":{},"围":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"达":{"docs":{},"到":{"docs":{},"-":{"2":{"1":{"4":{"7":{"4":{"8":{"3":{"6":{"4":{"8":{"docs":{},"~":{"2":{"1":{"4":{"7":{"4":{"8":{"3":{"6":{"4":{"7":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"整":{"docs":{},"型":{"docs":{},";":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"和":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{},"是":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"型":{"docs":{},";":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"是":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"型":{"docs":{},";":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"是":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"更":{"docs":{},"大":{"docs":{},"或":{"docs":{},"者":{"docs":{},"更":{"docs":{},"小":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},"指":{"docs":{},"定":{"docs":{},"了":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"实":{"docs":{},"现":{"docs":{},",":{"docs":{},"适":{"docs":{},"用":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"被":{"docs":{},"用":{"docs":{},"作":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"这":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"只":{"docs":{},"能":{"docs":{},"用":{"docs":{},"于":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},",":{"docs":{},"不":{"docs":{},"过":{"docs":{},",":{"docs":{},"其":{"docs":{},"对":{"docs":{},"于":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"现":{"docs":{},"了":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"三":{"docs":{},"个":{"docs":{},"要":{"docs":{},"求":{"docs":{},",":{"docs":{},"在":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"非":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},",":{"docs":{},"适":{"docs":{},"用":{"docs":{},"于":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}},"索":{"docs":{},"引":{"docs":{},"值":{"docs":{},"下":{"docs":{},"标":{"docs":{},"可":{"docs":{},"以":{"docs":{},"检":{"docs":{},"索":{"docs":{},"到":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}},"这":{"docs":{},"一":{"docs":{},"行":{"docs":{},",":{"docs":{},"一":{"docs":{},"切":{"docs":{},"仍":{"docs":{},"旧":{"docs":{},"可":{"docs":{},"以":{"docs":{},"工":{"docs":{},"作":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"清":{"docs":{},"楚":{"docs":{},"的":{"docs":{},"知":{"docs":{},"道":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"将":{"docs":{},"抽":{"docs":{},"象":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"转":{"docs":{},"换":{"docs":{},"为":{"docs":{},"具":{"docs":{},"体":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}}},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.020553359683794466}}}}},"e":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"p":{"docs":{},"i":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.008968609865470852}}}}},"f":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"-":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"参":{"docs":{},"数":{"docs":{},"交":{"docs":{},"换":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"被":{"docs":{},"描":{"docs":{},"述":{"docs":{},"为":{"docs":{},"[":{"docs":{},"i":{"docs":{},"n":{"docs":{},"-":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"]":{"docs":{},"[":{"1":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.02924901185770751},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.014947683109118086}},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01046337817638266}},"e":{"docs":{},"。":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"需":{"docs":{},"要":{"docs":{},"真":{"docs":{},"正":{"docs":{},"作":{"docs":{},"为":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}},"s":{"docs":{},".":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}}}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"需":{"docs":{},"求":{"docs":{},"通":{"docs":{},"过":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"和":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"空":{"docs":{},"的":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}},"是":{"docs":{},"如":{"docs":{},"何":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"或":{"docs":{},"何":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"允":{"docs":{},"许":{"docs":{},"的":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"协":{"docs":{},"议":{"docs":{},"只":{"docs":{},"指":{"docs":{},"定":{"docs":{},"三":{"docs":{},"个":{"docs":{},"任":{"docs":{},"何":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"该":{"docs":{},"参":{"docs":{},"数":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"s":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}}}},"o":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.09523809523809523},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.017921146953405017},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}},"c":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"s":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.047619047619047616},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"c":{"docs":{},"c":{"docs":{},"u":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"[":{"docs":{},"\"":{"docs":{},"j":{"docs":{},"a":{"docs":{},"y":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"t":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}},"p":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.041666666666666664}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.016129032258064516},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.014229249011857707},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"e":{"docs":{},"改":{"docs":{},"成":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},",":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"会":{"docs":{},"是":{"docs":{},"什":{"docs":{},"么":{"docs":{},"?":{"docs":{},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"e":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},",":{"docs":{},"当":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},"时":{"docs":{},"给":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"e":{"docs":{},"?":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"<":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}},"e":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.012648221343873518}}}}},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"e":{"docs":{},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"e":{"docs":{},"和":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{},"i":{"docs":{},"p":{"docs":{},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"会":{"docs":{},"被":{"docs":{},"推":{"docs":{},"测":{"docs":{},"为":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"初":{"docs":{},"值":{"docs":{},"是":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"。":{"docs":{},"就":{"docs":{},"像":{"docs":{},"之":{"docs":{},"前":{"docs":{},"提":{"docs":{},"到":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"给":{"docs":{},"它":{"docs":{},"们":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"或":{"docs":{},"者":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},",":{"docs":{},"那":{"docs":{},"你":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"给":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"标":{"docs":{},"明":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}},"d":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"e":{"docs":{},"标":{"docs":{},"记":{"docs":{},"—":{"docs":{},"—":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"添":{"docs":{},"加":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"就":{"docs":{},"重":{"docs":{},"写":{"docs":{},"父":{"docs":{},"类":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"话":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"会":{"docs":{},"报":{"docs":{},"错":{"docs":{},"。":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"同":{"docs":{},"样":{"docs":{},"会":{"docs":{},"检":{"docs":{},"测":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"k":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"e":{"docs":{},"m":{"docs":{},"i":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}},"u":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.010526315789473684},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.032520325203252036}}}}}}},"d":{"docs":{},"y":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}}}},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"e":{"docs":{},"f":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"t":{"docs":{},"m":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"导":{"docs":{},"演":{"docs":{},"的":{"docs":{},"电":{"docs":{},"影":{"docs":{},"“":{"docs":{},"g":{"docs":{},"h":{"docs":{},"o":{"docs":{},"s":{"docs":{},"t":{"docs":{},"b":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"p":{"docs":{},"e":{"docs":{},"a":{"docs":{},"t":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"k":{"docs":{},"n":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}},"<":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},">":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"u":{"docs":{},"n":{"docs":{},"r":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.03525264394829612},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.047619047619047616},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.034210526315789476},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.032520325203252036},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.026905829596412557}},"f":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"e":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"称":{"docs":{},"缩":{"docs":{},"写":{"docs":{},"运":{"docs":{},"算":{"docs":{},"符":{"docs":{},"函":{"docs":{},"数":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":3.333333333333333}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.02368421052631579}}}}}},"a":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"c":{"docs":{},"e":{"docs":{},"i":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}},"m":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"o":{"docs":{},"v":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"a":{"docs":{},"i":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"n":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.04878048780487805}},".":{"docs":{},"a":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"(":{"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"docs":{}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},".":{"docs":{},"f":{"docs":{},"i":{"docs":{},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}},"s":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}},"和":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"在":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"中":{"docs":{},",":{"docs":{},"但":{"docs":{},"仍":{"docs":{},"可":{"docs":{},"被":{"docs":{},"引":{"docs":{},"用":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"在":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"实":{"docs":{},"例":{"docs":{},"时":{"docs":{},"能":{"docs":{},"够":{"docs":{},"通":{"docs":{},"过":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"类":{"docs":{},"型":{"docs":{},"中":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"名":{"docs":{},"称":{"docs":{},"单":{"docs":{},"独":{"docs":{},"引":{"docs":{},"用":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"属":{"docs":{},"性":{"docs":{},"能":{"docs":{},"正":{"docs":{},"确":{"docs":{},"得":{"docs":{},"输":{"docs":{},"出":{"docs":{},"对":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"牌":{"docs":{},"有":{"1":{"docs":{},"和":{"1":{"1":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"在":{"docs":{},"自":{"docs":{},"己":{"docs":{},"内":{"docs":{},"部":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"包":{"docs":{},"含":{"docs":{},"两":{"docs":{},"个":{"docs":{},"变":{"docs":{},"量":{"docs":{},",":{"docs":{},"只":{"docs":{},"有":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"数":{"docs":{},"值":{"docs":{},",":{"docs":{},"其":{"docs":{},"余":{"docs":{},"牌":{"docs":{},"都":{"docs":{},"只":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"数":{"docs":{},"值":{"docs":{},"。":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"会":{"docs":{},"根":{"docs":{},"据":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"面":{"docs":{},"值":{"docs":{},",":{"docs":{},"用":{"docs":{},"适":{"docs":{},"当":{"docs":{},"的":{"docs":{},"数":{"docs":{},"值":{"docs":{},"去":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"并":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"给":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"j":{"docs":{},",":{"docs":{},"q":{"docs":{},",":{"docs":{},"k":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"会":{"docs":{},"使":{"docs":{},"用":{"docs":{},"特":{"docs":{},"殊":{"docs":{},"数":{"docs":{},"值":{"docs":{},",":{"docs":{},"对":{"docs":{},"于":{"docs":{},"数":{"docs":{},"字":{"docs":{},"面":{"docs":{},"值":{"docs":{},"的":{"docs":{},"牌":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"来":{"docs":{},"描":{"docs":{},"述":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"从":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"~":{"1":{"0":{"docs":{},",":{"docs":{},"j":{"docs":{},",":{"docs":{},"q":{"docs":{},",":{"docs":{},"k":{"docs":{},",":{"1":{"3":{"docs":{},"张":{"docs":{},"牌":{"docs":{},",":{"docs":{},"并":{"docs":{},"分":{"docs":{},"别":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"表":{"docs":{},"示":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"面":{"docs":{},"值":{"docs":{},"。":{"docs":{},"(":{"docs":{},"这":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"不":{"docs":{},"适":{"docs":{},"用":{"docs":{},"于":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},",":{"docs":{},"j":{"docs":{},",":{"docs":{},"q":{"docs":{},",":{"docs":{},"k":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"s":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"o":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"j":{"docs":{},"u":{"docs":{},"l":{"docs":{},"i":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}}}}}}},"o":{"docs":{},"m":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.020089285714285716}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.04736842105263158}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"i":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.026905829596412557}},"o":{"docs":{},"u":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.023809523809523808},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}},"d":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"和":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"方":{"docs":{},"法":{"docs":{},"可":{"docs":{},"能":{"docs":{},"会":{"docs":{},"失":{"docs":{},"败":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"它":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"被":{"docs":{},"写":{"docs":{},"作":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"?":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"。":{"docs":{},"问":{"docs":{},"号":{"docs":{},"暗":{"docs":{},"示":{"docs":{},"包":{"docs":{},"含":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"可":{"docs":{},"选":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},"可":{"docs":{},"能":{"docs":{},"包":{"docs":{},"含":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},"也":{"docs":{},"可":{"docs":{},"能":{"docs":{},"不":{"docs":{},"包":{"docs":{},"含":{"docs":{},"值":{"docs":{},"。":{"docs":{},"(":{"docs":{},"不":{"docs":{},"能":{"docs":{},"包":{"docs":{},"含":{"docs":{},"其":{"docs":{},"他":{"docs":{},"任":{"docs":{},"何":{"docs":{},"值":{"docs":{},"比":{"docs":{},"如":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"值":{"docs":{},"或":{"docs":{},"者":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"。":{"docs":{},"只":{"docs":{},"能":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"尝":{"docs":{},"试":{"docs":{},"将":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"b":{"docs":{},"i":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},".":{"docs":{},"g":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},".":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"b":{"docs":{},"l":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}},"e":{"docs":{},"a":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"m":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}}}}}}}},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}},".":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":1.6685015290519876}}}}}}}}},"r":{"docs":{},"a":{"docs":{},"p":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"m":{"docs":{},"p":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"y":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.01195814648729447}}}}}}}}}}},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"e":{"docs":{},"s":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"的":{"docs":{},"值":{"docs":{},"被":{"docs":{},"用":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}},"o":{"docs":{},"u":{"docs":{},"g":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0071146245059288534}},"s":{"docs":{},".":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"(":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},".":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"docs":{}}},"3":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"4":{"2":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"docs":{}},"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"(":{"3":{"docs":{},".":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"docs":{}}},"docs":{}},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}},"数":{"docs":{},"组":{"docs":{},"中":{"docs":{},"的":{"docs":{},"每":{"docs":{},"一":{"docs":{},"项":{"docs":{},"的":{"docs":{},"并":{"docs":{},"用":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"语":{"docs":{},"句":{"docs":{},"查":{"docs":{},"找":{"docs":{},"每":{"docs":{},"一":{"docs":{},"项":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"这":{"docs":{},"几":{"docs":{},"种":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"s":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"e":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}},"e":{"docs":{},"s":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"r":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.008928571428571428}},"i":{"docs":{},"a":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}},"e":{"docs":{},".":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"e":{"docs":{},"(":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},".":{"docs":{},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"e":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{},"e":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"g":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"u":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.044642857142857144},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},"。":{"docs":{},"从":{"docs":{},"字":{"docs":{},"面":{"docs":{},"意":{"docs":{},"思":{"docs":{},"来":{"docs":{},"说":{"docs":{},",":{"docs":{},"断":{"docs":{},"言":{"docs":{},"“":{"docs":{},"断":{"docs":{},"言":{"docs":{},"”":{"docs":{},"一":{"docs":{},"个":{"docs":{},"条":{"docs":{},"件":{"docs":{},"是":{"docs":{},"否":{"docs":{},"为":{"docs":{},"真":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"断":{"docs":{},"言":{"docs":{},"来":{"docs":{},"保":{"docs":{},"证":{"docs":{},"在":{"docs":{},"运":{"docs":{},"行":{"docs":{},"其":{"docs":{},"他":{"docs":{},"代":{"docs":{},"码":{"docs":{},"之":{"docs":{},"前":{"docs":{},",":{"docs":{},"某":{"docs":{},"些":{"docs":{},"重":{"docs":{},"要":{"docs":{},"的":{"docs":{},"条":{"docs":{},"件":{"docs":{},"已":{"docs":{},"经":{"docs":{},"被":{"docs":{},"满":{"docs":{},"足":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"条":{"docs":{},"件":{"docs":{},"判":{"docs":{},"断":{"docs":{},"为":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},",":{"docs":{},"代":{"docs":{},"码":{"docs":{},"运":{"docs":{},"行":{"docs":{},"会":{"docs":{},"继":{"docs":{},"续":{"docs":{},"进":{"docs":{},"行":{"docs":{},";":{"docs":{},"如":{"docs":{},"果":{"docs":{},"条":{"docs":{},"件":{"docs":{},"判":{"docs":{},"断":{"docs":{},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.034210526315789476}}}}},"e":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"a":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"y":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"d":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"l":{"docs":{},"i":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"p":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"r":{"docs":{},"n":{"docs":{},"i":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}}}}}}}},"w":{"docs":{},"o":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0071146245059288534},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},",":{"docs":{},"然":{"docs":{},"而":{"docs":{},"常":{"docs":{},"量":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"。":{"docs":{},"它":{"docs":{},"们":{"docs":{},"不":{"docs":{},"能":{"docs":{},"直":{"docs":{},"接":{"docs":{},"相":{"docs":{},"加":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"们":{"docs":{},"类":{"docs":{},"型":{"docs":{},"不":{"docs":{},"同":{"docs":{},"。":{"docs":{},"所":{"docs":{},"以":{"docs":{},"要":{"docs":{},"调":{"docs":{},"用":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"(":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},")":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"数":{"docs":{},"字":{"docs":{},"并":{"docs":{},"用":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":3.3862977602108035},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":5.013452914798206}},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.007473841554559043}}}}}},"s":{"docs":{},"中":{"docs":{},"知":{"docs":{},"道":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"有":{"docs":{},"默":{"docs":{},"认":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"默":{"docs":{},"认":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"去":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"新":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"-":{"docs":{},"s":{"docs":{},"a":{"docs":{},"f":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.024553571428571428}},">":{"1":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}},"*":{"docs":{},"<":{"docs":{},"/":{"docs":{},"t":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}},"2":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"3":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"4":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"6":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"7":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"8":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"9":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"docs":{}}},")":{"docs":{},"是":{"docs":{},"用":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"括":{"docs":{},"起":{"docs":{},"来":{"docs":{},"的":{"docs":{},"(":{"docs":{},"<":{"docs":{},"t":{"docs":{},">":{"docs":{},")":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"告":{"docs":{},"诉":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"那":{"docs":{},"个":{"docs":{},"t":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"所":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"t":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"不":{"docs":{},"会":{"docs":{},"去":{"docs":{},"查":{"docs":{},"找":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"命":{"docs":{},"名":{"docs":{},"为":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"分":{"docs":{},"别":{"docs":{},"代":{"docs":{},"表":{"docs":{},"t":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"为":{"docs":{},"“":{"docs":{},"某":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{},"”":{"docs":{},"的":{"docs":{},"节":{"docs":{},"点":{"docs":{},"提":{"docs":{},"供":{"docs":{},"给":{"docs":{},"后":{"docs":{},"来":{"docs":{},"用":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"将":{"docs":{},"来":{"docs":{},"类":{"docs":{},"型":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"的":{"docs":{},"定":{"docs":{},"义":{"docs":{},"里":{"docs":{},"任":{"docs":{},"何":{"docs":{},"地":{"docs":{},"方":{"docs":{},"表":{"docs":{},"示":{"docs":{},"为":{"docs":{},"“":{"docs":{},"t":{"docs":{},"”":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},",":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},")":{"docs":{},"来":{"docs":{},"代":{"docs":{},"替":{"docs":{},"实":{"docs":{},"际":{"docs":{},"类":{"docs":{},"型":{"docs":{},"名":{"docs":{},"(":{"docs":{},"如":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"、":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"或":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},")":{"docs":{},"。":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"名":{"docs":{},"并":{"docs":{},"不":{"docs":{},"是":{"docs":{},"表":{"docs":{},"示":{"docs":{},"t":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"其":{"docs":{},"规":{"docs":{},"定":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"同":{"docs":{},"一":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"t":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"管":{"docs":{},"t":{"docs":{},"表":{"docs":{},"示":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"只":{"docs":{},"有":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"在":{"docs":{},"每":{"docs":{},"次":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},"所":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"实":{"docs":{},"际":{"docs":{},"类":{"docs":{},"型":{"docs":{},"决":{"docs":{},"定":{"docs":{},"了":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"被":{"docs":{},"用":{"docs":{},"作":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"参":{"docs":{},"数":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"因":{"docs":{},"此":{"docs":{},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"被":{"docs":{},"用":{"docs":{},"作":{"docs":{},"这":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"容":{"docs":{},"器":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"的":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"需":{"docs":{},"要":{"docs":{},"t":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"子":{"docs":{},"类":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},";":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"u":{"docs":{},",":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"需":{"docs":{},"要":{"docs":{},"u":{"docs":{},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"x":{"2":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{"chapter1/01_swift.html#gitbook_6":{"ref":"chapter1/01_swift.html#gitbook_6","tf":0.047619047619047616},"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}},".":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{},"f":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"p":{"docs":{},"e":{"docs":{},"p":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.078125},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.02391629297458894}},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"j":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}},"(":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}},"二":{"docs":{},"十":{"docs":{},"一":{"docs":{},"点":{"docs":{},")":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"模":{"docs":{},"拟":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"中":{"docs":{},"的":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"点":{"docs":{},"数":{"docs":{},"。":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"包":{"docs":{},"含":{"2":{"docs":{},"个":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"类":{"docs":{},"型":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},".":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"没":{"docs":{},"有":{"docs":{},"自":{"docs":{},"定":{"docs":{},"义":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},",":{"docs":{},"在":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"w":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"自":{"docs":{},"身":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"—":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"与":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},",":{"docs":{},"也":{"docs":{},"同":{"docs":{},"样":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},",":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"属":{"docs":{},"性":{"docs":{},"用":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"和":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},"的":{"docs":{},"中":{"docs":{},"内":{"docs":{},"容":{"docs":{},"来":{"docs":{},"构":{"docs":{},"建":{"docs":{},"对":{"docs":{},"这":{"docs":{},"张":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"名":{"docs":{},"字":{"docs":{},"和":{"docs":{},"数":{"docs":{},"值":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},",":{"docs":{},"并":{"docs":{},"用":{"docs":{},"可":{"docs":{},"选":{"docs":{},"类":{"docs":{},"型":{"docs":{},"s":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"规":{"docs":{},"则":{"docs":{},"中":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"牌":{"docs":{},"可":{"docs":{},"以":{"docs":{},"表":{"docs":{},"示":{"1":{"docs":{},"或":{"docs":{},"者":{"1":{"1":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"这":{"docs":{},"一":{"docs":{},"特":{"docs":{},"征":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"在":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"型":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"的":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.08333333333333333}}}}}},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.02631578947368421},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"。":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},"是":{"docs":{},"指":{"docs":{},"逻":{"docs":{},"辑":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"们":{"docs":{},"只":{"docs":{},"能":{"docs":{},"是":{"docs":{},"真":{"docs":{},"或":{"docs":{},"者":{"docs":{},"假":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"地":{"docs":{},"方":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"非":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},")":{"docs":{},"默":{"docs":{},"认":{"docs":{},"都":{"docs":{},"是":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}},"t":{"docs":{},"t":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"h":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"n":{"docs":{},"j":{"docs":{},"o":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.007168458781362007}}}}}}},"d":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},"来":{"docs":{},"检":{"docs":{},"查":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.010526315789473684}},"s":{"docs":{},"(":{"docs":{},"s":{"1":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}},"docs":{}}}}}}}}}},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}}}},"s":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}},"i":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"u":{"docs":{},"g":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}},"e":{"docs":{},"h":{"docs":{},"a":{"docs":{},"v":{"docs":{},"i":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}},"l":{"docs":{},"i":{"docs":{},"e":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"o":{"docs":{},"w":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695}}}}},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}}},"n":{"docs":{},"i":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"a":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}}}}}}}},"e":{"docs":{},"f":{"docs":{},"a":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"c":{"docs":{},"i":{"docs":{},"m":{"docs":{},"a":{"docs":{},"l":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}},"b":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"n":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.015625}}}},"d":{"docs":{},"u":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}},"i":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}}}},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"<":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"的":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"上":{"docs":{},",":{"docs":{},"当":{"docs":{},"然":{"docs":{},"其":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"协":{"docs":{},"议":{"docs":{},"(":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"中":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"协":{"docs":{},"议":{"docs":{},")":{"docs":{},"。":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"基":{"docs":{},"本":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"如":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"g":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.013157894736842105}},"e":{"docs":{},"s":{"docs":{},"[":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}}}},"f":{"docs":{},"f":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}}}},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.010276679841897233}},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.011067193675889328}}}}}}}},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"o":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.012925969447708578},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.008960573476702509},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.012648221343873518},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"扩":{"docs":{},"展":{"docs":{},",":{"docs":{},"添":{"docs":{},"加":{"docs":{},"a":{"docs":{},"b":{"docs":{},"s":{"docs":{},"o":{"docs":{},"l":{"docs":{},"u":{"docs":{},"t":{"docs":{},"e":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}},"(":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"m":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}}}}}}}},"或":{"docs":{},"者":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}},"精":{"docs":{},"确":{"docs":{},"度":{"docs":{},"很":{"docs":{},"高":{"docs":{},",":{"docs":{},"至":{"docs":{},"少":{"docs":{},"有":{"1":{"5":{"docs":{},"位":{"docs":{},"数":{"docs":{},"字":{"docs":{},",":{"docs":{},"而":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{},"最":{"docs":{},"少":{"docs":{},"只":{"docs":{},"有":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}},"表":{"docs":{},"示":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}}}}}},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"c":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},".":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}}}}}}},"t":{"docs":{},"f":{"1":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}}}}}}}}}}}},"l":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"、":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"'":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"’":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"w":{"docs":{},"n":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.016600790513833993}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.8333333333333333}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"d":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}}},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}}},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"y":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},".":{"docs":{},"i":{"docs":{},"s":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}}}}}}}}}}},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"d":{"docs":{},"o":{"docs":{},"o":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286}}}}}}}}}}}}},"r":{"docs":{},"y":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}},".":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"c":{"docs":{},"a":{"docs":{},"p":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},";":{"docs":{},"和":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}},">":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"安":{"docs":{},"全":{"docs":{},"的":{"docs":{},"使":{"docs":{},"用":{"docs":{},"在":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"函":{"docs":{},"数":{"docs":{},"中":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"其":{"docs":{},"保":{"docs":{},"证":{"docs":{},"支":{"docs":{},"持":{"docs":{},"等":{"docs":{},"式":{"docs":{},"操":{"docs":{},"作":{"docs":{},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"说":{"docs":{},"明":{"docs":{},"这":{"docs":{},"个":{"docs":{},"事":{"docs":{},"实":{"docs":{},",":{"docs":{},"当":{"docs":{},"你":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"时":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"“":{"docs":{},"任":{"docs":{},"何":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"i":{"docs":{},"l":{"docs":{},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"a":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}},"e":{"docs":{},"(":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"(":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"y":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.008695652173913044},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354}}}}}}}}}}}}}}},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{},"t":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}},",":{"docs":{},"那":{"docs":{},"这":{"docs":{},"个":{"docs":{},"数":{"docs":{},"相":{"docs":{},"当":{"docs":{},"于":{"docs":{},"基":{"docs":{},"数":{"docs":{},"和":{"1":{"0":{"docs":{},"^":{"docs":{},"e":{"docs":{},"x":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}},"docs":{}},"2":{"docs":{},"^":{"docs":{},"e":{"docs":{},"x":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}},"docs":{}}}}}}}}}}}},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"]":{"docs":{},"[":{"6":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"7":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"w":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"a":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}}},"a":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.008695652173913044},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}},"l":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}},"e":{"docs":{},"t":{"docs":{},"g":{"docs":{},"a":{"docs":{},"s":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"s":{"docs":{},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.16666666666666666}}}}}}},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.125}},"e":{"docs":{},"r":{"docs":{},"-":{"docs":{},"b":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.125}}}}}}}},"方":{"docs":{},"法":{"docs":{},"​":{"docs":{},"​":{"docs":{},"块":{"docs":{},"可":{"docs":{},"以":{"docs":{},"由":{"docs":{},"一":{"docs":{},"个":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"子":{"docs":{},"句":{"docs":{},"后":{"docs":{},"跟":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"子":{"docs":{},"句":{"docs":{},"构":{"docs":{},"成":{"docs":{},",":{"docs":{},"用":{"docs":{},"大":{"docs":{},"括":{"docs":{},"号":{"docs":{},"括":{"docs":{},"起":{"docs":{},"来":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"由":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"子":{"docs":{},"句":{"docs":{},"后":{"docs":{},"跟":{"docs":{},"一":{"docs":{},"个":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.041666666666666664}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}},"o":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"e":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414},"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.047619047619047616}},"(":{"docs":{},"\"":{"docs":{},"b":{"docs":{},"o":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"该":{"docs":{},"函":{"docs":{},"数":{"docs":{},"结":{"docs":{},"束":{"docs":{},"它":{"docs":{},"的":{"docs":{},"执":{"docs":{},"行":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}},"a":{"docs":{},"m":{"docs":{},"m":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_35":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_35","tf":0.08333333333333333}}}}}}}},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.021052631578947368},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}},"h":{"docs":{},"o":{"docs":{},"s":{"docs":{},"t":{"docs":{},"b":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}}}}},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"u":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},",":{"docs":{},"即":{"docs":{},"便":{"docs":{},"你":{"docs":{},"没":{"docs":{},"有":{"docs":{},"实":{"docs":{},"现":{"docs":{},"它":{"docs":{},"。":{"docs":{},"例":{"docs":{},"如":{"docs":{},":":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"是":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"集":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"也":{"docs":{},"可":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"甚":{"docs":{},"至":{"docs":{},"于":{"docs":{},"可":{"docs":{},"以":{"docs":{},"是":{"docs":{},"任":{"docs":{},"何":{"docs":{},"其":{"docs":{},"他":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"数":{"docs":{},"据":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},",":{"docs":{},"你":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"创":{"docs":{},"建":{"docs":{},"存":{"docs":{},"储":{"docs":{},"任":{"docs":{},"何":{"docs":{},"指":{"docs":{},"定":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"字":{"docs":{},"典":{"docs":{},"(":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}}}}},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"n":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"m":{"docs":{},"i":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}}}}}}}}},"k":{"docs":{},"a":{"docs":{},"y":{"docs":{},"l":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}},"n":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"e":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}},"y":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}}}}},"n":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}},"s":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286}}}}}}}}}}}}}}}}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}},"o":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}},"u":{"docs":{},"b":{"docs":{},"r":{"docs":{},"i":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}}}},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}},"k":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"o":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.018421052631578946}},"(":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.007894736842105263}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"u":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}}}}}}},"i":{"docs":{},"m":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"s":{"docs":{},"或":{"docs":{},"者":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},")":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"指":{"docs":{},"定":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"(":{"docs":{},"比":{"docs":{},"如":{"docs":{},"数":{"docs":{},"字":{"1":{"0":{"docs":{},"或":{"docs":{},"者":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"新":{"docs":{},"常":{"docs":{},"量":{"docs":{},",":{"docs":{},"并":{"docs":{},"给":{"docs":{},"它":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"1":{"0":{"docs":{},"。":{"docs":{},"然":{"docs":{},"后":{"docs":{},",":{"docs":{},"声":{"docs":{},"明":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"字":{"docs":{},"是":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"并":{"docs":{},"将":{"docs":{},"它":{"docs":{},"的":{"docs":{},"值":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"为":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"a":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"p":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.018421052631578946}}},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}},"d":{"docs":{},"e":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}},"e":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"o":{"docs":{},"f":{"docs":{},"l":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}}}}}}}},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.010752688172043012},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}},"d":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.020553359683794466}},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"能":{"docs":{},"够":{"docs":{},"使":{"docs":{},"用":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}},"因":{"docs":{},"为":{"docs":{},"不":{"docs":{},"确":{"docs":{},"定":{"docs":{},",":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}}}},"u":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.016442451420029897}}}}},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"l":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.005376344086021506}}}}},"p":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606}}}}}}}}},"y":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"整":{"docs":{},"数":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}}},"和":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}},"u":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.006696428571428571}}}}}}}}},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"x":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}},"d":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"e":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.05928853754940711}},"e":{"docs":{},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.003952569169960474}}}}}},".":{"docs":{},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695}}}}}}},"实":{"docs":{},"例":{"docs":{},"和":{"docs":{},"三":{"docs":{},"个":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"l":{"docs":{},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"在":{"docs":{},"它":{"docs":{},"被":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"时":{"docs":{},"根":{"docs":{},"据":{"docs":{},"它":{"docs":{},"的":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"标":{"docs":{},"记":{"docs":{},"符":{"docs":{},"和":{"docs":{},"里":{"docs":{},"面":{"docs":{},"的":{"docs":{},"内":{"docs":{},"容":{"docs":{},"(":{"docs":{},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"将":{"docs":{},"用":{"docs":{},"于":{"docs":{},"打":{"docs":{},"印":{"docs":{},"一":{"docs":{},"个":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},",":{"docs":{},"包":{"docs":{},"括":{"docs":{},"它":{"docs":{},"的":{"docs":{},"导":{"docs":{},"演":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"。":{"docs":{},"当":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"真":{"docs":{},"的":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},"(":{"docs":{},"这":{"docs":{},"个":{"docs":{},"是":{"docs":{},"为":{"docs":{},"了":{"docs":{},"判":{"docs":{},"断":{"docs":{},"下":{"docs":{},"转":{"docs":{},"是":{"docs":{},"否":{"docs":{},"成":{"docs":{},"功":{"docs":{},"。":{"docs":{},")":{"docs":{},"可":{"docs":{},"选":{"docs":{},"绑":{"docs":{},"定":{"docs":{},"是":{"docs":{},"这":{"docs":{},"样":{"docs":{},"写":{"docs":{},"的":{"docs":{},"“":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.005875440658049354},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.022326674500587545},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.008695652173913044},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"d":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123}},"e":{"docs":{},"的":{"docs":{},"另":{"docs":{},"一":{"docs":{},"个":{"docs":{},"子":{"docs":{},"类":{"docs":{},"c":{"docs":{},"i":{"docs":{},"r":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},",":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"接":{"docs":{},"收":{"docs":{},"两":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"半":{"docs":{},"径":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"名":{"docs":{},"称":{"docs":{},",":{"docs":{},"实":{"docs":{},"现":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{},"和":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"v":{"docs":{},"i":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}},"e":{"docs":{},"w":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}},"e":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}}}}}}}},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}},"c":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}},"e":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"x":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":5.021505376344086},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}},",":{"docs":{},"?":{"docs":{},"后":{"docs":{},"面":{"docs":{},"的":{"docs":{},"东":{"docs":{},"西":{"docs":{},"都":{"docs":{},"会":{"docs":{},"被":{"docs":{},"忽":{"docs":{},"略":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"整":{"docs":{},"个":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"返":{"docs":{},"回":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}},"条":{"docs":{},"件":{"docs":{},"会":{"docs":{},"判":{"docs":{},"断":{"docs":{},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},",":{"docs":{},"大":{"docs":{},"括":{"docs":{},"号":{"docs":{},"中":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"会":{"docs":{},"被":{"docs":{},"跳":{"docs":{},"过":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"不":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},",":{"docs":{},"会":{"docs":{},"将":{"docs":{},"值":{"docs":{},"赋":{"docs":{},"给":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}},"但":{"docs":{},"是":{"docs":{},"后":{"docs":{},"面":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"运":{"docs":{},"行":{"docs":{},"需":{"docs":{},"要":{"docs":{},"一":{"docs":{},"个":{"docs":{},"非":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"不":{"docs":{},"是":{"docs":{},"指":{"docs":{},"针":{"docs":{},"—":{"docs":{},"—":{"docs":{},"它":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"确":{"docs":{},"定":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"值":{"docs":{},"缺":{"docs":{},"失":{"docs":{},"。":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"话":{"docs":{},"请":{"docs":{},"不":{"docs":{},"要":{"docs":{},"使":{"docs":{},"用":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"解":{"docs":{},"析":{"docs":{},"可":{"docs":{},"选":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"生":{"docs":{},"命":{"docs":{},"周":{"docs":{},"期":{"docs":{},"中":{"docs":{},"判":{"docs":{},"断":{"docs":{},"是":{"docs":{},"否":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.008130081300813009}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"c":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}}}}}}},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.013452914798206279}}},"r":{"docs":{},"m":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},".":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}},"u":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"e":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.005979073243647235}}}}},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.01645123384253819},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.031578947368421054},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.007050528789659225}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}}}}}}},"s":{"docs":{},".":{"docs":{},"m":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.005263157894736842}}}}}}}}}}}},"s":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{},")":{"docs":{},"来":{"docs":{},"暗":{"docs":{},"示":{"docs":{},"值":{"docs":{},"缺":{"docs":{},"失":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"方":{"docs":{},"法":{"docs":{},"假":{"docs":{},"设":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"调":{"docs":{},"用":{"docs":{},"者":{"docs":{},"知":{"docs":{},"道":{"docs":{},"并":{"docs":{},"记":{"docs":{},"得":{"docs":{},"对":{"docs":{},"特":{"docs":{},"殊":{"docs":{},"值":{"docs":{},"进":{"docs":{},"行":{"docs":{},"判":{"docs":{},"断":{"docs":{},"。":{"docs":{},"然":{"docs":{},"而":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.01834862385321101}}}}}}}}},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}},"q":{"docs":{},"u":{"docs":{},"e":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.016260162601626018}}}},"s":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.002232142857142857}}}}}}},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0007905138339920949}}}}},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}},";":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}},";":{"docs":{},")":{"docs":{},",":{"docs":{},"u":{"docs":{},"+":{"1":{"docs":{},"f":{"4":{"2":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}},"l":{"docs":{},"b":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}}}}}}},"e":{"docs":{},"x":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}}}},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}},"":{"docs":{},"":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},",":{"docs":{},"之":{"docs":{},"所":{"docs":{},"以":{"docs":{},"叫":{"docs":{},"这":{"docs":{},"个":{"docs":{},"名":{"docs":{},"字":{"docs":{},"是":{"docs":{},"因":{"docs":{},"为":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"人":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"当":{"docs":{},"做":{"docs":{},"输":{"docs":{},"入":{"docs":{},",":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"给":{"docs":{},"这":{"docs":{},"个":{"docs":{},"人":{"docs":{},"的":{"docs":{},"问":{"docs":{},"候":{"docs":{},"语":{"docs":{},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"完":{"docs":{},"成":{"docs":{},"这":{"docs":{},"个":{"docs":{},"任":{"docs":{},"务":{"docs":{},",":{"docs":{},"你":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"输":{"docs":{},"入":{"docs":{},"参":{"docs":{},"数":{"docs":{},"-":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},",":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"包":{"docs":{},"含":{"docs":{},"给":{"docs":{},"这":{"docs":{},"个":{"docs":{},"人":{"docs":{},"问":{"docs":{},"候":{"docs":{},"语":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_14":{"ref":"chapter2/06_Functions.html#gitbook_14","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"b":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"y":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}},"f":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}},"o":{"docs":{},"m":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}},"大":{"docs":{},"于":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}},"按":{"docs":{},"照":{"docs":{},"字":{"docs":{},"母":{"docs":{},"顺":{"docs":{},"序":{"docs":{},"后":{"docs":{},"出":{"docs":{},"现":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421}}}}}}}}}}}}}}}},"短":{"docs":{},"路":{"docs":{},"计":{"docs":{},"算":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.004464285714285714}}}}}}}}}}}},"a":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}}}}},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.04935370152761457},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.014336917562724014},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.011009174311926606},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.010526315789473684},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0047430830039525695},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.024390243902439025},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.02391629297458894}},"i":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0029895366218236174}},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.005504587155963303}}}}}}}}}}},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.010752688172043012},"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.020553359683794466},"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.04878048780487805},"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.017937219730941704}},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"f":{"docs":{},"i":{"docs":{},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_27":{"ref":"chapter2/19_Nested_Types.html#gitbook_27","tf":0.024390243902439025}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.008968609865470852}},"”":{"docs":{},"。":{"docs":{},"不":{"docs":{},"是":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"等":{"docs":{},"式":{"docs":{},"符":{"docs":{},"(":{"docs":{},"=":{"docs":{},"=":{"docs":{},")":{"docs":{},"进":{"docs":{},"行":{"docs":{},"比":{"docs":{},"较":{"docs":{},"。":{"docs":{},"例":{"docs":{},"如":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"你":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"类":{"docs":{},"或":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"一":{"docs":{},"个":{"docs":{},"复":{"docs":{},"杂":{"docs":{},"的":{"docs":{},"数":{"docs":{},"据":{"docs":{},"模":{"docs":{},"型":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"没":{"docs":{},"法":{"docs":{},"猜":{"docs":{},"到":{"docs":{},"对":{"docs":{},"于":{"docs":{},"这":{"docs":{},"个":{"docs":{},"类":{"docs":{},"或":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"而":{"docs":{},"言":{"docs":{},"“":{"docs":{},"等":{"docs":{},"于":{"docs":{},"”":{"docs":{},"的":{"docs":{},"意":{"docs":{},"思":{"docs":{},"。":{"docs":{},"正":{"docs":{},"因":{"docs":{},"如":{"docs":{},"此":{"docs":{},",":{"docs":{},"这":{"docs":{},"部":{"docs":{},"分":{"docs":{},"代":{"docs":{},"码":{"docs":{},"不":{"docs":{},"能":{"docs":{},"可":{"docs":{},"能":{"docs":{},"保":{"docs":{},"证":{"docs":{},"工":{"docs":{},"作":{"docs":{},"于":{"docs":{},"每":{"docs":{},"个":{"docs":{},"可":{"docs":{},"能":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0023501762632197414}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.004700352526439483}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0011750881316098707}}},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.003669724770642202}}}}},"s":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0023715415019762848}}}}}}}},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/22_Generics.html#gitbook_30":{"ref":"chapter2/22_Generics.html#gitbook_30","tf":0.004484304932735426}}}}}},"y":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_7":{"ref":"chapter1/02_a_swift_tour.html#gitbook_7","tf":0.0035252643948296123},"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_21":{"ref":"chapter2/02_Basic_Operators.html#gitbook_21","tf":0.011160714285714286},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0031620553359683794}},"e":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_11":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_11","tf":0.001834862385321101}}}}}}}}},"_":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0035842293906810036}}},"z":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018}},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/01_The_Basics.html#gitbook_10":{"ref":"chapter2/01_The_Basics.html#gitbook_10","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_15":{"ref":"chapter2/07_Closures.html#gitbook_15","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_26":{"ref":"chapter2/18_Type_Casting.html#gitbook_26","tf":0.0015810276679841897}}}}}}},"length":1850},"corpusTokens":["0","0,$1,$2","0..3","0..count","0..somecontainer.count","0..time","0.0","0.0125","0.1","0.14159","0.25","0.5","000123.456","0b","0b10001","0o","0o21","0x","0x11","0xc.3p0","0xfp-2","0xfp2","0x)。小数点两边必须有至少一个十进制数字(或者是十六进制的数字)。浮点原始值还有一个可选的指数,在十进制浮点数中通过大写或者小写的e来指定,在十六进制浮点数中通过大写或者小写的p","0为fals","0为true的时候代码运行才会继续,也就是说,当age的值非负的时候。如果age的值是负数,就像代码中那样,ag","0,这时闭包会将字符串输出,而map","1","1...5","1.21875e1","1.25","1.25e-2","1.25e2","10","10.0","100","103","107","10^-2","10^2","10中,如果number为16,则返回6,58返回8,510返回0","11","111","12","12.1875","123","125.0","128054","128054,是一个十六进制1f436","13","144","15","159","16","16,58,510","16变成了1,58变成了5,510变成了51","17","182","19","1_000_000","1_000_000.000_000_1","1后变成2","1的比较结果是bool类型,所以第二个例子可以通过类型检查。类似i","2","2.5","20","200","2001","2014","21","240","25","255","2^-2","2^2","2_000","3","3.0","3.1","3.14159","3.14159,0.1和-273.15","3.59","3.69","3.75","3.79","30","32位平台上,int和int32","32位平台上,uint和uint32","33","39","39;*'","3可以直接和原始值0.14159","3没有显式声明类型,而表达式中出现了一个浮点原始值,所以表达式会被推测为doubl","4","4.0","4.75会变成4,-3.9会变成3","40","404","42","42和-23","42和3.14159","42并且没有标明类型,swift","43","4个string","5","5.0","5.2","50","510","55357","56374","58","597","6","60.0","64位平台上,int和int64","64位平台上,uint和uint64","68","69105","7","7.5","7.simpledescript","70","70.0","75","8","87","8:09","8、16、32和64","8位无符号整数类型是uint8,32位有符号整数类型是int32","8除于2.5等于3余0.5","9","9.3","9.9","90","94","_","a...b","a..b","a.adjust","a.simpledescript","abov","ac","access","ace.toraw","acerawvalu","act","act1scenecount","action","actual","actualnumb","actualnumber常量可以在if语句的第一个分支中使用。它已经被可选包含的值初始化过,所以不需要再使用!后缀来获取它的值。在这个例子中,actualnumb","ad","add","addit","addon","addone(numb","adescript","adjust","adopt","advanc","ag","again","alex","alia","alias","alien","alik","allitemsmatch","allitemsmatch(stackofstr","allitemsmatch的泛型函数,用来检查是否两个container单例包含具有相同顺序的相同items。如果匹配到所有的items,那么返回一个为true的boolean","allitemsmatch首先检查两个容器是否拥有同样数目的items,如果他们的items数目不同,没有办法进行匹配,函数就会fals","allow","allowedentri","allowentri","alow","alsoincrementbyten","alsominussix","alwai","amount","amp","amp;&","and/or","andrea","anna","anoth","anothercontain","anothercontainer.count","anothercontainer[i","anothercontainer中的item","anothercontainer是一个c2","anotheremptystr","anotherint","anotherpi","anotherproperti","anotherstr","answer1","answer2","ant","anycommonel","anycommonelements([1","anyobject","anyobjectanyobject类型ani","anyobject可以代表任何class","any可以表示任何类型,除了方法类型(funct","any和anyobject","apart","api","apis,它一般接收一个anyobject[]类型的数组,或者说“一个任何对象类型的数组”。这是因为oc没有明确的类型化数组。但是,你常常可以确定包含在仅从你知道的api","app","appear","append(item","append方法添加一个新item","appl","applese","applesummari","appli","approach","appropri","arc","arc为了能帮助你管理内存,需要更多的关于你的代码之间关系的信息。本章描述了这些情况,并且为你示范怎样启用arc","arc会分配一大块内存用来储存实例的信息。内存中会包含实例的类型信息,以及这个实例所有相关属性的值。此外,当实例不再被使用时,arc","arc会跟踪和计算每一个类实例正在被多少属性,常量和变量所引用。哪怕实例的引用数为一,arc","area","argument","arrai","arrayofstr","array和dictionari","array性质的items存储值。stack提供两个方法:push和pop,从栈中压进一个值和移除一个值。这些方法标记为可变的,因为他们需要修改(或转换)结构体的item","artist","as)下转并解包到不可选的movie类型(p","as?)。可选形式的类型检查总是返回一个可选值(opt","ascii","assert(ag","assert函数来写一个断言。给assert函数传入一个结果为true或者false的表达式以及一条信息,当表达式为fals","assum","assumedstr","astlei","attempt","audiosampl","audiosample.min","audiosample被定义为uint16的一个别名。因为它是别名,audiosample.min实际上是uint16.min,所以会给maxamplitudefound赋一个初值0","automat","avail","b","b.adjust","b.simpledescript","back","backward","backwards(s1","barri","base","basic","bdescript","behavior","behind","believ","below","better","binaryinteg","bind","binding)来检查opt","blackheart","blackjackcard","blackjackcard(rank","blackjackcard(二十一点),用来模拟blackjackcard中的扑克牌点数。blackjackcard结构体包含2个嵌套定义的枚举类型suit","blackjackcard.suit.hearts.toraw","blackjackcard是一个没有自定义构造函数的结构体,在memberwis","blackjackcard结构体自身有两个属性—rank与suit,也同样定义了一个计算属性description,description属性用rank和suit的中内容来构建对这张扑克牌名字和数值的描述,并用可选类型second","blackjackcard规则中,ace牌可以表示1或者11,ace牌的这一特征用一个嵌套在枚举型rank的结构体valu","block","blue","bodi","bonjour","bool","boolean","bool。布尔值是指逻辑,因为它们只能是真或者假。swift","bool类型的地方使用了非布尔值,swift","bool)默认都是hash","both","bottl","brian","bug","c","c1","c1.itemtyp","c1必须遵循contain","c1的itemtype同样是c2的itemtyp","c1的itemtype必须遵循equat","c2","c2.itemtyp","c2必须遵循contain","call","cannotbeneg","capabl","captain","captur","capulet'","caputur","card","card(rank","card添加一个方法,创建一副完整的扑克牌并把每张牌的rank和suit","carriag","casablanca","case","cases里用i","cast","casting)定义一个类层次作为例子defin","cat","catfish","celeri","cell","certain","chang","charact","character1","character2","characterpluscharact","characterplusstr","characters)字符串字面量初始化空字符串字符串可变性字符串是值类型使用字符(characters)计算字符数量连接字符串和字符字符串插值比较字符串字符串相等前缀/后缀相等大写和小写字符串unicodeunicod","check","checker","chees","chesnei","chri","citizen","class","class=\"x-name\">check","class类型。它创建了一个可以存储ani","closur","club","cocoa","cocoa的基础上构建框架栈并将其标准化。objective-c","cocoa里的nslog函数一样,println","code","codeunit","collect","colspan=\"4\">4(arrai","equatable类型都可以安全的使用在findindex函数中,因为其保证支持等式操作。为了说明这个事实,当你定义一个函数时,你可以写一个equat","equatable,也就意味着“任何t类型都遵循equat","equilater","equilateraltriangl","equilateraltriangle(sidelength","equival","error","error(error","error(str","even","everyth","ewa","eww","exampl","exampleprotocol","exist","expect","explicitdoubl","explicitli","exponentdoubl","express","exp,那这个数相当于基数和10^exp","exp,那这个数相当于基数和2^exp","extens","extension][6","extension][7","fail","failur","fals","false。同样的,item","fibonacci","film","final","find","findindex([\"mik","findindex([3.14159","findindex(arrai","findindex中这个单个类型参数写做:t","findindex函数现在则可以成功的编译过,并且作用于任何遵循equatable的类型,如double或str","findindex,用某个类型t","findstringindex","findstringindex(arrai","findstringindex(str","findstringindex的泛型版本findindex。请注意这个函数仍然返回int","findstringindex的非泛型函数,该函数功能是去查找包含一给定string值的数组。若查找到匹配的字符串,findstringindex函数返回该字符串在数组中的索引值(int),反之则返回nil","first","firstforloop","five","fiveeight","fiveonezero","float","float并指定初始值为4","float表示32","for-in","for-in循环和半闭区间操作(..)来迭代somecontainer中的所有items。对于每个item,函数检查是否somecontainer中的item不等于对应的anothercontainer中的item,如果这两个items不等,则这两个容器不匹配,返回fals","forc","force-unwrap","forincr","form","for—that","found","found"","found")元组把一个int值和一个str","foundat","foundindex","four","friar","friendlywelcom","friendlywelcome的值从"hello!"改为了"bonjour!"","fromthetop","fruit","fruitsummari","func","function","func作为前缀。指定函数返回类型时,用返回箭头->","func来声明一个函数,使用名字和参数来调用函数。使用->","g","gener","getgaspric","getter","getter-claus","getter-sett","getter-setter-block","getter-setter方法​​块可以由一个getter子句后跟一个可选的setter子句构成,用大括号括起来,或者由一个setter子句后跟一个gett","getters和sett","ghostbust","give","goe","gonna","good","grammar","great","greet","greet(\"bob","greet(nam","greeting被调用,该函数结束它的执行并返回greet","gt","guide,即便你没有实现它。例如:swift的array和dictionary类型都是泛型集。你可以创建一个int数组,也可创建一个string数组,或者甚至于可以是任何其他swift的类型数据数组。同样的,你也可以创建存储任何指定类型的字典(dictionari","hall","hasanymatches(list","hasanymatches(numb","hasdoorkei","hashead","hashtabl","hasprefix","hasprefix/hassuffix","hawk","heart","hearts.simpledescript","heartsdescript","heartssymbol","hearts成员:给hearts常量赋值时,枚举成员suit.hearts需要用全名来引用,因为常量没有显式指定类型。在switch里,枚举成员使用缩写.hearts来引用,因为self的值已经知道是一个suit","hello","help","here","here’","hexadecimaldoubl","hexadecimalinteg","hierarchi","highland","horribl","hors","http","http200statu","http200status.descript","http200status.statuscod","http404error","http404error.0","http404error.1","if和let来处理值缺失的情况。有些变量的值是可选的。一个可选的值可能是一个具体的值或者是nil","if和switch来进行条件操作,使用for-in、for、while和do-whil","if和while语句中来对可选的值进行判断并把值赋给一个常量或者变量。if和whil","if语句中,条件必须是一个布尔表达式——这意味着像if","if语句来判断一个可选是否包含值。如果可选有值,结果是true;如果没有值,结果是fals","if语句的第一个分支中操作actualnumber的值,你可以改成if","imagin","implement","implicitdoubl","implicitinteg","implicitli","import","in-out参数交换a和b的值,这两个参数被描述为[in-out类型参数][1","includ","incorrect","increment","increment(7","incrementby(amount","incrementbyseven","incrementbysevn","incrementbyten","incrementor","index","indic","individualscor","infer","inform","init","init(nam","init(s","init(sidelength","initi","inout","inspir","instanc","instead","instruct","int","int(pi","int)或者(str","int8","int8.max","int8类型的常量或者变量可以存储的数字范围是-128~127,uint8类型的常量或者变量能存储的数字范围是0~255","integ","integerpi","interestingnumb","interpolation)的方式把常量名或者变量名当做占位符加入到长字符串中,swift会用当前常量或变量的值替换这些占位符。将常量或变量名放入反斜杠符加一对圆括号中"\\()"","intstack","intstack指定了container的实现,适用的itemtype被用作int类型。对于这个contain","intstack类型只能用于int值,不过,其对于定义一个泛型stack","intstack类型实现了container协议的所有三个要求,在intstack","intstack类型的非泛型版本,适用于遵循contain","intuint浮点数类型安全和类型推测数值类原始值数值类型转换整数转换整数和浮点数转换类型别名布尔值元组可选if","int就够了。这可以提高代码一致性和可复用性。即使是在32位平台上,int可以存储的整数范围也可以达到-2147483648~2147483647","int是整型;double和float是浮点型;bool是布尔型;string是字符串。swift","int类型更大或者更小的数字。swift","int索引值下标可以检索到每一个item","int这一行,一切仍旧可以工作,因为它清楚的知道itemtyp","int,将抽象的itemtype类型转换为具体的int","io","isempti","item","items.append(item","items.count","items.removelast","items[i","items。这个需求通过一个类型约束和wher","items的属性,使用空的t","itemtyp","itemtype。th","item是如何存储的或何种类型是允许的。这个协议只指定三个任何遵循contain","item的push方法,该参数必须是t","item需要真正作为movi","iter","it’","ivan","jack","john","jone","justoveronemillion","justthestatuscod","kane","kayle","kei","keytyp","kind","king","know","knowledg","known","knowsoverridepassword","koala","kubrick","label","lambda","languag","languagenam","larger","largest","last","lawrence'","left","length","less","lessthanten","lessthanten(numb","let来声明常量,使用var","let来声明常量,用var","lh","lhsitem","librari","library'","line","list","liter","llama","log","look","loop","lot","lowercasestr","lt","m","made","main","make","makeincrement","makeincrementor","makeincrementor(forincr","malcolm","manag","mani","mansion","map","match","maxamplitudefound","maximumnumberofloginattempt","maximumnumberofloginattempts或者welcomemessage)和一个指定类型的值(比如数字10或者字符串hello","maximumnumberofloginattempts的新常量,并给它一个值10。然后,声明一个名字是currentloginattempt的变量并将它的值初始化为0","maxvalu","meaningoflif","mechan","media","mediaitem","mediaitem。为了能够使用movi","mediaitem。因为不确定,a","messag","method","michael","minussix","minusthre","minvalu","min和max","mix","model","modifi","moon","more","morn","movi","movie(nam","movie.director","movie.nam","moviecount","movie实例和三个song实例。library的类型是在它被初始化时根据它的array标记符和里面的内容(p","movie的属性将用于打印一个movie实例的描述,包括它的导演的名字director。当song","movie真的包含一个值(这个是为了判断下转是否成功。)可选绑定是这样写的“if","multilin","multipl","multipli","mutat","myconst","myvari","myvariable是一个整数(integ","n","name","namedshap","namedshape的另一个子类circle,构造器接收两个参数,一个是半径一个是名称,实现area和describ","names.count","names[i","nativ","navig","necessari","need","nest","never","new","newvalu","newvalue.sidelength","newvalue。你可以在set","next","nil","nil不是指针——它是一个确定的值,用来表示值缺失。任何类型的可选都可以被设置为nil","nil的话请不要使用隐式解析可选。如果你需要在变量的生命周期中判断是否是nil","nil,?后面的东西都会被忽略,并且整个表达式返回nil","nil,nil","nil,但是后面的代码运行需要一个非nil","nil,条件会判断为false,大括号中的代码会被跳过。如果不是nil,会将值赋给let","nine","nn","nnnn","nnnnnnnn","non-class","non-opt","non-specif","none","normal","normal.lowercasestr","normal.uppercasestr","note","noth","now","nsmutablestr","nsnotfound)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,swift","nsstring","number","numberofsid","numberoftim","numbers.map","o","objc","object","objective-c","occup","occupations[\"jayn","octalinteg","odyssei","ok","on","onemillion","onesix","oper","opt","option","optionalnam","optionalname改成nil,greeting会是什么?添加一个else语句,当optionalname是nil时给greet","optionalsquar","optionalsquare?.sidelength","optionalstr","optionalvalue(item","report","repres","result","result(str","result(sunris","return","returnfifteen","returntyp","return参数名称缩写运算符函数trail","revers","rh","rhsitem","rick","ridlei","romeoandjuliet","room","rowheight","runingtot","runningtot","runtim","s1","s2","s2),backward","safe","same","samequot","sandwich","sayhello(personnam","sayhelloagain(personnam","sayhello。上面的例子展示的是用"anna"和"brian"","sayhello函数时,在圆括号中传给它一个string类型的实参。因为这个函数返回一个string类型的值,sayhello可以被包含在println","sayhello的函数体中,先定义了一个新的名为greeting的string常量,同时赋值了给personname的一个简单问候消息。然后用return关键字把这个问候返回出去。一旦return","scalar","scene","scene.hasprefix(\"act","score","scott","second","secondforloop","see","self","self.artist","self.director","self.nam","self.push(item","self.sidelength","self.toraw","self被用来区别实例变量。当你创建实例的时候,像传入函数参数一样给类传入构造器的参数。每个属性都需要赋值——无论是通过声明(就像numberofsides)还是通过构造器(就像nam","sequenc","serverrespons","serverresponse.error(\"out","serverresponse.result(\"6:00","serverresponsecod","serverresponse和switch","set","setter","setter-claus","setter-clause­opt","seven","sever","shape","shape.numberofsid","shape.simpledescript","shapedescript","shape类缺少了一些重要的东西:一个构造函数来初始化类实例。使用init","shoe","shoppinglist","shoppinglist[1","shorter","shouti","side","sidelength","similar","similarli","simpl","simpleclass","simpledescript","simplestructur","simplestructure时候mutating关键字用来标记一个会修改结构体的方法。simpleclass","simpli","singl","situat","six","size","snail","snippet","some(100","some(t","someclass","somecontain","somecontainer.count","somecontainer[i","somecontainer中item","somecontainer中的item","somecontainer和anothercontainer。somecontainer参数是类型c1,anothercontainer参数是类型c2。c1和c2","somecontainer和anothercontainer包含相同的item","somecontainer是一个c1","somedoubl","somefunction(somet","somestr","sometype(ofinitialvalu","someu","somewher","song","song(nam","song.artist","song.nam","songcount","songcount,用来计算数组librari","song检查item是否为song类型的实例。在循环末尾,moviecount","sort","sort([1","sort(nam","soup","space","spade","span","sparklingheart","special","specif","specifi","spici","squar","square(sidelength","square.sidelength","stack","stack(栈)。一个栈是一系列值域的集合,和array(数组)相似,但其是一个比swift的array类型更多限制的集合。一个数组可以允许其里面任何位置的插入/删除操作,而栈,只允许,只允许在集合的末端添加新的项(如同push一个新值进栈)。同样的一个栈也只能从末端移除项(如同pop","stack(inout","swaptwovalues例子中,节点类型t是一种类型参数的示例。类型参数指定并命名为一个节点类型,并且紧随在函数名后面,并用一对尖括号括起来(如)。这个尖括号告诉swift那个t是swaptwovalues函数所定义的一个节点类型。因为t是一个节点,swift不会去查找每一个命名为t","t.generatortype.el","tabl","tast","tasti","td","td>1","td>1*2","td>3","td>4","td>5","td>6","td>7","td>8","td>9","tea","teamscor","temporari","temporarya","ten","terminolog","terrapin","test","test.area","test.simpledescript","theaceofspad","theaceofspades.descript","thing","things.append(\"hello","things.append((3.0","things.append(0","things.append(0.0","things.append(3.14159","things.append(42","things.append(movie(nam","things数组中的每一项的并用switch语句查找每一项的类型。这几种switch","those","three","threedescript","threeofspad","threeofspades.simpledescript","threeofspadesdescript","three的值被用来创建一个doubl","through","time","todai","toint方法可能会失败,所以它返回一个可选的int,而不是一个int。一个可选的int被写作int?而不是int。问号暗示包含的值是可选,也就是说可能包含int值也可能不包含值。(不能包含其他任何值比如bool值或者string值。只能是int","toint方法来尝试将一个string转换成int","toobig","top","toraw和fromraw","touch","tr","trail","tre","treat","triagl","triangl","triangle.perimet","triangle.sidelength","triangleandsquar","triangleandsquare(s","triangleandsquare.squar","triangleandsquare.square.sidelength","triangleandsquare.triangle.sidelength","trigger","true","true。从字面意思来说,断言“断言”一个条件是否为真。你可以使用断言来保证在运行其他代码之前,某些重要的条件已经被满足。如果条件判断为true,代码运行会继续进行;如果条件判断为fals","true和fals","try","tuesdai","tulip","tupl","turnip","turnipsaredelici","two","twothousand","twothousandandon","twothousand类型是uint16,然而常量one类型是uint8。它们不能直接相加,因为它们类型不同。所以要调用uint16(one)来创建一个新的uint16数字并用on","type","type-saf","typealia","types中知道结构体有默认的成员构造函数,所以你可以用默认的initializer去初始化新的常量theaceofspad","t分别代表tnt和string","t定义了一个名为“某种类型t”的节点提供给后来用。这种将来类型可以在结构体的定义里任何地方表示为“t”。在这种情况下,t","t来表示)来代替实际类型名(如int、string或double)。节点类型名并不是表示t必须是任何类型,但是其规定a和b必须是同一类型的t,而不管t表示任何类型。只有swaptwovalues函数在每次调用时所传入的实际类型决定了t","t被用作append方法的item参数和下标的返回类型。swift因此可以推断出被用作这个特定容器的itemtype的t","t,有一个需要t必须是someclass子类的类型约束;第二个类型参数u,有一个需要u必须遵循someprotocol","u","u+0024","u+0061","u+1f436","u+1f496","u+2665","u+d83d","u+dc36","u.generatortype.el","u0001f496","u2665","uin8","uinavigationcontrol","uint","uint16","uint16(on","uint16有一个构造器,可以接受一个uint8类型的值,所以这个构造器可以用现有的uint8来创建一个新的uint16。注意,你并不能传入任意类型的值,只能传入uint16","uint16,可以进行相加。目标常量twothousandandone的类型被推测为uint16,因为它是两个uint16","uint32","uint8","uint8.max","uint8.min","uint,除非你真的需要存储一个和当前平台原生字长相同的无符号整数。除了这种情况,最好使用int,即使你要存储的值已知是非负的。统一使用int","uncertainti","uncom","undefinedundefin","underli","unicod","unicodescalar","unicodescalarview","unnnn","unnnnnnnn","uno","unown","unusualmenageri","unwrap","up","uppercamelcas","uppercasestr","us","utf-16","utf-8","utf-8utf-16unicod","utf16","utf16count","utf16view","utf8","utf8view","valu","values(first","valuetofind","valuetofind”。不是所有的swift中的类型都可以用等式符(==)进行比较。例如,如果你创建一个你自己的类或结构体来表示一个复杂的数据模型,那么swift没法猜到对于这个类或结构体而言“等于”的意思。正因如此,这部分代码不能可能保证工作于每个可能的类型t","var","variabl","variablestr","veget","vegetablecom","veri","verona","version","view","wai","want","water","watercress","we'r","web","welcom","welcomemessag","welcomemessage变量添加了类型标注,表示这个变量可以存储str","well","whenev","where语句作为一个类型参数队列的一部分。一个where语句使你能够要求一个关联类型遵循一个特定的协议,以及(或)那个特定的类型参数和关联类型可以是相同的。你可写一个where语句,通过紧随放置wher","where语句的一部分,写在关键字wher","where,只在冒号后面写接口或者类名。<t","whether","whisper","width","widthlabel","willset","willset和didset","win","wiseword","within","without","work","world","world"","written","wwdc","x","x.hassuffix(\"pepp","x24","xcode","xnn","y","yensign","z","zero"],"pipeline":["trimmer","stopWordFilter","stemmer"]} \ No newline at end of file +{"version":"0.5.2","fields":[{"name":"title","boost":10},{"name":"body","boost":1}],"ref":"url","documentStore":{"store":{"index.html#gitbook_35":["2014","issu","languag","program","pull","qq群:364279588","request","swift","undefinedundefin","wwdc"],"chapter1/01_swift.html#gitbook_36":["arc","automat","c","cocoa","cocoa的基础上构建框架栈并将其标准化。objective-c","count","c的兼容性的限制。swift","foundat","hello","io","objective-c","os","refer","swift","touch","undefinedundefin","world","x"],"chapter1/02_a_swift_tour.html#gitbook_37":["0","0..3","0..time","0.0","1","10","100","103","11","12","13","16","19","2","2.5","20","25","3","3.0","3.1","3.59","3.69","3.79","4","42","43","5","5.2","50","597","69105","7","7.simpledescript","70","70.0","75","8","87","8:09","9","9.9","94","a.adjust","a.simpledescript","ac","ace.toraw","acerawvalu","add","addon","addone(numb","adescript","adjust","amount","anoth","anotherproperti","ant","anycommonel","anycommonelements([1","appl","applese","applesummari","area","b","b.adjust","b.simpledescript","bdescript","blue","bool","bottl","c","captain","card","card(rank","card添加一个方法,创建一副完整的扑克牌并把每张牌的rank和suit","case","catfish","celeri","chees","class","club","condit","condition(item","convertedrank","convertedrank.simpledescript","count","counter","counter.incrementby(2","cucumb","dai","default","deinit","diamond","dictionary(item","result","result(str","result(sunris","return","returnfifteen","rh","rhsitem","sandwich","score","secondforloop","see","self","self.nam","self.sidelength","self被用来区别实例变量。当你创建实例的时候,像传入函数参数一样给类传入构造器的参数。每个属性都需要赋值——无论是通过声明(就像numberofsides)还是通过构造器(就像nam","sequenc","serverrespons","serverresponse.error(\"out","serverresponse.result(\"6:00","serverresponse和switch","set","setter","seven","shape","shape.numberofsid","shape.simpledescript","shapedescript","shape类缺少了一些重要的东西:一个构造函数来初始化类实例。使用init","shoppinglist","shoppinglist[1","side","sidelength","simpl","simpleclass","simpledescript","simplestructur","simplestructure时候mutating关键字用来标记一个会修改结构体的方法。simpleclass","six","size","some(100","some(t","sort([1","soup","spade","spici","squar","square(sidelength","square.sidelength","standard","string","string(self.toraw","string(width","struct","structur","success","suit","suit.heart","suit.simpledescript","suit添加一个color方法,对spades和clubs返回“black”,对hearts和diamonds返回“r","sum","sumof","sumof(42","sumof(numb","sunris","sunset","super.init(nam","swift","switch","switch中匹配到的子句之后,程序会退出switch语句,并不会继续向下运行,所以不需要在每个子句结尾写break","t","t.generatortype.el","tast","tea","teamscor","ten","test","test.area","test.simpledescript","three","threedescript","threeofspad","threeofspades.simpledescript","threeofspadesdescript","time","todai","toraw和fromraw","triagl","triangl","triangle.perimet","triangle.sidelength","triangleandsquar","triangleandsquare(s","triangleandsquare.squar","triangleandsquare.square.sidelength","triangleandsquare.triangle.sidelength","true","tuesdai","tulip","two","type","u","u.generatortype.el","uncom","undefinedundefin","var","veget","vegetablecom","veri","water","watercress","where,只在冒号后面写接口或者类名。<t","width","widthlabel","willset","willset和didset","world","x","x.hassuffix(\"pepp","xcode","y"],"chapter1/chapter1.html#gitbook_38":["swift","undefinedundefin"],"chapter2/13_Inheritance.html#gitbook_39":["0","0.0","0和maxpasseng","1","10.0","2","35.0","4","40.0","5","60.0","automat","automatic.descript","automatic.spe","automaticcar","automaticcar的speed属性,属性的didset观察器就会自动地设置gear属性,为新的速度选择一个合适的挡位。具体来说就是,属性观察器将新的速度值除以10,然后向下取得最接近的整数值,最后加1来得到档位gear的值。例如,速度为10.0时,挡位为1;速度为35.0时,挡位为4","automaticcar,它是car的子类。automaticcar表示自动挡汽车,它可以根据当前的速度自动选择合适的挡位。automaticcar也提供了定制的descript","bicycl","bicycle.descript","bicycle。这个新类是在vehicle类的基础上创建起来。因此你需要将vehicle类放在bicycl","bicycle不仅可以继承vehicle的属性,还可以继承它的方法。如果你创建了一个bicycle类的实例,你就可以调用它继承来的descript","bicycle是vehicle的子类,vehicle是bicycle的超类。新的bicycle类自动获得vehicle类的特性,比如maxpassengers和numberofwheels属性。你可以在子类中定制这些特性,或添加新的特性来更好地描述bicycl","bicycle的一个子类:双人自行车(tandem)。tandem从bicycle继承了两个属性,而这两个属性是bicycle从vehicle继承而来的。tandem并不修改轮子的数量,因为它仍是一辆自行车,有2个轮子。但它需要修改maxpasseng","bicycle类定义了一个初始化器来设置它定制的特性(自行车只有2个轮子)。bicycle的初始化器调用了它父类vehicle的初始化器super.init(),以此确保在bicycle类试图修改那些继承来的属性前,vehicl","bicycle,它继承了vehicl","car","car.descript","car中的description方法并非完全自定义,而是通过super.description使用了超类vehicle中的descript","car声明了一个新的存储型属性speed,它是double类型的,默认值是0.0,表示“时速是0英里”。'car'有自己的初始化器,它将乘客的最大数量设为5,轮子数量设为4","car的新实例,并打印descript","car重写了继承来的description方法,它的声明与vehicle中的description方法一致,声明前面加上了overrid","class","class前添加@final特性(@fin","class)来将整个类标记为fin","definit","descript","didset","doubl","final","final方法,属性或下标,在编译时会报错。在扩展中,你添加到类里的方法,属性或下标也可以在扩展的定义里标记为fin","final来防止它们被重写,只需要在声明关键字前加上@final特性即可。(例如:@fin","func","gear","getters和sett","getter和sett","getter(或sett","goe","here","init","initi","instanc","int","int(spe","limitedcar","limitedcar.descript","limitedcar.spe","maxpasseng","method),实例属性(inst","method),类方法(class","min(newvalu","mph","numberofwheel","objective-c,在swift","observ","observer),这样一来,当属性值改变时,类就会被通知到。可以为任何属性添加属性观察器,无论它原本被定义为存储型属性(stor","overrid","override关键字。这么做,你就表明了你是想提供一个重写版本,而非错误地提供了一个相同的定义。意外的重写行为可能会导致不可预知的错误,任何缺少overrid","override关键字会提醒swift","passeng","perform","println(\"automaticcar","println(\"bicycl","println(\"car","println(\"speedlimitedcar","println(\"tandem","properti","property)还是计算型属性(comput","property),或下标(subscript)提供自己定制的实现(implementation)。我们把这种行为叫重写(overrid","return","set","setter,那么你也一定要提供getter。如果你不想在重写版本中的getter里修改继承来的属性值,你可以直接返回super.someproperty来返回继承来的值。正如下面的speedlimitedcar","someclass","somemethod的重写实现中,可以通过super.somemethod()来调用超类版本的somemethod","someproperty的getter或setter的重写实现中,可以通过super.someproperty来访问超类版本的someproperti","somesuperclass","somevehicl","speed","speedlimitedcar","speedlimitedcar实例的speed属性时,属性setter的实现会去检查新值与限制值40mph的大小,它会将超类的speed设置为newvalue和40.0中较小的那个。这两个值哪个较小由min函数决定,它是swift标准库中的一个全局函数。min","speedlimitedcar实例的speed属性设置为一个大于40mph的数,然后打印description函数的输出,你会发现速度被限制在40mph","speedlimitedcar,它是car的子类。类speedlimitedcar表示安装了限速装置的车,它的最高速度只能达到40mph。你可以通过重写继承来的spe","string","subclass","subclassing(子类化?待定)重写(overriding)访问超类的方法,属性及下标重写方法重写属性重写属性的getters和setters重写属性观察器(properti","subscript","super","super.descript","super.init","super.spe","super[someindex","swift","swift中,类可以调用和访问超类的方法,属性和下标,并且可以重写(override)这些方法,属性和下标来优化或修改它们的行为。swift","tandem","tandem.descript","tandem类也继承了descript","travel","undefinedundefin","up","var","vehicl","vehicle的一个新的子类,叫car,它重写了从vehicle类继承来的'description'","vehicle的基类。这个基类声明了两个对所有车辆都通用的属性(numberofwheels和maxpassengers)。这些属性在description方法中使用,这个方法返回一个str","vehicle类中maxpassengers的默认值对自行车来说已经是正确的,因此在bicycle的初始化器中并没有改变它。而numberofwheels原来的值对自行车来说是不正确的,因此在初始化器中将它更改为2","vehicle类定义了初始化器(initi","vehicle类的初始化器为任意的一辆车设置一些初始化属性值(numberofwheel","wheel","willset或didset实现是不恰当。此外还要注意,你不可以同时提供重写的setter和重写的属性观察器。如果你想观察属性值的变化,并且你已经为那个属性提供了定制的setter,那么你在sett"],"chapter2/01_The_Basics.html#gitbook_40":["0","0.0","0.0125","0.14159","000123.456","0b","0b10001","0o","0o21","0x","0x11","0xc.3p0","0xfp-2","0xfp2","0x)。小数点两边必须有至少一个十进制数字(或者是十六进制的数字)。浮点原始值还有一个可选的指数,在十进制浮点数中通过大写或者小写的e来指定,在十六进制浮点数中通过大写或者小写的p","0为fals","0为true的时候代码运行才会继续,也就是说,当age的值非负的时候。如果age的值是负数,就像代码中那样,ag","1","1.21875e1","1.25","1.25e-2","1.25e2","10","10^-2","10^2","12.1875","123","125.0","15","17","1_000_000","1_000_000.000_000_1","1的比较结果是bool类型,所以第二个例子可以通过类型检查。类似i","200","255","2^-2","2^2","2_000","3","3.14159","3.14159,0.1和-273.15","3.75","32位平台上,int和int32","32位平台上,uint和uint32","3可以直接和原始值0.14159","3没有显式声明类型,而表达式中出现了一个浮点原始值,所以表达式会被推测为doubl","4.75会变成4,-3.9会变成-3","404","42","42和-23","42和3.14159","42并且没有标明类型,swift","60.0","64位平台上,int和int64","64位平台上,uint和uint64","8、16、32和64","8位无符号整数类型是uint8,32位有符号整数类型是int32","_","actualnumb","actualnumber常量可以在if语句的第一个分支中使用。它已经被可选包含的值初始化过,所以不需要再使用!后缀来获取它的值。在这个例子中,actualnumb","ag","anotherpi","array和dictionari","assert(ag","assert函数来写一个断言。给assert函数传入一个结果为true或者false的表达式以及一条信息,当表达式为fals","assumedstr","audiosampl","audiosample.min","audiosample被定义为uint16的一个别名。因为它是别名,audiosample.min实际上是uint16.min,所以会给maxamplitudefound赋一个初值0","binaryinteg","bonjour","bool","bool。布尔值是指逻辑,因为它们只能是真或者假。swift","bool类型的地方使用了非布尔值,swift","c","cannotbeneg","cat","chang","cocoa里的nslog函数一样,println","code","comment","compile-tim","constantnam","convert","convertednumb","current","currentloginattempt","decimaldoubl","decimalinteg","definitestr","descript","dogcow","doubl","double(thre","double或者float","double精确度很高,至少有15位数字,而float最少只有6","double而不是float","double表示64","end","error","eww","exponentdoubl","exp,那这个数相当于基数和10^exp","exp,那这个数相当于基数和2^exp","fals","first","float表示32","found","found"","found")元组把一个int值和一个str","friendlywelcom","friendlywelcome的值从"hello!"改为了"bonjour!"","gt","hello","hexadecimaldoubl","hexadecimalinteg","horribl","http","http200statu","http200status.descript","http200status.statuscod","http404error","http404error.0","http404error.1","if和while语句中来对可选的值进行判断并把值赋给一个常量或者变量。if和whil","if语句来判断一个可选是否包含值。如果可选有值,结果是true;如果没有值,结果是fals","if语句的第一个分支中操作actualnumber的值,你可以改成if","implicitli","int","int(pi","int)或者(str","int8","int8.max","int8类型的常量或者变量可以存储的数字范围是-128~127,uint8类型的常量或者变量能存储的数字范围是0~255","integ","integerpi","interpolation)的方式把常量名或者变量名当做占位符加入到长字符串中,swift会用当前常量或变量的值替换这些占位符。将常量或变量名放入反斜杠符加一对圆括号中"\\()"","intuint浮点数类型安全和类型推测数值类原始值数值类型转换整数转换整数和浮点数转换类型别名布尔值元组可选if","int就够了。这可以提高代码一致性和可复用性。即使是在32位平台上,int可以存储的整数范围也可以达到-2147483648~2147483647","int是整型;double和float是浮点型;bool是布尔型;string是字符串。swift","int类型更大或者更小的数字。swift","io","justoveronemillion","justthestatuscod","languagenam","less","let来声明常量,用var","line","maxamplitudefound","maximumnumberofloginattempt","maximumnumberofloginattempts或者welcomemessage)和一个指定类型的值(比如数字10或者字符串hello","maximumnumberofloginattempts的新常量,并给它一个值10。然后,声明一个名字是currentloginattempt的变量并将它的值初始化为0","maxvalu","meaningoflif","messag","minvalu","min和max","multilin","multipl","nest","nil","nil不是指针——它是一个确定的值,用来表示值缺失。任何类型的可选都可以被设置为nil","nil的话请不要使用隐式解析可选。如果你需要在变量的生命周期中判断是否是nil","nil,nil","nil,但是后面的代码运行需要一个非nil","now","nsnotfound)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,swift","objc","objective-c","octalinteg","ok","on","onemillion","option","orangesareorang","orangesareorange和turnipsaredelicious的类型会被推测为bool,因为它们的初值是布尔原始值。就像之前提到的int和double一样,如果你创建变量的时候给它们赋值true或者false,那你不需要给常量或者变量标明bool","os","over","paddeddoubl","person'","pi","pointonefouronefivenin","possiblenumb","possiblenumber.toint","possiblenumber.toint返回的可选int包含一个值,创建一个叫做actualnumb","possiblestr","print","println","println(\"\\(possiblenumb","println(\"eww","println(\"mmm","println(\"th","println(\"thi","println(assumedstr","println(cat","println(definitestr","println(friendlywelcom","println(possiblestr","println函数输出传入的str","println是一个用来输出的全局函数,输出的内容会在最后带换行。如果你用xcode,println将会输出内容到“console”面板上。(另一种函数叫print","properti","quot;an","quot;not","refer","second","serverresponsecod","someopt","sometype(ofinitialvalu","start","statement","statu","statuscod","statusmessag","string","string."","string”的意思是“可以存储任意str","string和隐式解析可选str","string类型有一个叫做toint的方法,作用是将一个string值转换成一个int值。然而,并不是所有的字符串都可以转换成一个整数。字符串"123"可以被转换成数字123,但是字符串"hello","string,你绝对不可能不小心传进去一个int","string,名字为welcomemessag","string,类型安全会阻止你不小心传入一个int","subscript","surveyansw","swift","swift可以推断出这个常量或者变量的类型,详情参见类型安全和类型推断(待添加链接)。在上面的例子中,没有给welcomemessag","swift用字符串插值(str","tasti","three","three的值被用来创建一个doubl","toint方法可能会失败,所以它返回一个可选的int,而不是一个int。一个可选的int被写作int?而不是int。问号暗示包含的值是可选,也就是说可能包含int值也可能不包含值。(不能包含其他任何值比如bool值或者string值。只能是int","toint方法来尝试将一个string转换成int","toobig","true","true。从字面意思来说,断言“断言”一个条件是否为真。你可以使用断言来保证在运行其他代码之前,某些重要的条件已经被满足。如果条件判断为true,代码运行会继续进行;如果条件判断为fals","true和fals","tupl","turnip","turnipsaredelici","twothousand","twothousandandon","twothousand类型是uint16,然而常量one类型是uint8。它们不能直接相加,因为它们类型不同。所以要调用uint16(one)来创建一个新的uint16数字并用on","typealia","uint","uint16","uint16(on","uint16有一个构造器,可以接受一个uint8类型的值,所以这个构造器可以用现有的uint8来创建一个新的uint16。注意,你并不能传入任意类型的值,只能传入uint16","uint16,可以进行相加。目标常量twothousandandone的类型被推测为uint16,因为它是两个uint16","uint8","uint8.max","uint8.min","uint,除非你真的需要存储一个和当前平台原生字长相同的无符号整数。除了这种情况,最好使用int,即使你要存储的值已知是非负的。统一使用int","undefinedundefin","unicod","unown","unwrap","valu","var","web","welcomemessag","welcomemessage变量添加了类型标注,表示这个变量可以存储str","world"","written","x","xcode","y","z","zero"],"chapter2/03_Strings_and_Characters.html#gitbook_41":["0","1","10","103","111","128054","128054,是一个十六进制1f436","144","159","16","182","2","2.5","21","240","3","33","39","4","40","5","55357","56374","6","68","7.5","8","act","act1scenecount","anoth","anotheremptystr","api","ascii","blackheart","boolean","c","capulet'","carriag","cell","charact","character1","character2","characterpluscharact","characterplusstr","characters)字符串字面量初始化空字符串字符串可变性字符串是值类型使用字符(characters)计算字符数量连接字符串和字符字符串插值比较字符串字符串相等前缀/后缀相等大写和小写字符串unicodeunicod","cocoa","codeunit","compile-tim","constantstr","countel","countelements(unusualmenageri","d","dog","dogstr","dogstring.unicodescalar","dogstring.utf16","dogstring.utf8","dollarsign","dollarsign、blackheart","double(multipli","dromedari","emptystr","emptystring.isempti","enumer","error","face","face,unicod","for-in","foundat","friar","g","good","great","hall","hasprefix","hasprefix/hassuffix","hello","help","highland","hors","instruct","isempti","koala","lawrence'","length","liter","look","loop","lowercasestr","mansion","messag","morn","multipli","n","nn","nnnn","nnnnnnnn","normal","normal.lowercasestr","normal.uppercasestr","nsmutablestr","nsstring","o","objective-c","orchard","outsid","over","penguin","place","pleas","print","print(\"\\(codeunit","print(\"\\(scalar.valu","print(\"\\n","println","println(\"\\(scalar","println(\"ther","println(\"unusualmenageri","println(charact","public","quot","quot;"","quot;a"),u+1f425","quot;hello","quot;海贼王"","quot;🐥"","quotat","r","represent","romeoandjuliet","room","samequot","scalar","scene","scene.hasprefix(\"act","shouti","snail","somestr","sparklingheart","street","string","string1","string2","stringpluscharact","stringplusstr","structur","swift","t","terminolog","touch","type","u+0024","u+0061","u+1f436","u+1f496","u+2665","u+d83d","u+dc36","u0001f496","u2665","uint16","uint32","uint8","undefinedundefin","unicod","unicodescalar","unicodescalarview","unnnn","unnnnnnnn","unusualmenageri","uppercasestr","us","utf-16","utf-8","utf-8utf-16unicod","utf16","utf16count","utf16view","utf8","utf8view","valu","var","variablestr","verona","welcom","whisper","wiseword","work","world"","x24","xnn","yensign"],"chapter2/06_Functions.html#gitbook_55":["0","0是真的(true),这将使得choosestepfunction返回stepbackward函数。一个指向返回的函数的引用保存在了movenearertozero","1","1...amounttopad","10","10.0","107","12","13","19","2","3","3.0","4","5","6","8","9","_","aardvark","addtwoint","addtwoints(a","addtwoints和mathfunction有同样的类型,所以这个赋值过程在swift","addtwoints和multiplytwoints。这两个函数都传入两个int","again","alignright(originalstr","alignright(var","alignright函数将参数string定义为变量参数。这意味着str","alignright的函数,用来右对齐输入的字符串到一个长的输出字符串中。左侧空余的地方用指定的填充字符填充。这个例子中,字符串"hello"被转换成了"-----hello"","amounttopad","anna","anotherint","anothermathfunct","arbitrari","argument","arithmet","arithmeticmean(1","arithmeticmean(3","arithmeticmean(numb","b","backward","bodi","bool","brian","c","call","case","charact","charactertofind","choosestepfunct","choosestepfunction(backward","choosestepfunction(currentvalu","choosestepfunction的函数,它的返回类型是(int","compile-tim","conson","constant","contain","containsave","containscharact","containscharacter(#str","containscharacter(str","count","count(\"som","count(str","countelements(str","countelements(stringtoprint","count函数来处理任何一个字符串,返回的值将是一个包含三个int型值的元组(tupl","currentvalu","currentvalue逐渐接近到0是需要向正数走还是向负数走。currentvalue的初始值是3,这意味着currentvalu","d","dave","default","defin","doubl","double(numbers.count","e","enclos","end","equal","error","extern","f","fals","five","func","function","functions)函数参数与返回值(funct","functions)函数的定义与调用(defin","functions),它们定义在全局域中。你也可以把函数定义在别的函数体中,称作嵌套函数(nest","func作为前缀。指定函数返回类型时,用返回箭头->","g","global","goe","goodby","greet","greeting被调用,该函数结束它的执行并返回greet","gt","h","halfopenrangelength(start","hello","hello-world","here","in-out","infer","inout","inout标记。如果你用inout标记一个参数,这个参数不能别var或者let","input","int","int型的变量来调用swaptwoints。需要注意的是,someint和anotherint在传入swaptwoints函数前,都加了&","int的函数。choosestepfunction根据布尔值backwards来返回stepforward函数或stepbackward","int,你可以传入任何这种类型的函数;第二个和第三个参数叫a和b,它们的类型都是int","int,可以读作“这个函数类型,它有两个int型的参数并返回一个int","j","join","join(\"hello","join(s1","join(str","joiner","joiner的值没有被指定,函数会使用默认值("","join函数一样,如果join","join函数中,第一个参数有一个叫string的外部参数名和s1的局部参数名,第二个参数有一个叫tostring的外部参数名和s2的局部参数名,第三个参数有一个叫withjoiner的外部参数名和join","join函数的另一个版本,这个版本中并没有为它的参数提供外部参数名,但是join","join函数,其中join","k","l","liter","local","localparameternam","m","mathfunct","mathfunction(2","mathfunction(a","mathfunction的变量,类型是‘一个有两个int型的参数并返回一个int型的值的函数’,并让这个新变量指向addtwoint","mean","movenearertozero","movenearertozero(currentvalu","movenearertozero指向了正确的函数,它可以被用来数到0","multipl","multiplytwoint","multiplytwoints(a","n","name","names)外部参数名(extern","names)简写外部参数名(shorthand","names)默认参数值(default","nest","now","number","numbers的double...型可变参数,在函数体内可以当做一个叫numbers的doubl","o","originalstr","other","p","pad","paddedstr","paramet","parameternam","parameters)函数类型(funct","parameters)常量参数和变量参数(const","parameters)无参函数(funct","parameters)无返回值函数(funct","parameters)输入输出参数(in-out","personnam","print","printandcount(\"hello","printandcount(stringtoprint","printandcount,输出一个字符串并返回int类型的字符数。第二个函数printwithoutcount","printhelloworld","println(\"\\(currentvalu","println(\"\\(total.vowel","println(\"count","println(\"goodby","println(\"hello","println(\"result","println(\"someint","println(\"zero","println(halfopenrangelength(1","println(sayhello(\"anna","println(sayhello(\"brian","println(sayhelloagain(\"anna","println(sayhelloworld","println(stringtoprint","printmathresult(addtwoint","printmathresult(mathfunct","printmathresult函数的作用就是输出另一个合适类型的数学函数的调用结果。它不关心传入函数是如何实现的,它只关心这个传入的函数类型是正确的。这使得printmathresult可以以一种类型安全(type-saf","printmathresult函数,它有三个参数:第一个参数叫mathfunction,类型是(int","printmathresult被调用时,它被传入addtwoints函数和整数3和5。它用传入3和5调用addtwoints,并输出结果:8","printwithoutcounting(\"hello","printwithoutcounting(stringtoprint","q","quot","quot;greetingforperson",之所以叫这个名字是因为这个函数用一个人的名字当做输入,并返回给这个人的问候语。为了完成这个任务,你定义一个输入参数-一个叫做personname的string值,和一个包含给这个人问候语的str","r","refer","result","return","s","s1","s2","saygoodbye(\"dav","saygoodbye(personnam","saygoodbye函数依然返回了值。没有定义返回类型的函数会返回特殊的值,叫void。它其实是一个空的元组(tupl","sayhello(personnam","sayhelloagain(personnam","sayhelloworld","sayhello。上面的例子展示的是用"anna"和"brian"","sayhello函数时,在圆括号中传给它一个string类型的实参。因为这个函数返回一个string类型的值,sayhello可以被包含在println","sayhello函数的另一个版本,叫wavegoodbye,这个函数直接输出str","sayhello的函数体中,先定义了一个新的名为greeting的string常量,同时赋值了给personname的一个简单问候消息。然后用return关键字把这个问候返回出去。一旦return","shorthand","somefunction(externalparameternam","somefunction(parameternam","someint","someint和anotherint的原始值在swaptwoint","start","stepbackward","stepbackward(input","stepforward","stepforward(input","stepforward和stepbackward。stepforward函数返回一个比输入值大一的值。stepbackward函数返回一个比输入值小一的值。这两个函数的类型都是(int","still","string","string(character).lowercasestr","string的左边,以右对齐到总的字符串中。这个值存在局部常量amounttopad中。这个函数然后将amounttopad多的填充(pad)字符填充到string左边,并返回结果。它使用了str","swaptwoints(&someint","swaptwoints(inout","swaptwoints函数仅仅交换a与b的值。该函数先将a的值存到一个暂时常量temporarya中,然后将b的值赋给a,最后将temporarya幅值给b","swaptwoints函数并没有定义任何返回值,但仍然修改了someint和anotherint","swaptwoints函数,有两个分别叫做a和b","swift","swift统一的函数语法足够灵活,可以用来表示任何函数,包括从最简单的没有参数名字的c风格函数,到复杂的带局部和外部参数名的objective-c","swift自动为join","switch","t","temporarya","three","tostr","total","total.conson","true","tupl","type","types)使用函数类型(us","types)函数类型作为参数类型(funct","types)函数类型作为返回类型(funct","types)嵌套函数(nest","u","undefinedundefin","us","v","valu","values)函数参数名(funct","values)可变参数(variad","values)多重输入参数(multipl","values)多重返回值函数(funct","values)默认值参数的外部参数名(extern","value),因为这些量是不能被修改的。当传入的参数作为输入输出参数时,需要在参数前加&","var","variabl","variad","void","void。在swift中,void","vowel","w","withjoin","without","world","x","y","z","zero"],"chapter2/07_Closures.html#gitbook_56":["0","0,$1,$2","0,这时闭包会将字符串输出,而map","1","10","10中,如果number为16,则返回6,58返回8,510返回0","16","16,58,510","16变成了1,58变成了5,510变成了51","2","20","3","30","4","40","5","50","510","58","6","7","8","9","alex","alsoincrementbyten","amount","arrai","b","backward","backwards(s1","barri","block","bool","c","captur","caputur","chri","closur","constant","cycl","daniella","digitnam","digitnames[numb","eight","equal","ewa","five","fiveeight","fiveonezero","force-unwrap","forincr","four","func","function","gt","incrementbyseven","incrementbysevn","incrementbyten","incrementor","inout","int","kei","lambda","makeincrementor","makeincrementor(forincr","map","name","nine","note","number","numbers.map","objective-c","on","onesix","oper","option","output","paramet","quot;a"","quot;alex"","quot;b"","quot;barry"","quot;fiveeight"","quot;fiveonezero"","quot;onesix"","quot;tim"","quot;tom"","quot;大于"","quot;按照字母顺序后出现"","refer","return","returntyp","return参数名称缩写运算符函数trail","revers","runingtot","runningtot","s1","s2","s2),backward","seven","six","somefunctionthattakesaclosur","somefunctionthattakesaclosure(closur","sort","sort(nam","statement","string","strong","swift","three","trail","true","two","type","undefinedundefin","valu","var","variabl","zero"],"chapter2/08_Enumerations.html#gitbook_57":["1","3","8590951226","85909_51226","9","9的行星,通过fromraw返回的可选planet值将是nil","abcdefghijklmnop","alt","ascii","asciicontrolcharact","asciicontrolcharacter的枚举的原始值类型被定义为字符型character,并被设置了一些比较常见的ascii控制字符。字符值的描述请详见字符串和字符str","associ","barcod","barcode.upca(8","barcode.upca和其整数值被新的barcode.qrcode和其字符串值所替代。条形码的常量和变量可以存储一个.upca或者一个.qrcod","barcode的枚举类型,它可以是upca的一个实例值(int,int,int),或者qrcode的一个字符串类型(str","binding),通过原始值9试图访问一个行星。if","blue","carriagereturn","case","charact","check","code","compasspoint","compasspoint.west","control","c和objective-c一样,swift的枚举成员在被创建时不会被赋予一个默认的整数值。在上面的compasspoints例子中,north,south,east和west不是隐式得等于0,1,2和3。相反的,这些不同的枚举成员在compasspoint","c语言,你就会知道,在c语言中枚举指定相关名称为一组整型值。swift中的枚举更加灵活,不必给每一个枚举成员(enumer","default","definit","directiontohead","directiontohead的值。当它等于.north,打印“lot","directiontohead的类型被推断当它被compasspoint的一个可能值初始化。一旦directiontohead被声明为一个compasspoint,你可以使用更短的点(.)语法将其设置为另一个compasspoint","earth","earthsord","east","enum","enumer","equal","flow)中介绍,当考虑一个枚举的成员们时,一个switch语句必须全面。如果忽略了.west这种情况,上面那段代码将无法通过编译,因为它没有考虑到compasspoint","fromraw方法来试图找到具有特定原始值的枚举成员。这个例子通过原始值7识别uranu","goe","harmless","height=\"120","height=\"169","here","human","identifi","img","instanc","int","int值都可以找到一个匹配的行星。正因为如此,fromraw方法可以返回一个可选的枚举成员。在上面的例子中,possibleplanet是planet?类型,或“可选的planet","int或string的实际值,它只是定义了,当barcode常量和变量等于barcode.upca或barcode.qrcod","isn't","jupit","linefe","mar","member","mercuri","methods),用于提供和枚举所代表的值相关联的功能。枚举也可以定义构造函数(initializers)来提供一个初始成员值;可以在原始的实现基础上扩展它们的功能;可以遵守协议(protocol","mostli","n","neptun","nepturn","north","north”。当它等于.south,打印“watch","north,south,east和west)是枚举的成员值(或者成员)。cas","numbersystem","option","out","penguin","place","planet","planet.earth","planet.earth.toraw","planet.fromraw(7","planet.fromraw(9)语句获得一个可选planet,如果可选planet可以被获得,把someplanet设置成该可选planet的内容。在这个范例中,无法检索到位置为9的行星,所以els","planet.fromraw(positiontofind","planet.uranu","planet.venus的原始值是2","planet这个枚举的一个细化,利用原始整型值来表示每个planet","posit","positiontofind","possibleplanet","print","println(\"lot","println(\"mostli","println(\"not","println(\"qr","println(\"ther","println(\"upc-a","println(\"watch","println(\"wher","productbarcod","productbarcode的新变量,并且赋给它一个barcode.upca的实例元组值(8","productcod","properti","properties),方法(methods),构造过程(initialization),扩展(extensions),和协议(protocol","qr","qrcode(\"abcdefghijklmnop","qrcode(let","qrcode(productcod","qrcode(str","qr码格式的二维码,它可以使用任何iso8859-1字符,并且可以编码一个最多拥有2,953","r","raw","rise","safe","saturn","ski","someeumer","someplanet","south","src=\"https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/art/barcode_qr_2x.png","src=\"https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/art/barcode_upc_2x.png","sun","swift","swift中其他类型一样,它们的名字(例如compasspoint和planet","swift中,枚举类型是一等(first-class)类型。它们采用了很多传统上只被类(class)所支持的特征,例如计算型属性(comput","swift的枚举存储任何类型的实例值,如果需要的话,每个成员的数据类型可以是各不相同的。枚举的这种特性跟其他语言中的可辨识联合(discrimin","switch","switch语句匹配枚举值实例值(associ","switch语句来检查,然而这次实例值可以被提取作为switch语句的一部分。你可以在switch的case分支代码中提取每个实例值作为一个常量(用let前缀)或者作为一个变量(用var","swith","t","tab","toraw","type","undefinedundefin","unions)和变体(vari","unions),或者变体(vari","unions),标签联合(tag","upc-a格式的一维码,它使用数字0到9.每一个条形码都有一个代表“数字系统”的数字,该数字后接10","upc-a码作为三个整型值的元组,和把qr","upca(int","upca(let","upca(numbersystem","uranu","valu","values)原始值(raw","var","var或者let","venu","watch","west","width=\"169","width=\"252"],"chapter2/09_Classes_and_Structures.html#gitbook_58":["collect","undefinedundefin"],"chapter2/11_Methods.html#gitbook_60":["0","0.0","1","1)都被锁定。每次有玩家完成一个等级,这个等级就对这个设备上的所有玩家解锁。leveltrack","1.0","15","2","3","3.0","4.0","5.0","6","_","advancetolevel(level","amount","amount和numberoftimes。默认地,swift只把amount当作一个局部名称,但是把numberoftim","argyrio","behavior","beto","body)中,self指向这个类型本身,而不是类型的某个实例。对于结构体和枚举来说,这意味着你可以用self","bool","case","class","completedlevel(level","constant","count","counter","counter'","counter.incr","counter.incrementby(5","counter.reset","counter的例子(count","counter的替换版本(它定义了一个更复杂的incrementbi","counter这个类还声明了一个可变属性count","currentlevel","currentlevel属性,leveltracker定义了实例方法advancetolevel。这个方法会在更新currentlevel之前检查所请求的新等级是否已经解锁。advancetolevel方法返回布尔值以指示是否确实能够设置currentlevel","deltai","deltax","dot","doubl","enum","enumer","equal","error","explicitli","extern","fals","fixedpoint","fixedpoint.movebyx(2.0","func","func关键字之前加上关键字class;声明结构体和枚举的类型方法,在方法的func关键字之前加上关键字stat","goe","hash","here","high","highest","highestunlockedlevel","implement","increment","incrementbi","incrementby(amount","init(nam","initi","instanc","int","istotherightofx(x","itself);类型方法与类型自身相关联。类型方法与objective-c中的类方法(class","level","levelisunlocked(level","leveltrack","leveltracker.highestunlockedlevel","leveltracker.levelisunlocked(level","leveltracker.unlocklevel(level","leveltracker监测玩家的已解锁的最高等级。这个值被存储在静态属性highestunlockedlevel","leveltracker还定义了两个类型方法与highestunlockedlevel配合工作。第一个类型方法是unlocklevel:一旦新等级被解锁,它会更新highestunlockedlevel的值。第二个类型方法是levelisunlocked:如果某个给定的等级已经被解锁,他返回true。(注意:我们没用使用leveltracker.highestunlockedlevel,这个类型方法还是能够访问静态属性highestunlockedlevel","leveltracker还监测每个玩家的进度。它用实例属性currentlevel","line","local","low","method","method)movebyx,movebyx用来移动一个point。movebyx方法在被调用时修改了这个point,而不是返回一个新的point。方法定义是加上那个了mut","method)类型方法(typ","methods)self属性(th","methods)。在swift中,你可以为所有的类、结构体和枚举定义类型方法:each","methods)修改外部参数名称(modifi","methods)在变异方法中给self赋值(assign","methods)实例方法(inst","methods)方法的局部参数名称和外部参数名称(loc","modifi","movebyx(deltax","movebyx创建了一个新的分支结构(他的x和i","mutat","mutating)这个方法。方法可以从内部变异它的属性;并且它做的任何改变在方法结束时都会回写到原始结构。方法会给它隐含的self","name","next","next方法时,开关在不同的电源状态(off,low,high","now","numberoftim","objective-c的方法时很相似。这个约定还让express","objective-c里面,你只能为objective-c的类定义类型方法(type-level","ovenlight","ovenlight.next","paramet","player","player(nam","player.completedlevel(1","player.tracker.advancetolevel(6","playernam","player类使用leveltrack","player类创建一个新的leveltracker实例来检测这个用户的发展进度。他提供了completedlevel方法:一旦玩家完成某个指定等级就调用它。这个方法为所有玩家解锁下一等级,并且将当前玩家的进度更新为下一等级。(我们忽略了advancetolevel返回的布尔值,因为之前调用leveltracker.unlocklevel","point","point(x","point结构体定义了一个变异方法(mut","print","println(\"highest","println(\"level","println(\"play","println(\"th","println(\"thi","properti","property)在实例方法中修改值类型(modifi","report","reset","reset将计数器重置为0","return","right","scope","self","self.count","self.x","self。不论何时,在一个方法中使用一个已知的属性或者方法名称,如果你没有明确的写self,swift假定你是指当前实例的属性或者方法。这种假定在上面的counter中已经示范了:counter中的三个实例方法中都使用的是count(而不是self.count","self一个全新的实例。上面point","self前缀,swift就认为两次使用的x都指的是名称为x","self属性(th","self消除方法参数x和实例属性x","self赋值(assign","self,它完全等同于这个实力变量本身。你可以在一个实例的实例方法中使用这个隐含的self","someclass","someclass.sometypemethod","somepoint","somepoint.i","somepoint.istotherightofx(1.0","somepoint.movebyx(2.0","somepoint.x","sometypemethod","static","store","string","struct","structur","support","swift","swift中,结构体和枚举能够定义方法;事实上这是swift与c/objective-c的主要区别之一。在objective-c中,类是唯一能定义方法的类型。在swift","swift中定义方法使用了与objective-c","swift中的方法和objective-c中的方法极其相似。像在objective-c中一样,swift中方法的名称通常用一个介词指向方法的第一个参数,比如:with,for,by等等。前面的counter类的例子中incrementby方法就是这样的。介词的使用让方法在被调用时能像一个句子一样被解读。swift","switch","syntax","tracker","tracker.advancetolevel(level","tristateswitch","tristateswitch.low","true","type","undefinedundefin","unlock","unlocklevel(level","valu","var","within","x","y"],"chapter2/12_Subscripts.html#gitbook_61":["0","0.0","1","1.5","2","3","3.2","3的6倍是18","4","6","8","ant","arrai","array(count","assert(indexisvalidforrow(row","b>提示41","td>1*2","td>3","td>4","td>5","td>6","td>7","td>8","td>9","three","tr","true","undefinedundefin","var","welcom","win","world","x","y"],"chapter2/15_Deinitialization.html#gitbook_64":["1","10","100","10000","10_000","11","12","2","2000","2100","3","4","5","6","7","7900","8","9","9900","bank","bank.coinsinbank","bank.receivecoins(coinsinpurs","bank.vendcoins(coin","bank和player。bank结构体管理一个虚拟货币的流通,在这个流通中bank永远不可能拥有超过10,000的硬币。在这个游戏中有且只能有一个bank存在,因此bank","bank根据它的coinsinbank属性来跟踪当前它拥有的硬币数量。银行还提供两个方法—vendcoins和receivecoin","class","coin","coinsinbank","coinsinpurs","deinit","deinit来标示析构函数,类似于初始化函数用init","func","game","init(coin","int","join","left","min(numberofcoinstovend","new","nil","now","numberofcoinstovend","player","player(coin","playeron","playerone!.coinsinpurs","playerone!.wincoins(2_000","playerone是可选的,所以由一个感叹号(!)来修饰,每当其wincoins方法被调用时,coinsinpurs","player实例都由一个指定数目硬币组成的启动额度初始化,这些硬币在bank初始化的过程中得到。如果没有足够的硬币可用,play","player实例随着一个100个硬币(如果有)的请求而被创建。这个player实例存储在一个名为playerone的可选player变量中。这里使用一个可选变量,是因为players可以随时离开游戏。设置为可选使得你可以跟踪当前是否有play","player已经赢得了2,000硬币。player的钱包现在有2,100硬币,bank只剩余7,900","player现在已经离开了游戏。这表明是要将可选的playerone变量设置为nil,意思是"没有player实例"。当这种情况发生的时候,playerone变量对player实例的引用被破坏了。没有其它属性或者变量引用player实例,因此为了清空它占用的内存从而释放它。在这发生前一步,其析构函数被自动调用,其硬币被返回到bank","player类定义了一个wincoins方法,该方法从bank获取一定数量的硬币,并把它们添加到player的钱包。player类还实现了一个析构函数,这个析构函数在player实例释放前一步被调用。这里析构函数只是将player的所有硬币都返回给bank","player类描述了游戏中的一个玩家。每一个player在任何时刻都有一定数量的硬币存储在他们的钱包中。这通过player的coinsinpurs","println(\"a","println(\"playeron","println(\"th","println(\"ther","receivecoins(coin","receivecoins方法只是将bank的硬币存储和接收到的硬币数目相加,再保存回bank","return","static","struct","swift会自动释放不再需要的实例以释放资源。如自动引用计数那一章描述,swift通过自动引用计数(arc","undefinedundefin","var","vendcoins(var","vendcoins方法在bank分发硬币之前检查是否有足够的硬币。如果没有足够多的硬币,bank返回一个比请求时小的数字(如果没有硬币留在bank中就返回0)。vendcoins方法声明numberofcoinstovend为一个变量参数,这样就可以在方法体的内部修改数字,而不需要定义一个新的变量。vendcoin","wincoins(coin","won"],"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":["arc","arc为了能帮助你管理内存,需要更多的关于你的代码之间关系的信息。本章描述了这些情况,并且为你示范怎样启用arc","arc会分配一大块内存用来储存实例的信息。内存中会包含实例的类型信息,以及这个实例所有相关属性的值。此外,当实例不再被使用时,arc","arc会跟踪和计算每一个类实例正在被多少属性,常量和变量所引用。哪怕实例的引用数为一,arc","swift使用自动引用计数(arc)这一机制来跟踪和管理你的应用程序的内存。通常情况下,swift的内存管理机制会一直起着作用,你无须自己来考虑内存的管理。arc","undefinedundefin"],"chapter2/17_Optional_Chaining.html#gitbook_66":["1","address","address。它有三个自判断属性他们额类型是string?。前面两个自判断属性buildingnam","address实例时的使用(john.residence.address)。john.residence属性是一个自判断类型,因此你需要在它获取address","address类中的buildingidentifi","address类还提供了一个buildingidentifier的方法,它的返回值类型为string?。这个方法检查buildingname和buildingnumber的属性,如果buildingname有值则将其返回,或者如果buildingnumb","address设定一个实例来作为john.residence.address的值,并为address的street","build","buildingidentifi","buildingidentifier方法的返回值,不是buildingidentifi","buildingnam","buildingnumb","buildingnumber作为地址的一部分,是定义某个建筑物的两种方式。第三个属性street","chain","chaining)是一种可以请求和调用属性、方法及子脚本的过程,它的自判断性体现于请求或调用的目标当前可能为空(nil)。如果自判断的目标有值,那么调用就会成功;相反,如果选择的目标为空(nil),则这种调用将返回空(nil)。多次请求或调用可以被链接在一起形成一个链,如果任何一个节点为空(nil","class","error","first","firstroomnam","func","identifi","init(nam","int","int值,不论使用了多少层链接返回的总是int","int的属性将会返回int","int类型的合理值。然而,如上所述,当resid","int?值,不论使用了多少层链接返回的总是int","john","john'","john.resid","john.residence!.address","john.residence!.numberofroom","john.residence?.address?.buildingidentifi","john.residence?.address?.buildingidentifier()?.uppercasestr","john.residence?.address?.street","john.residence?.numberofroom","john.residence?.printnumberofroom","john.residence?[0].nam","john.residence不是nil时,会运行通过,且会将roomcount","john.residence的值现在包含一个residence实例,然而john.residence.address现在是nil,因此john.residence?.address?.street","john.residence的后面,在子脚本括号的前面,因为john.resid","johnsaddress","johnsaddress.buildingnam","johnsaddress.street","johnshous","johnshouse.room","johnsstreet","john的residence属性里的address的street属性。这里使用了两层可选链来联系residence和address","kitchen","larch","laurel","live","name","nil","nil了。如果你想使用和前面一样的可选链来获得numberofroooms,它将返回一个包含默认值1的int","nil),不论你调用的属性、方法、子脚本等返回的值是不是自判断值,它的返回结果都是一个自判断值。你可以利用这个返回值来检测你的可选链是否调用成功,有返回值即成功,返回nil","number","numberofroom","numberofrooms是非自判断int(int?)时这一点也成立。只要是通过可选链的请求就意味着最后numberofrooms总是返回一个int?而不是int","numberofrooms的操作有可能失败,可选链会返回int?类型值,或者称作“自判断int”。当residence是空的时候(上例),选择int将会为空,因此会出先无法访问numberofroom","option","person","person和resid","person和residence模型通过添加一个room和一个address","person实例,它的resid","possibl","print","println(\"it","println(\"john'","println(\"th","println(\"un","println(“th","printnumberofroom","resid","residence中也提供了一个printnumberofroom","residence具有一个int类型的numberofrooms,其值为1。person具有一个自判断residence属性,它的类型是resid","residence存储了一个room实例的数组,它的numberofrooms属性值不是一个固定的存储值,而是通过计算而来的。numberofrooms属性值是由返回rooms数组的count","residence定义了一个自判断属性叫address(address?)。address","residence实例给john.resid","residence实例给john.residence,且在他的rooms数组中有一个或多个room实例,那么你可以使用可选链通过residence子脚本来获取在room","residence属性numberofrooms属性值,将会引发运行时错误,因为这时没有可以供解析的resid","residence的printnumberofrooms方法会打印numberofroom","residence类中定义的子脚本来获取john.residence数组中第一个房间的名字。因为john.residence现在是nil","retriev","return","room","room(","room(nam","roomcount","rooms.count","rooms[i","rooms数组的room类是一个很简单的类,它只有一个name属性和一个设定room","rooms数组,resid","rooms,它被初始化为一个room","runtim","self.nam","street","street属性值。这个属性的类型是string?。因此尽管在自判断类型属性前使用了两层可选链,john.residence?.address?.street的返回值类型也是str","string","string?。如上所述,这个方法在可选链调用后最终的返回值类型依然是str","subscript(i","swift来链接自判断residence?属性,如果residence存在则取回numberofroom","swift的自判断链和objective-c中的消息为空有些相像,但是swift","trigger","type)。,即使是这个方法本是没有定义返回值,你也可以使用if语句来检查是否能成功调用printnumberofrooms方法:如果方法通过可选链调用成功,printnumberofrooms的隐式返回值将会是void,如果没有成功,将返回nil","unabl","undefinedundefin","upper","uppercas","valu","var","void(参见funct","void?,而不是void,因为当通过可选链调用方法时返回值总是自判断类型(opt","without"],"chapter2/18_Type_Casting.html#gitbook_67":["0","1","2","2001","3","3.0","3.14159","42","5.0","abov","access","action","actual","add","addit","advanc","alias","alien","alwai","and/or","anoth","anyobject","anyobjectanyobject类型ani","anyobject可以代表任何class","any可以表示任何类型,除了方法类型(funct","any和anyobject","apart","api","apis,它一般接收一个anyobject[]类型的数组,或者说“一个任何对象类型的数组”。这是因为oc没有明确的类型化数组。但是,你常常可以确定包含在仅从你知道的api","appear","appli","appropri","arrai","artist","as)下转并解包到不可选的movie类型(p","as?)。可选形式的类型检查总是返回一个可选值(opt","assum","astlei","attempt","back","base","basic","behavior","behind","believ","below","better","bind","binding)来检查opt","blue","call","capabl","casablanca","case","cases里用i","cast","casting)定义一个类层次作为例子defin","certain","chang","check","checker","chesnei","citizen","class","class=\"x-name\">check","class类型。它创建了一个可以存储ani","cocoa","code","come","common","compound","confid","conform","conformance(arrai","equatable类型都可以安全的使用在findindex函数中,因为其保证支持等式操作。为了说明这个事实,当你定义一个函数时,你可以写一个equat","equatable,也就意味着“任何t类型都遵循equat","equival","error","exampl","exist","extens","extension][6","extension][7","fals","findindex([\"mik","findindex([3.14159","findindex(arrai","findindex中这个单个类型参数写做:t","findindex函数现在则可以成功的编译过,并且作用于任何遵循equatable的类型,如double或str","findindex,用某个类型t","findstringindex","findstringindex(arrai","findstringindex(str","findstringindex的泛型版本findindex。请注意这个函数仍然返回int","findstringindex的非泛型函数,该函数功能是去查找包含一给定string值的数组。若查找到匹配的字符串,findstringindex函数返回该字符串在数组中的索引值(int),反之则返回nil","first","for-in循环和半闭区间操作(..)来迭代somecontainer中的所有items。对于每个item,函数检查是否somecontainer中的item不等于对应的anothercontainer中的item,如果这两个items不等,则这两个容器不匹配,返回fals","for—that","foundindex","fromthetop","func","function","gener","give","goe","guide,即便你没有实现它。例如:swift的array和dictionary类型都是泛型集。你可以创建一个int数组,也可创建一个string数组,或者甚至于可以是任何其他swift的类型数据数组。同样的,你也可以创建存储任何指定类型的字典(dictionari","hashtabl","hello","here","here’","hierarchi","implement","import","in-out参数交换a和b的值,这两个参数被描述为[in-out类型参数][1","index","indic","inform","inout","inspir","int","intstack","intstack指定了container的实现,适用的itemtype被用作int类型。对于这个contain","intstack类型只能用于int值,不过,其对于定义一个泛型stack","intstack类型实现了container协议的所有三个要求,在intstack","intstack类型的非泛型版本,适用于遵循contain","int索引值下标可以检索到每一个item","int这一行,一切仍旧可以工作,因为它清楚的知道itemtyp","int,将抽象的itemtype类型转换为具体的int","item","items.append(item","items.count","items.removelast","items[i","items。这个需求通过一个类型约束和wher","items的属性,使用空的t","itemtyp","itemtype。th","item是如何存储的或何种类型是允许的。这个协议只指定三个任何遵循contain","item的push方法,该参数必须是t","keytyp","languag","last","left","librari","llama","look","made","malcolm","manag","match","method","model","mutat","name","navig","need","nil","note","now","number","option","origin","out","pair","parakeet","paramet","parameters类型参数命名类型参数泛型类型类型约束类型约束语法类型约束行为关联类型关联类型行为扩展一个存在的类型为一指定关联类型wher","part","placehold","pop","popviewcontrolleranim","pop并移除值"cuatro"","pop方法的返回值,该返回值将是一个t","possibl","print","println(\"al","println(\"not","println(\"someint","println(\"th","protocol","provid","provide(这个协议不会定义itemtype是遵循类型所提供的何种信息的别名)。尽管如此,itemtype别名支持一种方法识别在一个容器里的items类型,以及定义一种使用在append方法和下标中的类型,以便保证任何期望的contain","push","push(item","push)/出栈(pop","pushviewcontroller:anim","remov","report","return","same","see","self.push(item","someclass","somecontain","somecontainer.count","somecontainer[i","somecontainer中item","somecontainer中的item","somecontainer和anothercontainer。somecontainer参数是类型c1,anothercontainer参数是类型c2。c1和c2","somecontainer和anothercontainer包含相同的item","somecontainer是一个c1","somefunction(somet","somestr","someu","stack","stack(栈)。一个栈是一系列值域的集合,和array(数组)相似,但其是一个比swift的array类型更多限制的集合。一个数组可以允许其里面任何位置的插入/删除操作,而栈,只允许,只允许在集合的末端添加新的项(如同push一个新值进栈)。同样的一个栈也只能从末端移除项(如同pop","stack(inout","swaptwovalues例子中,节点类型t是一种类型参数的示例。类型参数指定并命名为一个节点类型,并且紧随在函数名后面,并用一对尖括号括起来(如)。这个尖括号告诉swift那个t是swaptwovalues函数所定义的一个节点类型。因为t是一个节点,swift不会去查找每一个命名为t","temporarya","terrapin","three","tre","true","type","type-saf","typealia","t分别代表tnt和string","t定义了一个名为“某种类型t”的节点提供给后来用。这种将来类型可以在结构体的定义里任何地方表示为“t”。在这种情况下,t","t来表示)来代替实际类型名(如int、string或double)。节点类型名并不是表示t必须是任何类型,但是其规定a和b必须是同一类型的t,而不管t表示任何类型。只有swaptwovalues函数在每次调用时所传入的实际类型决定了t","t被用作append方法的item参数和下标的返回类型。swift因此可以推断出被用作这个特定容器的itemtype的t","t,有一个需要t必须是someclass子类的类型约束;第二个类型参数u,有一个需要u必须遵循someprotocol","u","uinavigationcontrol","undefinedundefin","uno","uppercamelcas","us","valu","valuetofind","valuetofind”。不是所有的swift中的类型都可以用等式符(==)进行比较。例如,如果你创建一个你自己的类或结构体来表示一个复杂的数据模型,那么swift没法猜到对于这个类或结构体而言“等于”的意思。正因如此,这部分代码不能可能保证工作于每个可能的类型t","var","variabl","view","whenev","where语句作为一个类型参数队列的一部分。一个where语句使你能够要求一个关联类型遵循一个特定的协议,以及(或)那个特定的类型参数和关联类型可以是相同的。你可写一个where语句,通过紧随放置wher","where语句的一部分,写在关键字wher","world"],"chapter2/chapter2.html#gitbook_76":["swift","undefinedundefin"],"chapter3/06_Attributes.html#gitbook_77":["adopt","appropri","argument","assign","attribut","attribute-argument-claus","attribute-argument-clauseopt","attribute-nam","attributesopt","auto_closur","balanced-token","balanced-tokensopt","bool","builder","builder特性是interfac","builder特性:ibaction,ibdesignable,ibinspectable,以及iboutlet。这些特性与objective-c","builder用来与xcode同步的声明特性。swift提供了以下的interfac","class","class_protocol","conform","data","enabl","exampleclass","export","final","gt","iboutlet和ibinspectable用于修饰一个类的属性声明;ibaction特性用于修饰一个类的方法声明;ibdesign","identifi","inout。如何使用assign","interfac","lazi","name","name(attribut","noreturn","noreturn特性标记的函数或方法,你可以将它重写(override)为用该特性标记的。相反,对于一个已经用noreturn特性标记的函数或方法,你则不可以将它重写为没使用该特性标记的。相同的规则试用于当你在一个comform","nscopi","nscopying特性的行为与objective-c中的copi","nsmanag","nsmanagedobject子类中的存储型变量属性,表明属性的存储和实现由cor","objc","objc(isen","objc特性修饰一个协议,class_protocol特性就会隐式地应用到该协议,因此无需显式地用class_protocol","objc特性应用于一个类或协议,它也会隐式地应用于那个类或协议的成员。对于标记了objc特性的类,编译器会隐式地为它的子类添加objc特性。标记了objc特性的协议不能继承自没有标记objc","objc特性有一个可选的参数,由标记符组成。当你想把objc所修饰的实体以一个不同的名字暴露给objective-c,你就可以使用这个特性参数。你可以使用这个参数来命名类,协议,方法,getters,setters,以及初始化器。下面的例子把exampleclass中enabled属性的getter暴露给objective-c,名字是isen","objective-c中表示的声明,比如,非嵌套类,协议,类和协议中的属性和方法(包含getter和setter),初始化器,析构器,以下下标。objc特性告诉编译器该声明可以在objective-c","option","optional特性修饰那些标记了objc特性的协议。因此,只有类类型可以adopt和comform","requir","return","setter与属性值的一个副本合成,由copywithzone方法返回,而不是属性本身的值。该属性的类型必需遵循nscopi","swift中有两类特性,用于修饰声明的以及用于修饰类型的。例如,required特性,当应用于一个类的指定或便利初始化器声明时,表明它的每个子类都必须实现那个初始化器。再比如noreturn","t","to那些包含可选成员需求的协议。更多关于如何使用optional特性以及如何访问可选协议成员的指导,例如,当你不确定一个conform","type","t,是@noreturn","undefinedundefin","valu","var"],"chapter3/01_About_the_Language_Reference.html#gitbook_78":["block","getter-claus","getter-sett","getter-setter-block","getter-setter方法​​块可以由一个getter子句后跟一个可选的setter子句构成,用大括号括起来,或者由一个setter子句后跟一个gett","grammar","opt","setter-claus","setter-clause­opt","swift","swift语言相对小点,这是由于在swift代码中几乎无处不在的许多常见的的类型,函数以及运算符都由swift标准库来定义。虽然这些类型,函数和运算符不是swift","undefinedundefin"]},"length":24},"tokenStore":{"root":{"0":{"0":{"0":{"1":{"2":{"3":{"docs":{},".":{"4":{"5":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"7":{"4":{"6":{"3":{"8":{"1":{"2":{"9":{"5":{"docs":{},"[":{"9":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.01410105757931845},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.010752688172043012},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.011126564673157162},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.018421052631578946},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.012376237623762377},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.027472527472527472},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.008928571428571428},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},".":{"0":{"1":{"2":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"2":{"5":{"4":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.01485148514851485},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.06043956043956044},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.011494252873563218}}},"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"2":{"5":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}},"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}},"9":{"1":{"4":{"3":{"9":{"9":{"9":{"7":{"0":{"7":{"3":{"9":{"2":{"0":{"1":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{},".":{"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}}},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}},"b":{"1":{"0":{"0":{"0":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"o":{"2":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"x":{"1":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},"c":{"docs":{},".":{"3":{"docs":{},"p":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"docs":{}}},"f":{"docs":{},"p":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}},")":{"docs":{},"。":{"docs":{},"小":{"docs":{},"数":{"docs":{},"点":{"docs":{},"两":{"docs":{},"边":{"docs":{},"必":{"docs":{},"须":{"docs":{},"有":{"docs":{},"至":{"docs":{},"少":{"docs":{},"一":{"docs":{},"个":{"docs":{},"十":{"docs":{},"进":{"docs":{},"制":{"docs":{},"数":{"docs":{},"字":{"docs":{},"(":{"docs":{},"或":{"docs":{},"者":{"docs":{},"是":{"docs":{},"十":{"docs":{},"六":{"docs":{},"进":{"docs":{},"制":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},")":{"docs":{},"。":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"还":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"指":{"docs":{},"数":{"docs":{},",":{"docs":{},"在":{"docs":{},"十":{"docs":{},"进":{"docs":{},"制":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"中":{"docs":{},"通":{"docs":{},"过":{"docs":{},"大":{"docs":{},"写":{"docs":{},"或":{"docs":{},"者":{"docs":{},"小":{"docs":{},"写":{"docs":{},"的":{"docs":{},"e":{"docs":{},"来":{"docs":{},"指":{"docs":{},"定":{"docs":{},",":{"docs":{},"在":{"docs":{},"十":{"docs":{},"六":{"docs":{},"进":{"docs":{},"制":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"中":{"docs":{},"通":{"docs":{},"过":{"docs":{},"大":{"docs":{},"写":{"docs":{},"或":{"docs":{},"者":{"docs":{},"小":{"docs":{},"写":{"docs":{},"的":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"代":{"docs":{},"码":{"docs":{},"运":{"docs":{},"行":{"docs":{},"才":{"docs":{},"会":{"docs":{},"继":{"docs":{},"续":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},",":{"docs":{},"当":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"的":{"docs":{},"值":{"docs":{},"非":{"docs":{},"负":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"负":{"docs":{},"数":{"docs":{},",":{"docs":{},"就":{"docs":{},"像":{"docs":{},"代":{"docs":{},"码":{"docs":{},"中":{"docs":{},"那":{"docs":{},"样":{"docs":{},",":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"真":{"docs":{},"的":{"docs":{},"(":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},")":{"docs":{},",":{"docs":{},"这":{"docs":{},"将":{"docs":{},"使":{"docs":{},"得":{"docs":{},"c":{"docs":{},"h":{"docs":{},"o":{"docs":{},"o":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"返":{"docs":{},"回":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"函":{"docs":{},"数":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"指":{"docs":{},"向":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"引":{"docs":{},"用":{"docs":{},"保":{"docs":{},"存":{"docs":{},"在":{"docs":{},"了":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"o":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"$":{"1":{"docs":{},",":{"docs":{},"$":{"2":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"docs":{}}}},"docs":{}}},",":{"docs":{},"这":{"docs":{},"时":{"docs":{},"闭":{"docs":{},"包":{"docs":{},"会":{"docs":{},"将":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"输":{"docs":{},"出":{"docs":{},",":{"docs":{},"而":{"docs":{},"m":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}}}}}}}}},"1":{"0":{"0":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}},".":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}},"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204}}},"7":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.02368421052631579},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},".":{"0":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}},"^":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"中":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"为":{"1":{"6":{"docs":{},",":{"docs":{},"则":{"docs":{},"返":{"docs":{},"回":{"6":{"docs":{},",":{"5":{"8":{"docs":{},"返":{"docs":{},"回":{"8":{"docs":{},",":{"5":{"1":{"0":{"docs":{},"返":{"docs":{},"回":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"docs":{}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}},"docs":{}},"docs":{}}},"docs":{}}}}}},"docs":{}},"docs":{}}}}}}}}}}}},"_":{"0":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{}},"docs":{}}},"1":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}}},"2":{"3":{"4":{"5":{"6":{"7":{"8":{"9":{"docs":{},"[":{"0":{"docs":{},"]":{"docs":{},"返":{"docs":{},"回":{"9":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}}}},"1":{"docs":{},"]":{"docs":{},"返":{"docs":{},"回":{"8":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509}}},"5":{"docs":{},".":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"8":{"0":{"5":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},",":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"十":{"docs":{},"六":{"docs":{},"进":{"docs":{},"制":{"1":{"docs":{},"f":{"4":{"3":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}},".":{"1":{"8":{"7":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"4":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{}},"5":{"9":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"6":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}},",":{"5":{"8":{"docs":{},",":{"5":{"1":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"变":{"docs":{},"成":{"docs":{},"了":{"1":{"docs":{},",":{"5":{"8":{"docs":{},"变":{"docs":{},"成":{"docs":{},"了":{"5":{"docs":{},",":{"5":{"1":{"0":{"docs":{},"变":{"docs":{},"成":{"docs":{},"了":{"5":{"1":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"docs":{}},"docs":{}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}},"docs":{}},"docs":{}}},"docs":{}}}}},"7":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509}}},"8":{"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{}},"9":{"5":{"docs":{},".":{"docs":{},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.009400705052878966},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.012544802867383513},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.019417475728155338},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.008344923504867872},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.010526315789473684},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.012376237623762377},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.10044642857142858},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.03550295857988166},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},".":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}}},"2":{"1":{"8":{"7":{"5":{"docs":{},"e":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},"e":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}},"docs":{}},"5":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}},"docs":{},".":{"docs":{},".":{"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}},"_":{"0":{"0":{"0":{"docs":{},"_":{"0":{"0":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},".":{"0":{"0":{"0":{"docs":{},"_":{"0":{"0":{"0":{"docs":{},"_":{"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},".":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"的":{"docs":{},"比":{"docs":{},"较":{"docs":{},"结":{"docs":{},"果":{"docs":{},"是":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"查":{"docs":{},"。":{"docs":{},"类":{"docs":{},"似":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},"都":{"docs":{},"被":{"docs":{},"锁":{"docs":{},"定":{"docs":{},"。":{"docs":{},"每":{"docs":{},"次":{"docs":{},"有":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"完":{"docs":{},"成":{"docs":{},"一":{"docs":{},"个":{"docs":{},"等":{"docs":{},"级":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"等":{"docs":{},"级":{"docs":{},"就":{"docs":{},"对":{"docs":{},"这":{"docs":{},"个":{"docs":{},"设":{"docs":{},"备":{"docs":{},"上":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"解":{"docs":{},"锁":{"docs":{},"。":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"后":{"docs":{},"变":{"docs":{},"成":{"2":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}}}},"千":{"docs":{},"米":{"docs":{},"等":{"docs":{},"于":{"1":{"docs":{},",":{"0":{"0":{"0":{"docs":{},"米":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"k":{"docs":{},"m":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"要":{"docs":{},"把":{"docs":{},"值":{"docs":{},"乘":{"docs":{},"以":{"1":{"docs":{},"_":{"0":{"0":{"0":{"docs":{},".":{"0":{"0":{"docs":{},"来":{"docs":{},"转":{"docs":{},"化":{"docs":{},"成":{"docs":{},"单":{"docs":{},"位":{"docs":{},"米":{"docs":{},"下":{"docs":{},"的":{"docs":{},"数":{"docs":{},"值":{"docs":{},"。":{"docs":{},"类":{"docs":{},"似":{"docs":{},"地":{"docs":{},",":{"1":{"docs":{},"米":{"docs":{},"有":{"3":{"docs":{},".":{"2":{"8":{"0":{"2":{"4":{"docs":{},"英":{"docs":{},"尺":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"f":{"docs":{},"t":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"要":{"docs":{},"把":{"docs":{},"对":{"docs":{},"应":{"docs":{},"的":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"值":{"docs":{},"除":{"docs":{},"以":{"3":{"docs":{},".":{"2":{"8":{"0":{"2":{"4":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}},"docs":{}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}},"2":{"0":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}}},"1":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}},"1":{"4":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.008928571428571428}}},"1":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.007766990291262136}}},"4":{"0":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{}},"5":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}},".":{"4":{"docs":{},".":{"docs":{},"m":{"docs":{},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}},"docs":{}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.009400705052878966},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.015533980582524271},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.03296703296703297},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.06696428571428571},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.03550295857988166},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},".":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}},"5":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.009708737864077669},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}},"docs":{}},"^":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{},"-":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"_":{"0":{"0":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}}},"3":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"2":{"docs":{},"位":{"docs":{},"平":{"docs":{},"台":{"docs":{},"上":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"3":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204}}},"5":{"docs":{},".":{"0":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992}}},"docs":{}}},"9":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},";":{"docs":{},"*":{"docs":{},"&":{"docs":{},"#":{"3":{"9":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}},"docs":{}}}}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.011750881316098707},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.007766990291262136},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.012517385257301807},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.026785714285714284},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.03550295857988166},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.008968609865470852}},".":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.012376237623762377},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.011494252873563218}}},"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},",":{"0":{"docs":{},".":{"1":{"docs":{},"和":{"docs":{},"-":{"2":{"7":{"3":{"docs":{},".":{"1":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}}},"docs":{}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"2":{"8":{"0":{"8":{"4":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}},"5":{"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"6":{"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"7":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"r":{"docs":{},"e":{"docs":{},"p":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"直":{"docs":{},"接":{"docs":{},"和":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"0":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}},"没":{"docs":{},"有":{"docs":{},"显":{"docs":{},"式":{"docs":{},"声":{"docs":{},"明":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"而":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"中":{"docs":{},"出":{"docs":{},"现":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"会":{"docs":{},"被":{"docs":{},"推":{"docs":{},"测":{"docs":{},"为":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"6":{"docs":{},"倍":{"docs":{},"是":{"1":{"8":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{}},"docs":{}}}},"docs":{}}},"4":{"0":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.017921146953405017}}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}},".":{"0":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992}}},"docs":{}}},"2":{"4":{"9":{"5":{"docs":{},".":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"和":{"3":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{},"-":{"2":{"3":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"并":{"docs":{},"且":{"docs":{},"没":{"docs":{},"有":{"docs":{},"标":{"docs":{},"明":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}},".":{"docs":{},"k":{"docs":{},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}},"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.026785714285714284},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.029585798816568046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},".":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}},"7":{"5":{"docs":{},"会":{"docs":{},"变":{"docs":{},"成":{"4":{"docs":{},",":{"docs":{},"-":{"3":{"docs":{},".":{"9":{"docs":{},"会":{"docs":{},"变":{"docs":{},"成":{"docs":{},"-":{"3":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}}}},"docs":{}}},"docs":{}}}},"docs":{}}}}},"docs":{}},"docs":{}},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}},"5":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571}}},"1":{"0":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"docs":{}},"5":{"3":{"5":{"7":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}},"docs":{}},"docs":{}},"docs":{}},"6":{"3":{"7":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}},"docs":{}},"docs":{}},"docs":{}},"8":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"9":{"7":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.016597510373443983},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.024553571428571428},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.029585798816568046},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},".":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}},"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}}},"6":{"0":{"docs":{},".":{"0":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}},"4":{"docs":{},"位":{"docs":{},"平":{"docs":{},"台":{"docs":{},"上":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204}}},"9":{"1":{"0":{"5":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}}},"7":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},".":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}}},"4":{"6":{"3":{"8":{"1":{"2":{"9":{"5":{"docs":{},"[":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"1":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"2":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"8":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"9":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"5":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"9":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.007894736842105263},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},".":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"8":{"5":{"9":{"0":{"9":{"5":{"1":{"2":{"2":{"6":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{},"_":{"5":{"1":{"2":{"2":{"6":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"7":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}},":":{"0":{"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"、":{"1":{"6":{"docs":{},"、":{"3":{"2":{"docs":{},"和":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"位":{"docs":{},"无":{"docs":{},"符":{"docs":{},"号":{"docs":{},"整":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},",":{"3":{"2":{"docs":{},"位":{"docs":{},"有":{"docs":{},"符":{"docs":{},"号":{"docs":{},"整":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}},"除":{"docs":{},"于":{"2":{"docs":{},".":{"5":{"docs":{},"等":{"docs":{},"于":{"3":{"docs":{},"余":{"0":{"docs":{},".":{"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}}},"docs":{}}},"docs":{}}}},"docs":{}}},"docs":{}}}},"9":{"0":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}},"4":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"9":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.020089285714285716},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},".":{"3":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}},"9":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"的":{"docs":{},"行":{"docs":{},"星":{"docs":{},",":{"docs":{},"通":{"docs":{},"过":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},"值":{"docs":{},"将":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{},"i":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}}},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"n":{"docs":{},"'":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"x":{"docs":{},"(":{"docs":{},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}},"o":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.047619047619047616},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"f":{"docs":{},"和":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"来":{"docs":{},"处":{"docs":{},"理":{"docs":{},"值":{"docs":{},"缺":{"docs":{},"失":{"docs":{},"的":{"docs":{},"情":{"docs":{},"况":{"docs":{},"。":{"docs":{},"有":{"docs":{},"些":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"值":{"docs":{},"可":{"docs":{},"能":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"具":{"docs":{},"体":{"docs":{},"的":{"docs":{},"值":{"docs":{},"或":{"docs":{},"者":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"来":{"docs":{},"进":{"docs":{},"行":{"docs":{},"条":{"docs":{},"件":{"docs":{},"操":{"docs":{},"作":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"-":{"docs":{},"i":{"docs":{},"n":{"docs":{},"、":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"、":{"docs":{},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{},"e":{"docs":{},"和":{"docs":{},"d":{"docs":{},"o":{"docs":{},"-":{"docs":{},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},"中":{"docs":{},"来":{"docs":{},"对":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"值":{"docs":{},"进":{"docs":{},"行":{"docs":{},"判":{"docs":{},"断":{"docs":{},"并":{"docs":{},"把":{"docs":{},"值":{"docs":{},"赋":{"docs":{},"给":{"docs":{},"一":{"docs":{},"个":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"。":{"docs":{},"i":{"docs":{},"f":{"docs":{},"和":{"docs":{},"w":{"docs":{},"h":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"句":{"docs":{},"中":{"docs":{},",":{"docs":{},"条":{"docs":{},"件":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"—":{"docs":{},"—":{"docs":{},"这":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"像":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"判":{"docs":{},"断":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"是":{"docs":{},"否":{"docs":{},"包":{"docs":{},"含":{"docs":{},"值":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"可":{"docs":{},"选":{"docs":{},"有":{"docs":{},"值":{"docs":{},",":{"docs":{},"结":{"docs":{},"果":{"docs":{},"是":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},";":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"值":{"docs":{},",":{"docs":{},"结":{"docs":{},"果":{"docs":{},"是":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"分":{"docs":{},"支":{"docs":{},"中":{"docs":{},"操":{"docs":{},"作":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"改":{"docs":{},"成":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{},"t":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"l":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509}}}}}}}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}}}}},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"g":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}},"(":{"7":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"b":{"docs":{},"y":{"docs":{},"(":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}}}}}}}}},"s":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.007894736842105263}}}},"n":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.02631578947368421}}}}}},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}},"o":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.05}}}}}}}}}},"l":{"docs":{},"u":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}}},"o":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"h":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}},"d":{"docs":{},"i":{"docs":{},"v":{"docs":{},"i":{"docs":{},"d":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}},"c":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"e":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.016483516483516484},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01195814648729447}},"i":{"docs":{},"s":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"d":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{},"(":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.024896265560165973},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}},"i":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},")":{"docs":{},"和":{"docs":{},"成":{"docs":{},"员":{"docs":{},"级":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"(":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"w":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}},")":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"对":{"docs":{},"于":{"docs":{},"来":{"docs":{},"自":{"docs":{},"你":{"docs":{},"的":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"中":{"docs":{},"的":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"默":{"docs":{},"认":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"(":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"a":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"8":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},".":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"范":{"docs":{},"围":{"docs":{},"是":{"docs":{},"-":{"1":{"2":{"8":{"docs":{},"~":{"1":{"2":{"7":{"docs":{},",":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"能":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"范":{"docs":{},"围":{"docs":{},"是":{"0":{"docs":{},"~":{"2":{"5":{"5":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.024676850763807285},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.026881720430107527},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.06815020862308763},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.021052631578947368},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.027227722772277228},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.1043956043956044},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.03550295857988166},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.04878048780487805},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.014367816091954023},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.03736920777279522}},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}},"p":{"docs":{},"o":{"docs":{},"l":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},")":{"docs":{},"的":{"docs":{},"方":{"docs":{},"式":{"docs":{},"把":{"docs":{},"常":{"docs":{},"量":{"docs":{},"名":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"名":{"docs":{},"当":{"docs":{},"做":{"docs":{},"占":{"docs":{},"位":{"docs":{},"符":{"docs":{},"加":{"docs":{},"入":{"docs":{},"到":{"docs":{},"长":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"中":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"会":{"docs":{},"用":{"docs":{},"当":{"docs":{},"前":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"值":{"docs":{},"替":{"docs":{},"换":{"docs":{},"这":{"docs":{},"些":{"docs":{},"占":{"docs":{},"位":{"docs":{},"符":{"docs":{},"。":{"docs":{},"将":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"变":{"docs":{},"量":{"docs":{},"名":{"docs":{},"放":{"docs":{},"入":{"docs":{},"反":{"docs":{},"斜":{"docs":{},"杠":{"docs":{},"符":{"docs":{},"加":{"docs":{},"一":{"docs":{},"对":{"docs":{},"圆":{"docs":{},"括":{"docs":{},"号":{"docs":{},"中":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"\\":{"docs":{},"(":{"docs":{},")":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"f":{"docs":{},"a":{"docs":{},"c":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":5.021978021978022}}}}}},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.010752688172043012},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"e":{"docs":{},"r":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}},"(":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}},"p":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},")":{"docs":{},"或":{"docs":{},"者":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"和":{"docs":{},"类":{"docs":{},"型":{"docs":{},"推":{"docs":{},"测":{"docs":{},"数":{"docs":{},"值":{"docs":{},"类":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"数":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"转":{"docs":{},"换":{"docs":{},"整":{"docs":{},"数":{"docs":{},"转":{"docs":{},"换":{"docs":{},"整":{"docs":{},"数":{"docs":{},"和":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"数":{"docs":{},"转":{"docs":{},"换":{"docs":{},"类":{"docs":{},"型":{"docs":{},"别":{"docs":{},"名":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},"元":{"docs":{},"组":{"docs":{},"可":{"docs":{},"选":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":5}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"就":{"docs":{},"够":{"docs":{},"了":{"docs":{},"。":{"docs":{},"这":{"docs":{},"可":{"docs":{},"以":{"docs":{},"提":{"docs":{},"高":{"docs":{},"代":{"docs":{},"码":{"docs":{},"一":{"docs":{},"致":{"docs":{},"性":{"docs":{},"和":{"docs":{},"可":{"docs":{},"复":{"docs":{},"用":{"docs":{},"性":{"docs":{},"。":{"docs":{},"即":{"docs":{},"使":{"docs":{},"是":{"docs":{},"在":{"3":{"2":{"docs":{},"位":{"docs":{},"平":{"docs":{},"台":{"docs":{},"上":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"整":{"docs":{},"数":{"docs":{},"范":{"docs":{},"围":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"达":{"docs":{},"到":{"docs":{},"-":{"2":{"1":{"4":{"7":{"4":{"8":{"3":{"6":{"4":{"8":{"docs":{},"~":{"2":{"1":{"4":{"7":{"4":{"8":{"3":{"6":{"4":{"7":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"整":{"docs":{},"型":{"docs":{},";":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"和":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{},"是":{"docs":{},"浮":{"docs":{},"点":{"docs":{},"型":{"docs":{},";":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"是":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"型":{"docs":{},";":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"是":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"更":{"docs":{},"大":{"docs":{},"或":{"docs":{},"者":{"docs":{},"更":{"docs":{},"小":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}},"的":{"docs":{},"合":{"docs":{},"理":{"docs":{},"值":{"docs":{},"。":{"docs":{},"然":{"docs":{},"而":{"docs":{},",":{"docs":{},"如":{"docs":{},"上":{"docs":{},"所":{"docs":{},"述":{"docs":{},",":{"docs":{},"当":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"为":{"docs":{},"r":{"docs":{},"e":{"docs":{},"p":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}},"型":{"docs":{},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"来":{"docs":{},"调":{"docs":{},"用":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"。":{"docs":{},"需":{"docs":{},"要":{"docs":{},"注":{"docs":{},"意":{"docs":{},"的":{"docs":{},"是":{"docs":{},",":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"在":{"docs":{},"传":{"docs":{},"入":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"前":{"docs":{},",":{"docs":{},"都":{"docs":{},"加":{"docs":{},"了":{"docs":{},"&":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"。":{"docs":{},"c":{"docs":{},"h":{"docs":{},"o":{"docs":{},"o":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"根":{"docs":{},"据":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"s":{"docs":{},"来":{"docs":{},"返":{"docs":{},"回":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"函":{"docs":{},"数":{"docs":{},"或":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"属":{"docs":{},"性":{"docs":{},"将":{"docs":{},"会":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"传":{"docs":{},"入":{"docs":{},"任":{"docs":{},"何":{"docs":{},"这":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},";":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"和":{"docs":{},"第":{"docs":{},"三":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"叫":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},",":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"读":{"docs":{},"作":{"docs":{},"“":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"它":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"型":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"将":{"docs":{},"抽":{"docs":{},"象":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"转":{"docs":{},"换":{"docs":{},"为":{"docs":{},"具":{"docs":{},"体":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}},"值":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"找":{"docs":{},"到":{"docs":{},"一":{"docs":{},"个":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"的":{"docs":{},"行":{"docs":{},"星":{"docs":{},"。":{"docs":{},"正":{"docs":{},"因":{"docs":{},"为":{"docs":{},"如":{"docs":{},"此":{"docs":{},",":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"方":{"docs":{},"法":{"docs":{},"可":{"docs":{},"以":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"p":{"docs":{},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},"是":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},"?":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"或":{"docs":{},"“":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"不":{"docs":{},"论":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"多":{"docs":{},"少":{"docs":{},"层":{"docs":{},"链":{"docs":{},"接":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"总":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}},"没":{"docs":{},"有":{"docs":{},"足":{"docs":{},"够":{"docs":{},"的":{"docs":{},"位":{"docs":{},"数":{"docs":{},",":{"docs":{},"即":{"docs":{},"下":{"docs":{},"标":{"docs":{},"越":{"docs":{},"界":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"上":{"docs":{},"述":{"docs":{},"实":{"docs":{},"现":{"docs":{},"的":{"docs":{},"下":{"docs":{},"标":{"docs":{},"会":{"docs":{},"返":{"docs":{},"回":{"0":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"会":{"docs":{},"在":{"docs":{},"数":{"docs":{},"字":{"docs":{},"左":{"docs":{},"边":{"docs":{},"自":{"docs":{},"动":{"docs":{},"补":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}},"或":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"的":{"docs":{},"实":{"docs":{},"际":{"docs":{},"值":{"docs":{},",":{"docs":{},"它":{"docs":{},"只":{"docs":{},"是":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},",":{"docs":{},"当":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"常":{"docs":{},"量":{"docs":{},"和":{"docs":{},"变":{"docs":{},"量":{"docs":{},"等":{"docs":{},"于":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},".":{"docs":{},"u":{"docs":{},"p":{"docs":{},"c":{"docs":{},"a":{"docs":{},"或":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},".":{"docs":{},"q":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{},";":{"docs":{},"。":{"docs":{},"字":{"docs":{},"典":{"docs":{},"实":{"docs":{},"例":{"docs":{},"创":{"docs":{},"建":{"docs":{},"完":{"docs":{},"成":{"docs":{},"之":{"docs":{},"后":{"docs":{},"通":{"docs":{},"过":{"docs":{},"下":{"docs":{},"标":{"docs":{},"的":{"docs":{},"方":{"docs":{},"式":{"docs":{},"将":{"docs":{},"整":{"docs":{},"型":{"docs":{},"值":{"2":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"到":{"docs":{},"字":{"docs":{},"典":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"索":{"docs":{},"引":{"docs":{},"为":{"docs":{},"b":{"docs":{},"i":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}},"?":{"docs":{},"值":{"docs":{},",":{"docs":{},"不":{"docs":{},"论":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"多":{"docs":{},"少":{"docs":{},"层":{"docs":{},"链":{"docs":{},"接":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"总":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"指":{"docs":{},"定":{"docs":{},"了":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"实":{"docs":{},"现":{"docs":{},",":{"docs":{},"适":{"docs":{},"用":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"被":{"docs":{},"用":{"docs":{},"作":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"这":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"只":{"docs":{},"能":{"docs":{},"用":{"docs":{},"于":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},",":{"docs":{},"不":{"docs":{},"过":{"docs":{},",":{"docs":{},"其":{"docs":{},"对":{"docs":{},"于":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"现":{"docs":{},"了":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"三":{"docs":{},"个":{"docs":{},"要":{"docs":{},"求":{"docs":{},",":{"docs":{},"在":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"非":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},",":{"docs":{},"适":{"docs":{},"用":{"docs":{},"于":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}},"索":{"docs":{},"引":{"docs":{},"值":{"docs":{},"下":{"docs":{},"标":{"docs":{},"可":{"docs":{},"以":{"docs":{},"检":{"docs":{},"索":{"docs":{},"到":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}},"这":{"docs":{},"一":{"docs":{},"行":{"docs":{},",":{"docs":{},"一":{"docs":{},"切":{"docs":{},"仍":{"docs":{},"旧":{"docs":{},"可":{"docs":{},"以":{"docs":{},"工":{"docs":{},"作":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"清":{"docs":{},"楚":{"docs":{},"的":{"docs":{},"知":{"docs":{},"道":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.4422083512699096},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.020553359683794466}}}}},"r":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}}},"e":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"p":{"docs":{},"i":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"-":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}},"参":{"docs":{},"数":{"docs":{},"交":{"docs":{},"换":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"被":{"docs":{},"描":{"docs":{},"述":{"docs":{},"为":{"docs":{},"[":{"docs":{},"i":{"docs":{},"n":{"docs":{},"-":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"]":{"docs":{},"[":{"1":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"f":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.008968609865470852}},"标":{"docs":{},"记":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"标":{"docs":{},"记":{"docs":{},"一":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"不":{"docs":{},"能":{"docs":{},"别":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"或":{"docs":{},"者":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"。":{"docs":{},"如":{"docs":{},"何":{"docs":{},"使":{"docs":{},"用":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23951224245560696}}}}}},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.02924901185770751},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.014947683109118086}},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01046337817638266}},"e":{"docs":{},"。":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}},"需":{"docs":{},"要":{"docs":{},"真":{"docs":{},"正":{"docs":{},"作":{"docs":{},"为":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}},"s":{"docs":{},".":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}}}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"需":{"docs":{},"求":{"docs":{},"通":{"docs":{},"过":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"和":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"空":{"docs":{},"的":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}},"是":{"docs":{},"如":{"docs":{},"何":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"或":{"docs":{},"何":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"允":{"docs":{},"许":{"docs":{},"的":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"协":{"docs":{},"议":{"docs":{},"只":{"docs":{},"指":{"docs":{},"定":{"docs":{},"三":{"docs":{},"个":{"docs":{},"任":{"docs":{},"何":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"该":{"docs":{},"参":{"docs":{},"数":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},")":{"docs":{},";":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"与":{"docs":{},"类":{"docs":{},"型":{"docs":{},"自":{"docs":{},"身":{"docs":{},"相":{"docs":{},"关":{"docs":{},"联":{"docs":{},"。":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"与":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},"的":{"docs":{},"类":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.014705882352941176},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}}},"b":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"和":{"docs":{},"i":{"docs":{},"b":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"用":{"docs":{},"于":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"声":{"docs":{},"明":{"docs":{},";":{"docs":{},"i":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"特":{"docs":{},"性":{"docs":{},"用":{"docs":{},"于":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"声":{"docs":{},"明":{"docs":{},";":{"docs":{},"i":{"docs":{},"b":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"a":{"docs":{},"g":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}}}}}}}}}}},"b":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}},"r":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}}}}}},"c":{"docs":{},"h":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087}}}}},"w":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"'":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}},"m":{"docs":{},"b":{"docs":{},"d":{"docs":{},"a":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}},"u":{"docs":{},"r":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}}},"s":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"z":{"docs":{},"i":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.02197802197802198}}}}},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}}},"s":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"(":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"t":{"docs":{},"来":{"docs":{},"声":{"docs":{},"明":{"docs":{},"常":{"docs":{},"量":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"用":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.019801980198019802}},"i":{"docs":{},"s":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}},"监":{"docs":{},"测":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"的":{"docs":{},"已":{"docs":{},"解":{"docs":{},"锁":{"docs":{},"的":{"docs":{},"最":{"docs":{},"高":{"docs":{},"等":{"docs":{},"级":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"值":{"docs":{},"被":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"静":{"docs":{},"态":{"docs":{},"属":{"docs":{},"性":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"还":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"两":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"与":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"配":{"docs":{},"合":{"docs":{},"工":{"docs":{},"作":{"docs":{},"。":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"是":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},":":{"docs":{},"一":{"docs":{},"旦":{"docs":{},"新":{"docs":{},"等":{"docs":{},"级":{"docs":{},"被":{"docs":{},"解":{"docs":{},"锁":{"docs":{},",":{"docs":{},"它":{"docs":{},"会":{"docs":{},"更":{"docs":{},"新":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"是":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},":":{"docs":{},"如":{"docs":{},"果":{"docs":{},"某":{"docs":{},"个":{"docs":{},"给":{"docs":{},"定":{"docs":{},"的":{"docs":{},"等":{"docs":{},"级":{"docs":{},"已":{"docs":{},"经":{"docs":{},"被":{"docs":{},"解":{"docs":{},"锁":{"docs":{},",":{"docs":{},"他":{"docs":{},"返":{"docs":{},"回":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"。":{"docs":{},"(":{"docs":{},"注":{"docs":{},"意":{"docs":{},":":{"docs":{},"我":{"docs":{},"们":{"docs":{},"没":{"docs":{},"用":{"docs":{},"使":{"docs":{},"用":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"还":{"docs":{},"是":{"docs":{},"能":{"docs":{},"够":{"docs":{},"访":{"docs":{},"问":{"docs":{},"静":{"docs":{},"态":{"docs":{},"属":{"docs":{},"性":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"监":{"docs":{},"测":{"docs":{},"每":{"docs":{},"个":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"的":{"docs":{},"进":{"docs":{},"度":{"docs":{},"。":{"docs":{},"它":{"docs":{},"用":{"docs":{},"实":{"docs":{},"例":{"docs":{},"属":{"docs":{},"性":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"f":{"docs":{},"t":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.03550295857988166},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"s":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"'":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.016600790513833993},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"m":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}},"n":{"docs":{},"e":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}},"f":{"docs":{},"e":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"v":{"docs":{},"e":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}},"o":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"o":{"docs":{},"k":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"p":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}},"w":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425}},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"p":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}}}}}}}},"n":{"docs":{},"g":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}},"l":{"docs":{},"a":{"docs":{},"m":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}}}},"p":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"r":{"docs":{},"o":{"docs":{},"g":{"docs":{},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}}}}},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.008968609865470852}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"e":{"docs":{},".":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"变":{"docs":{},"量":{"docs":{},"运":{"docs":{},"行":{"docs":{},"时":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},",":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"会":{"docs":{},"把":{"docs":{},"它":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"当":{"docs":{},"做":{"docs":{},"e":{"docs":{},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"》":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},"e":{"docs":{},"s":{"docs":{},")":{"docs":{},",":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{},"s":{"docs":{},")":{"docs":{},",":{"docs":{},"构":{"docs":{},"造":{"docs":{},"过":{"docs":{},"程":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"z":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},")":{"docs":{},",":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"(":{"docs":{},"e":{"docs":{},"x":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},")":{"docs":{},",":{"docs":{},"和":{"docs":{},"协":{"docs":{},"议":{"docs":{},"(":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"y":{"docs":{},")":{"docs":{},"还":{"docs":{},"是":{"docs":{},"计":{"docs":{},"算":{"docs":{},"型":{"docs":{},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}},",":{"docs":{},"或":{"docs":{},"下":{"docs":{},"标":{"docs":{},"(":{"docs":{},"s":{"docs":{},"u":{"docs":{},"b":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},")":{"docs":{},"提":{"docs":{},"供":{"docs":{},"自":{"docs":{},"己":{"docs":{},"定":{"docs":{},"制":{"docs":{},"的":{"docs":{},"实":{"docs":{},"现":{"docs":{},"(":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},")":{"docs":{},"。":{"docs":{},"我":{"docs":{},"们":{"docs":{},"把":{"docs":{},"这":{"docs":{},"种":{"docs":{},"行":{"docs":{},"为":{"docs":{},"叫":{"docs":{},"重":{"docs":{},"写":{"docs":{},"(":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},"在":{"docs":{},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"修":{"docs":{},"改":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"m":{"docs":{},"o":{"docs":{},"d":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}}}}}}}}}}}}}}}}},"d":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.014705882352941176}},"e":{"docs":{},"的":{"docs":{},"新":{"docs":{},"变":{"docs":{},"量":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"赋":{"docs":{},"给":{"docs":{},"它":{"docs":{},"一":{"docs":{},"个":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},".":{"docs":{},"u":{"docs":{},"p":{"docs":{},"c":{"docs":{},"a":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"元":{"docs":{},"组":{"docs":{},"值":{"docs":{},"(":{"8":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}}}}}}}}},"v":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"(":{"docs":{},"这":{"docs":{},"个":{"docs":{},"协":{"docs":{},"议":{"docs":{},"不":{"docs":{},"会":{"docs":{},"定":{"docs":{},"义":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"是":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"类":{"docs":{},"型":{"docs":{},"所":{"docs":{},"提":{"docs":{},"供":{"docs":{},"的":{"docs":{},"何":{"docs":{},"种":{"docs":{},"信":{"docs":{},"息":{"docs":{},"的":{"docs":{},"别":{"docs":{},"名":{"docs":{},")":{"docs":{},"。":{"docs":{},"尽":{"docs":{},"管":{"docs":{},"如":{"docs":{},"此":{"docs":{},",":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"别":{"docs":{},"名":{"docs":{},"支":{"docs":{},"持":{"docs":{},"一":{"docs":{},"种":{"docs":{},"方":{"docs":{},"法":{"docs":{},"识":{"docs":{},"别":{"docs":{},"在":{"docs":{},"一":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"种":{"docs":{},"使":{"docs":{},"用":{"docs":{},"在":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"中":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"以":{"docs":{},"便":{"docs":{},"保":{"docs":{},"证":{"docs":{},"任":{"docs":{},"何":{"docs":{},"期":{"docs":{},"望":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.01808066759388039},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.01838235294117647},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"l":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}},"(":{"docs":{},"\"":{"3":{"docs":{},"的":{"6":{"docs":{},"倍":{"docs":{},"是":{"docs":{},"\\":{"docs":{},"(":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"[":{"6":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{}}}}}}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}},"a":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"u":{"docs":{},"t":{"docs":{},"o":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"c":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}},"c":{"docs":{},"c":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286}}}}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"i":{"docs":{},"m":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}},"o":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"t":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}},"h":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.014336917562724014},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}},"\\":{"docs":{},"(":{"docs":{},"p":{"docs":{},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}}}}}}}}}}}}}},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{},"a":{"docs":{},"l":{"docs":{},".":{"docs":{},"v":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}}},"e":{"docs":{},"w":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},"m":{"docs":{},"m":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}},"o":{"docs":{},"s":{"docs":{},"t":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}},"e":{"docs":{},"d":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"u":{"docs":{},"n":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.023178807947019868}},"u":{"docs":{},"s":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}},"p":{"docs":{},"c":{"docs":{},"-":{"docs":{},"a":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}},"g":{"docs":{},"o":{"docs":{},"o":{"docs":{},"d":{"docs":{},"b":{"docs":{},"y":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}}}}}}}},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"l":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"q":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}},"w":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.008928571428571428}}}}}}}},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}}}}}}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},"'":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.023178807947019868}}}}}}},"'":{"docs":{},"\\":{"docs":{},"\\":{"docs":{},"(":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"d":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}}}},"c":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}},"f":{"docs":{},"r":{"docs":{},"i":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"l":{"docs":{},"y":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"p":{"docs":{},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}},"h":{"docs":{},"a":{"docs":{},"l":{"docs":{},"f":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{},"(":{"1":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"docs":{}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"a":{"docs":{},"y":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"b":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}},"a":{"docs":{},"g":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}},"“":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}},"函":{"docs":{},"数":{"docs":{},"输":{"docs":{},"出":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"用":{"docs":{},"来":{"docs":{},"输":{"docs":{},"出":{"docs":{},"的":{"docs":{},"全":{"docs":{},"局":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"输":{"docs":{},"出":{"docs":{},"的":{"docs":{},"内":{"docs":{},"容":{"docs":{},"会":{"docs":{},"在":{"docs":{},"最":{"docs":{},"后":{"docs":{},"带":{"docs":{},"换":{"docs":{},"行":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"用":{"docs":{},"x":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},",":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"n":{"docs":{},"将":{"docs":{},"会":{"docs":{},"输":{"docs":{},"出":{"docs":{},"内":{"docs":{},"容":{"docs":{},"到":{"docs":{},"“":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"”":{"docs":{},"面":{"docs":{},"板":{"docs":{},"上":{"docs":{},"。":{"docs":{},"(":{"docs":{},"另":{"docs":{},"一":{"docs":{},"种":{"docs":{},"函":{"docs":{},"数":{"docs":{},"叫":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}},"的":{"docs":{},"输":{"docs":{},"入":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"并":{"docs":{},"对":{"docs":{},"其":{"docs":{},"字":{"docs":{},"符":{"docs":{},"进":{"docs":{},"行":{"docs":{},"迭":{"docs":{},"代":{"docs":{},"。":{"docs":{},"在":{"docs":{},"每":{"docs":{},"次":{"docs":{},"迭":{"docs":{},"代":{"docs":{},"过":{"docs":{},"程":{"docs":{},"中":{"docs":{},",":{"docs":{},"考":{"docs":{},"虑":{"docs":{},"当":{"docs":{},"前":{"docs":{},"字":{"docs":{},"符":{"docs":{},"的":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"并":{"docs":{},"打":{"docs":{},"印":{"docs":{},"出":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"类":{"docs":{},"别":{"docs":{},"描":{"docs":{},"述":{"docs":{},"。":{"docs":{},"所":{"docs":{},"以":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"就":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"来":{"docs":{},"打":{"docs":{},"印":{"docs":{},"一":{"docs":{},"个":{"docs":{},"完":{"docs":{},"整":{"docs":{},"单":{"docs":{},"词":{"docs":{},"中":{"docs":{},"所":{"docs":{},"有":{"docs":{},"字":{"docs":{},"母":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"正":{"docs":{},"如":{"docs":{},"上":{"docs":{},"述":{"docs":{},"单":{"docs":{},"词":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"(":{"docs":{},"\"":{"docs":{},"\\":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}}},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{},".":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}},"v":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}}}}}}},",":{"docs":{},"输":{"docs":{},"出":{"docs":{},"一":{"docs":{},"个":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"数":{"docs":{},"。":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"(":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"作":{"docs":{},"用":{"docs":{},"就":{"docs":{},"是":{"docs":{},"输":{"docs":{},"出":{"docs":{},"另":{"docs":{},"一":{"docs":{},"个":{"docs":{},"合":{"docs":{},"适":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"数":{"docs":{},"学":{"docs":{},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"调":{"docs":{},"用":{"docs":{},"结":{"docs":{},"果":{"docs":{},"。":{"docs":{},"它":{"docs":{},"不":{"docs":{},"关":{"docs":{},"心":{"docs":{},"传":{"docs":{},"入":{"docs":{},"函":{"docs":{},"数":{"docs":{},"是":{"docs":{},"如":{"docs":{},"何":{"docs":{},"实":{"docs":{},"现":{"docs":{},"的":{"docs":{},",":{"docs":{},"它":{"docs":{},"只":{"docs":{},"关":{"docs":{},"心":{"docs":{},"这":{"docs":{},"个":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"正":{"docs":{},"确":{"docs":{},"的":{"docs":{},"。":{"docs":{},"这":{"docs":{},"使":{"docs":{},"得":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"可":{"docs":{},"以":{"docs":{},"以":{"docs":{},"一":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"(":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"-":{"docs":{},"s":{"docs":{},"a":{"docs":{},"f":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"有":{"docs":{},"三":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},":":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"叫":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},",":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"它":{"docs":{},"被":{"docs":{},"传":{"docs":{},"入":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"和":{"docs":{},"整":{"docs":{},"数":{"3":{"docs":{},"和":{"5":{"docs":{},"。":{"docs":{},"它":{"docs":{},"用":{"docs":{},"传":{"docs":{},"入":{"3":{"docs":{},"和":{"5":{"docs":{},"调":{"docs":{},"用":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},",":{"docs":{},"并":{"docs":{},"输":{"docs":{},"出":{"docs":{},"结":{"docs":{},"果":{"docs":{},":":{"8":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"docs":{}}}}}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{}}}}}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}}}}}}}}}}}},"c":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"e":{"docs":{},"s":{"docs":{},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}},"u":{"docs":{},"l":{"docs":{},"l":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}}},"b":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}},"s":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}}}},")":{"docs":{},"/":{"docs":{},"出":{"docs":{},"栈":{"docs":{},"(":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{},"l":{"docs":{},"e":{"docs":{},"r":{"docs":{},":":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.024896265560165973}}}},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286}}}}}}}}}}}}}}}},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}},"d":{"docs":{},"e":{"docs":{},"d":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":1.6543325678429346},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.8769909599655618},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}},"s":{"docs":{},")":{"docs":{},"函":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}},"常":{"docs":{},"量":{"docs":{},"参":{"docs":{},"数":{"docs":{},"和":{"docs":{},"变":{"docs":{},"量":{"docs":{},"参":{"docs":{},"数":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}}},"无":{"docs":{},"参":{"docs":{},"函":{"docs":{},"数":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"函":{"docs":{},"数":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}},"输":{"docs":{},"入":{"docs":{},"输":{"docs":{},"出":{"docs":{},"参":{"docs":{},"数":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"-":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"命":{"docs":{},"名":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"语":{"docs":{},"法":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},"行":{"docs":{},"为":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"行":{"docs":{},"为":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"一":{"docs":{},"个":{"docs":{},"存":{"docs":{},"在":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"为":{"docs":{},"一":{"docs":{},"指":{"docs":{},"定":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":5}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"k":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"i":{"docs":{},"c":{"docs":{},"u":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}},"e":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"r":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.016556291390728478}},"'":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}}}}},"和":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"模":{"docs":{},"型":{"docs":{},"通":{"docs":{},"过":{"docs":{},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}}}}}}}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}},"e":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"o":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},",":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}}}}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.017326732673267328},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}}}}}}}}}}},"(":{"docs":{},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}}}},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"变":{"docs":{},"异":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01046337817638266}},"u":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{},"l":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"并":{"docs":{},"移":{"docs":{},"除":{"docs":{},"值":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"c":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},",":{"docs":{},"该":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"将":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}},"h":{"docs":{},"o":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.025735294117647058}},".":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"(":{"7":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"9":{"docs":{},")":{"docs":{},"语":{"docs":{},"句":{"docs":{},"获":{"docs":{},"得":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"可":{"docs":{},"选":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"获":{"docs":{},"得":{"docs":{},",":{"docs":{},"把":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},"设":{"docs":{},"置":{"docs":{},"成":{"docs":{},"该":{"docs":{},"可":{"docs":{},"选":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{},"的":{"docs":{},"内":{"docs":{},"容":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"个":{"docs":{},"范":{"docs":{},"例":{"docs":{},"中":{"docs":{},",":{"docs":{},"无":{"docs":{},"法":{"docs":{},"检":{"docs":{},"索":{"docs":{},"到":{"docs":{},"位":{"docs":{},"置":{"docs":{},"为":{"9":{"docs":{},"的":{"docs":{},"行":{"docs":{},"星":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"e":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{},"p":{"docs":{},"o":{"docs":{},"s":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"u":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"u":{"docs":{},"s":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"是":{"2":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}}}}}}}}}}}},"这":{"docs":{},"个":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"细":{"docs":{},"化":{"docs":{},",":{"docs":{},"利":{"docs":{},"用":{"docs":{},"原":{"docs":{},"始":{"docs":{},"整":{"docs":{},"型":{"docs":{},"值":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"每":{"docs":{},"个":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.023668639053254437}},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}}},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"1":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"docs":{}}}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"6":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}}},"类":{"docs":{},"使":{"docs":{},"用":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"r":{"docs":{},"实":{"docs":{},"例":{"docs":{},"来":{"docs":{},"检":{"docs":{},"测":{"docs":{},"这":{"docs":{},"个":{"docs":{},"用":{"docs":{},"户":{"docs":{},"的":{"docs":{},"发":{"docs":{},"展":{"docs":{},"进":{"docs":{},"度":{"docs":{},"。":{"docs":{},"他":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"方":{"docs":{},"法":{"docs":{},":":{"docs":{},"一":{"docs":{},"旦":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"完":{"docs":{},"成":{"docs":{},"某":{"docs":{},"个":{"docs":{},"指":{"docs":{},"定":{"docs":{},"等":{"docs":{},"级":{"docs":{},"就":{"docs":{},"调":{"docs":{},"用":{"docs":{},"它":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"为":{"docs":{},"所":{"docs":{},"有":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"解":{"docs":{},"锁":{"docs":{},"下":{"docs":{},"一":{"docs":{},"等":{"docs":{},"级":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"将":{"docs":{},"当":{"docs":{},"前":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"的":{"docs":{},"进":{"docs":{},"度":{"docs":{},"更":{"docs":{},"新":{"docs":{},"为":{"docs":{},"下":{"docs":{},"一":{"docs":{},"等":{"docs":{},"级":{"docs":{},"。":{"docs":{},"(":{"docs":{},"我":{"docs":{},"们":{"docs":{},"忽":{"docs":{},"略":{"docs":{},"了":{"docs":{},"a":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"之":{"docs":{},"前":{"docs":{},"调":{"docs":{},"用":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"w":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"该":{"docs":{},"方":{"docs":{},"法":{"docs":{},"从":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"获":{"docs":{},"取":{"docs":{},"一":{"docs":{},"定":{"docs":{},"数":{"docs":{},"量":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},",":{"docs":{},"并":{"docs":{},"把":{"docs":{},"它":{"docs":{},"们":{"docs":{},"添":{"docs":{},"加":{"docs":{},"到":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"钱":{"docs":{},"包":{"docs":{},"。":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"类":{"docs":{},"还":{"docs":{},"实":{"docs":{},"现":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"析":{"docs":{},"构":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"析":{"docs":{},"构":{"docs":{},"函":{"docs":{},"数":{"docs":{},"在":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"实":{"docs":{},"例":{"docs":{},"释":{"docs":{},"放":{"docs":{},"前":{"docs":{},"一":{"docs":{},"步":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"。":{"docs":{},"这":{"docs":{},"里":{"docs":{},"析":{"docs":{},"构":{"docs":{},"函":{"docs":{},"数":{"docs":{},"只":{"docs":{},"是":{"docs":{},"将":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"都":{"docs":{},"返":{"docs":{},"回":{"docs":{},"给":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"描":{"docs":{},"述":{"docs":{},"了":{"docs":{},"游":{"docs":{},"戏":{"docs":{},"中":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"玩":{"docs":{},"家":{"docs":{},"。":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"在":{"docs":{},"任":{"docs":{},"何":{"docs":{},"时":{"docs":{},"刻":{"docs":{},"都":{"docs":{},"有":{"docs":{},"一":{"docs":{},"定":{"docs":{},"数":{"docs":{},"量":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"他":{"docs":{},"们":{"docs":{},"的":{"docs":{},"钱":{"docs":{},"包":{"docs":{},"中":{"docs":{},"。":{"docs":{},"这":{"docs":{},"通":{"docs":{},"过":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"p":{"docs":{},"u":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.023668639053254437}},"e":{"docs":{},"!":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"p":{"docs":{},"u":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}}}}}}}}}}}}},"w":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"2":{"docs":{},"_":{"0":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}},"是":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"由":{"docs":{},"一":{"docs":{},"个":{"docs":{},"感":{"docs":{},"叹":{"docs":{},"号":{"docs":{},"(":{"docs":{},"!":{"docs":{},")":{"docs":{},"来":{"docs":{},"修":{"docs":{},"饰":{"docs":{},",":{"docs":{},"每":{"docs":{},"当":{"docs":{},"其":{"docs":{},"w":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"方":{"docs":{},"法":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"p":{"docs":{},"u":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},"都":{"docs":{},"由":{"docs":{},"一":{"docs":{},"个":{"docs":{},"指":{"docs":{},"定":{"docs":{},"数":{"docs":{},"目":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"组":{"docs":{},"成":{"docs":{},"的":{"docs":{},"启":{"docs":{},"动":{"docs":{},"额":{"docs":{},"度":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},",":{"docs":{},"这":{"docs":{},"些":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"在":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"的":{"docs":{},"过":{"docs":{},"程":{"docs":{},"中":{"docs":{},"得":{"docs":{},"到":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"足":{"docs":{},"够":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"可":{"docs":{},"用":{"docs":{},",":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"随":{"docs":{},"着":{"docs":{},"一":{"docs":{},"个":{"1":{"0":{"0":{"docs":{},"个":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"(":{"docs":{},"如":{"docs":{},"果":{"docs":{},"有":{"docs":{},")":{"docs":{},"的":{"docs":{},"请":{"docs":{},"求":{"docs":{},"而":{"docs":{},"被":{"docs":{},"创":{"docs":{},"建":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"实":{"docs":{},"例":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"为":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"变":{"docs":{},"量":{"docs":{},"中":{"docs":{},"。":{"docs":{},"这":{"docs":{},"里":{"docs":{},"使":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"变":{"docs":{},"量":{"docs":{},",":{"docs":{},"是":{"docs":{},"因":{"docs":{},"为":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"可":{"docs":{},"以":{"docs":{},"随":{"docs":{},"时":{"docs":{},"离":{"docs":{},"开":{"docs":{},"游":{"docs":{},"戏":{"docs":{},"。":{"docs":{},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"可":{"docs":{},"选":{"docs":{},"使":{"docs":{},"得":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"跟":{"docs":{},"踪":{"docs":{},"当":{"docs":{},"前":{"docs":{},"是":{"docs":{},"否":{"docs":{},"有":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}}}}}},"已":{"docs":{},"经":{"docs":{},"赢":{"docs":{},"得":{"docs":{},"了":{"2":{"docs":{},",":{"0":{"0":{"0":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"。":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"钱":{"docs":{},"包":{"docs":{},"现":{"docs":{},"在":{"docs":{},"有":{"2":{"docs":{},",":{"1":{"0":{"0":{"docs":{},"硬":{"docs":{},"币":{"docs":{},",":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"只":{"docs":{},"剩":{"docs":{},"余":{"7":{"docs":{},",":{"9":{"0":{"0":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}},"现":{"docs":{},"在":{"docs":{},"已":{"docs":{},"经":{"docs":{},"离":{"docs":{},"开":{"docs":{},"了":{"docs":{},"游":{"docs":{},"戏":{"docs":{},"。":{"docs":{},"这":{"docs":{},"表":{"docs":{},"明":{"docs":{},"是":{"docs":{},"要":{"docs":{},"将":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"变":{"docs":{},"量":{"docs":{},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},",":{"docs":{},"意":{"docs":{},"思":{"docs":{},"是":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"没":{"docs":{},"有":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"实":{"docs":{},"例":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"。":{"docs":{},"当":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},"发":{"docs":{},"生":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},",":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"变":{"docs":{},"量":{"docs":{},"对":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"引":{"docs":{},"用":{"docs":{},"被":{"docs":{},"破":{"docs":{},"坏":{"docs":{},"了":{"docs":{},"。":{"docs":{},"没":{"docs":{},"有":{"docs":{},"其":{"docs":{},"它":{"docs":{},"属":{"docs":{},"性":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"引":{"docs":{},"用":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"为":{"docs":{},"了":{"docs":{},"清":{"docs":{},"空":{"docs":{},"它":{"docs":{},"占":{"docs":{},"用":{"docs":{},"的":{"docs":{},"内":{"docs":{},"存":{"docs":{},"从":{"docs":{},"而":{"docs":{},"释":{"docs":{},"放":{"docs":{},"它":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"发":{"docs":{},"生":{"docs":{},"前":{"docs":{},"一":{"docs":{},"步":{"docs":{},",":{"docs":{},"其":{"docs":{},"析":{"docs":{},"构":{"docs":{},"函":{"docs":{},"数":{"docs":{},"被":{"docs":{},"自":{"docs":{},"动":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"其":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"被":{"docs":{},"返":{"docs":{},"回":{"docs":{},"到":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}}}}},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"q":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"q":{"docs":{},"群":{"docs":{},":":{"3":{"6":{"4":{"2":{"7":{"9":{"5":{"8":{"8":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}}},"u":{"docs":{},"e":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}}}},"s":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}},";":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}},";":{"docs":{},")":{"docs":{},",":{"docs":{},"u":{"docs":{},"+":{"1":{"docs":{},"f":{"4":{"2":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}},"l":{"docs":{},"e":{"docs":{},"x":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"海":{"docs":{},"贼":{"docs":{},"王":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}},"":{"docs":{},"":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},",":{"docs":{},"之":{"docs":{},"所":{"docs":{},"以":{"docs":{},"叫":{"docs":{},"这":{"docs":{},"个":{"docs":{},"名":{"docs":{},"字":{"docs":{},"是":{"docs":{},"因":{"docs":{},"为":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"人":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"当":{"docs":{},"做":{"docs":{},"输":{"docs":{},"入":{"docs":{},",":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"给":{"docs":{},"这":{"docs":{},"个":{"docs":{},"人":{"docs":{},"的":{"docs":{},"问":{"docs":{},"候":{"docs":{},"语":{"docs":{},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"完":{"docs":{},"成":{"docs":{},"这":{"docs":{},"个":{"docs":{},"任":{"docs":{},"务":{"docs":{},",":{"docs":{},"你":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"输":{"docs":{},"入":{"docs":{},"参":{"docs":{},"数":{"docs":{},"-":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},",":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"包":{"docs":{},"含":{"docs":{},"给":{"docs":{},"这":{"docs":{},"个":{"docs":{},"人":{"docs":{},"问":{"docs":{},"候":{"docs":{},"语":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"b":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"y":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}},"f":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}},"o":{"docs":{},"m":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}},"大":{"docs":{},"于":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}},"按":{"docs":{},"照":{"docs":{},"字":{"docs":{},"母":{"docs":{},"顺":{"docs":{},"序":{"docs":{},"后":{"docs":{},"出":{"docs":{},"现":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}}}}},"短":{"docs":{},"路":{"docs":{},"计":{"docs":{},"算":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}}}}}}}},"a":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"b":{"docs":{},"c":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"g":{"docs":{},"h":{"docs":{},"i":{"docs":{},"j":{"docs":{},"k":{"docs":{},"l":{"docs":{},"m":{"docs":{},"n":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"d":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}},"码":{"docs":{},"格":{"docs":{},"式":{"docs":{},"的":{"docs":{},"二":{"docs":{},"维":{"docs":{},"码":{"docs":{},",":{"docs":{},"它":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"任":{"docs":{},"何":{"docs":{},"i":{"docs":{},"s":{"docs":{},"o":{"8":{"8":{"5":{"9":{"docs":{},"-":{"1":{"docs":{},"字":{"docs":{},"符":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"可":{"docs":{},"以":{"docs":{},"编":{"docs":{},"码":{"docs":{},"一":{"docs":{},"个":{"docs":{},"最":{"docs":{},"多":{"docs":{},"拥":{"docs":{},"有":{"2":{"docs":{},",":{"9":{"5":{"3":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}}}},"i":{"docs":{},"r":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}},"f":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.005563282336578581},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"t":{"docs":{},"m":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"导":{"docs":{},"演":{"docs":{},"的":{"docs":{},"电":{"docs":{},"影":{"docs":{},"“":{"docs":{},"g":{"docs":{},"h":{"docs":{},"o":{"docs":{},"s":{"docs":{},"t":{"docs":{},"b":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"p":{"docs":{},"e":{"docs":{},"a":{"docs":{},"t":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"k":{"docs":{},"n":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"<":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},">":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"e":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"docs":{},"t":{"docs":{},"a":{"docs":{},"s":{"docs":{},"k":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"u":{"docs":{},"n":{"docs":{},"r":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}},"e":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"将":{"docs":{},"计":{"docs":{},"数":{"docs":{},"器":{"docs":{},"重":{"docs":{},"置":{"docs":{},"为":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"docs":{}}}}}}}}}},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.04304635761589404}},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"中":{"docs":{},"也":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}},"具":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},",":{"docs":{},"其":{"docs":{},"值":{"docs":{},"为":{"1":{"docs":{},"。":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"具":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}},"存":{"docs":{},"储":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"不":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"固":{"docs":{},"定":{"docs":{},"的":{"docs":{},"存":{"docs":{},"储":{"docs":{},"值":{"docs":{},",":{"docs":{},"而":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"计":{"docs":{},"算":{"docs":{},"而":{"docs":{},"来":{"docs":{},"的":{"docs":{},"。":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"是":{"docs":{},"由":{"docs":{},"返":{"docs":{},"回":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"数":{"docs":{},"组":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"属":{"docs":{},"性":{"docs":{},"叫":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"(":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"?":{"docs":{},")":{"docs":{},"。":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},"给":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},",":{"docs":{},"且":{"docs":{},"在":{"docs":{},"他":{"docs":{},"的":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"数":{"docs":{},"组":{"docs":{},"中":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"或":{"docs":{},"多":{"docs":{},"个":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"通":{"docs":{},"过":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"子":{"docs":{},"脚":{"docs":{},"本":{"docs":{},"来":{"docs":{},"获":{"docs":{},"取":{"docs":{},"在":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"属":{"docs":{},"性":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},",":{"docs":{},"将":{"docs":{},"会":{"docs":{},"引":{"docs":{},"发":{"docs":{},"运":{"docs":{},"行":{"docs":{},"时":{"docs":{},"错":{"docs":{},"误":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"这":{"docs":{},"时":{"docs":{},"没":{"docs":{},"有":{"docs":{},"可":{"docs":{},"以":{"docs":{},"供":{"docs":{},"解":{"docs":{},"析":{"docs":{},"的":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"方":{"docs":{},"法":{"docs":{},"会":{"docs":{},"打":{"docs":{},"印":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"中":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"子":{"docs":{},"脚":{"docs":{},"本":{"docs":{},"来":{"docs":{},"获":{"docs":{},"取":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"数":{"docs":{},"组":{"docs":{},"中":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"房":{"docs":{},"间":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"现":{"docs":{},"在":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.03525264394829612},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.016597510373443983},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.9789112785845975},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.034210526315789476},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.02197802197802198},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.019867549668874173},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.032520325203252036},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.040229885057471264},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.026905829596412557},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"f":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"e":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"称":{"docs":{},"缩":{"docs":{},"写":{"docs":{},"运":{"docs":{},"算":{"docs":{},"符":{"docs":{},"函":{"docs":{},"数":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":3.333333333333333}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"e":{"docs":{},"v":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.03642384105960265}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.02368421052631579}}}}}},"c":{"docs":{},"e":{"docs":{},"i":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}},"方":{"docs":{},"法":{"docs":{},"只":{"docs":{},"是":{"docs":{},"将":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"存":{"docs":{},"储":{"docs":{},"和":{"docs":{},"接":{"docs":{},"收":{"docs":{},"到":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"数":{"docs":{},"目":{"docs":{},"相":{"docs":{},"加":{"docs":{},",":{"docs":{},"再":{"docs":{},"保":{"docs":{},"存":{"docs":{},"回":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.011494252873563218}},"(":{"docs":{},"c":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"同":{"docs":{},"时":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"两":{"docs":{},"个":{"docs":{},"辅":{"docs":{},"助":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"s":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"和":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"它":{"docs":{},"们":{"docs":{},"都":{"docs":{},"把":{"0":{"docs":{},".":{"0":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"其":{"docs":{},"所":{"docs":{},"有":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"默":{"docs":{},"认":{"docs":{},"值":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"正":{"docs":{},"如":{"docs":{},"默":{"docs":{},"认":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"中":{"docs":{},"描":{"docs":{},"述":{"docs":{},"的":{"docs":{},",":{"docs":{},"它":{"docs":{},"可":{"docs":{},"以":{"docs":{},"自":{"docs":{},"动":{"docs":{},"接":{"docs":{},"受":{"docs":{},"一":{"docs":{},"个":{"docs":{},"默":{"docs":{},"认":{"docs":{},"的":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"成":{"docs":{},"员":{"docs":{},"级":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"于":{"docs":{},"构":{"docs":{},"造":{"docs":{},"新":{"docs":{},"的":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"m":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"o":{"docs":{},"v":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"a":{"docs":{},"i":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"n":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.04878048780487805}},".":{"docs":{},"a":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"(":{"3":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},".":{"docs":{},"f":{"docs":{},"i":{"docs":{},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}},"s":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}},"和":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"在":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"中":{"docs":{},",":{"docs":{},"但":{"docs":{},"仍":{"docs":{},"可":{"docs":{},"被":{"docs":{},"引":{"docs":{},"用":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"在":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"实":{"docs":{},"例":{"docs":{},"时":{"docs":{},"能":{"docs":{},"够":{"docs":{},"通":{"docs":{},"过":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"类":{"docs":{},"型":{"docs":{},"中":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"名":{"docs":{},"称":{"docs":{},"单":{"docs":{},"独":{"docs":{},"引":{"docs":{},"用":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"属":{"docs":{},"性":{"docs":{},"能":{"docs":{},"正":{"docs":{},"确":{"docs":{},"得":{"docs":{},"输":{"docs":{},"出":{"docs":{},"对":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"牌":{"docs":{},"有":{"1":{"docs":{},"和":{"1":{"1":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"在":{"docs":{},"自":{"docs":{},"己":{"docs":{},"内":{"docs":{},"部":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"包":{"docs":{},"含":{"docs":{},"两":{"docs":{},"个":{"docs":{},"变":{"docs":{},"量":{"docs":{},",":{"docs":{},"只":{"docs":{},"有":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"数":{"docs":{},"值":{"docs":{},",":{"docs":{},"其":{"docs":{},"余":{"docs":{},"牌":{"docs":{},"都":{"docs":{},"只":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"数":{"docs":{},"值":{"docs":{},"。":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"会":{"docs":{},"根":{"docs":{},"据":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"面":{"docs":{},"值":{"docs":{},",":{"docs":{},"用":{"docs":{},"适":{"docs":{},"当":{"docs":{},"的":{"docs":{},"数":{"docs":{},"值":{"docs":{},"去":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"并":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"给":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"j":{"docs":{},",":{"docs":{},"q":{"docs":{},",":{"docs":{},"k":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"会":{"docs":{},"使":{"docs":{},"用":{"docs":{},"特":{"docs":{},"殊":{"docs":{},"数":{"docs":{},"值":{"docs":{},",":{"docs":{},"对":{"docs":{},"于":{"docs":{},"数":{"docs":{},"字":{"docs":{},"面":{"docs":{},"值":{"docs":{},"的":{"docs":{},"牌":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"来":{"docs":{},"描":{"docs":{},"述":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"从":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"~":{"1":{"0":{"docs":{},",":{"docs":{},"j":{"docs":{},",":{"docs":{},"q":{"docs":{},",":{"docs":{},"k":{"docs":{},",":{"1":{"3":{"docs":{},"张":{"docs":{},"牌":{"docs":{},",":{"docs":{},"并":{"docs":{},"分":{"docs":{},"别":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"表":{"docs":{},"示":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"面":{"docs":{},"值":{"docs":{},"。":{"docs":{},"(":{"docs":{},"这":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"不":{"docs":{},"适":{"docs":{},"用":{"docs":{},"于":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},",":{"docs":{},"j":{"docs":{},",":{"docs":{},"q":{"docs":{},",":{"docs":{},"k":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}},"g":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}}},"w":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"s":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"o":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"j":{"docs":{},"u":{"docs":{},"l":{"docs":{},"i":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}}}}}}},"o":{"docs":{},"m":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0728476821192053}},"(":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.023178807947019868}}}}}}},"s":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}},"数":{"docs":{},"组":{"docs":{},"的":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"类":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"很":{"docs":{},"简":{"docs":{},"单":{"docs":{},"的":{"docs":{},"类":{"docs":{},",":{"docs":{},"它":{"docs":{},"只":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"属":{"docs":{},"性":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"设":{"docs":{},"定":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"被":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}},"w":{"0":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"1":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.04945054945054945}},"和":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{},"下":{"docs":{},"标":{"docs":{},"的":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}},"的":{"docs":{},"数":{"docs":{},"量":{"docs":{},"来":{"docs":{},"构":{"docs":{},"造":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}},"h":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.020089285714285716}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}},"n":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.04736842105263158}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"i":{"docs":{},"s":{"docs":{},"e":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}}},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}}},"s":{"1":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.009735744089012517},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.034210526315789476}}},"2":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.013908205841446454},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.034210526315789476}},")":{"docs":{},",":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}},"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":10.4},"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":10.404761904761905},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":10.00587544065805},"chapter1/chapter1.html#gitbook_38":{"ref":"chapter1/chapter1.html#gitbook_38","tf":10.75},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.06451612903225806},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.031067961165048542},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.008344923504867872},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.034210526315789476},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.03125},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174},"chapter2/chapter2.html#gitbook_76":{"ref":"chapter2/chapter2.html#gitbook_76","tf":10.666666666666666},"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.08333333333333333}},"中":{"docs":{},",":{"docs":{},"类":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"和":{"docs":{},"访":{"docs":{},"问":{"docs":{},"超":{"docs":{},"类":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"可":{"docs":{},"以":{"docs":{},"重":{"docs":{},"写":{"docs":{},"(":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},")":{"docs":{},"这":{"docs":{},"些":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"来":{"docs":{},"优":{"docs":{},"化":{"docs":{},"或":{"docs":{},"修":{"docs":{},"改":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"行":{"docs":{},"为":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"枚":{"docs":{},"举":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"一":{"docs":{},"等":{"docs":{},"(":{"docs":{},"f":{"docs":{},"i":{"docs":{},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},")":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"它":{"docs":{},"们":{"docs":{},"采":{"docs":{},"用":{"docs":{},"了":{"docs":{},"很":{"docs":{},"多":{"docs":{},"传":{"docs":{},"统":{"docs":{},"上":{"docs":{},"只":{"docs":{},"被":{"docs":{},"类":{"docs":{},"(":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},")":{"docs":{},"所":{"docs":{},"支":{"docs":{},"持":{"docs":{},"的":{"docs":{},"特":{"docs":{},"征":{"docs":{},",":{"docs":{},"例":{"docs":{},"如":{"docs":{},"计":{"docs":{},"算":{"docs":{},"型":{"docs":{},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"其":{"docs":{},"他":{"docs":{},"类":{"docs":{},"型":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"(":{"docs":{},"例":{"docs":{},"如":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"能":{"docs":{},"够":{"docs":{},"定":{"docs":{},"义":{"docs":{},"方":{"docs":{},"法":{"docs":{},";":{"docs":{},"事":{"docs":{},"实":{"docs":{},"上":{"docs":{},"这":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"与":{"docs":{},"c":{"docs":{},"/":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"的":{"docs":{},"主":{"docs":{},"要":{"docs":{},"区":{"docs":{},"别":{"docs":{},"之":{"docs":{},"一":{"docs":{},"。":{"docs":{},"在":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},",":{"docs":{},"类":{"docs":{},"是":{"docs":{},"唯":{"docs":{},"一":{"docs":{},"能":{"docs":{},"定":{"docs":{},"义":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"方":{"docs":{},"法":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"与":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"极":{"docs":{},"其":{"docs":{},"相":{"docs":{},"似":{"docs":{},"。":{"docs":{},"像":{"docs":{},"在":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"名":{"docs":{},"称":{"docs":{},"通":{"docs":{},"常":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"介":{"docs":{},"词":{"docs":{},"指":{"docs":{},"向":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"比":{"docs":{},"如":{"docs":{},":":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"h":{"docs":{},",":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},",":{"docs":{},"b":{"docs":{},"y":{"docs":{},"等":{"docs":{},"等":{"docs":{},"。":{"docs":{},"前":{"docs":{},"面":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"类":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"b":{"docs":{},"y":{"docs":{},"方":{"docs":{},"法":{"docs":{},"就":{"docs":{},"是":{"docs":{},"这":{"docs":{},"样":{"docs":{},"的":{"docs":{},"。":{"docs":{},"介":{"docs":{},"词":{"docs":{},"的":{"docs":{},"使":{"docs":{},"用":{"docs":{},"让":{"docs":{},"方":{"docs":{},"法":{"docs":{},"在":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},"能":{"docs":{},"像":{"docs":{},"一":{"docs":{},"个":{"docs":{},"句":{"docs":{},"子":{"docs":{},"一":{"docs":{},"样":{"docs":{},"被":{"docs":{},"解":{"docs":{},"读":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"的":{"docs":{},"下":{"docs":{},"标":{"docs":{},"实":{"docs":{},"现":{"docs":{},"中":{"docs":{},",":{"docs":{},"在":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"部":{"docs":{},"分":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"?":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},"不":{"docs":{},"是":{"docs":{},"每":{"docs":{},"个":{"docs":{},"字":{"docs":{},"典":{"docs":{},"的":{"docs":{},"索":{"docs":{},"引":{"docs":{},"都":{"docs":{},"能":{"docs":{},"得":{"docs":{},"到":{"docs":{},"一":{"docs":{},"个":{"docs":{},"整":{"docs":{},"型":{"docs":{},"值":{"docs":{},",":{"docs":{},"对":{"docs":{},"于":{"docs":{},"没":{"docs":{},"有":{"docs":{},"设":{"docs":{},"过":{"docs":{},"值":{"docs":{},"的":{"docs":{},"索":{"docs":{},"引":{"docs":{},"的":{"docs":{},"访":{"docs":{},"问":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"结":{"docs":{},"果":{"docs":{},"就":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},";":{"docs":{},"同":{"docs":{},"样":{"docs":{},"想":{"docs":{},"要":{"docs":{},"从":{"docs":{},"字":{"docs":{},"典":{"docs":{},"实":{"docs":{},"例":{"docs":{},"中":{"docs":{},"删":{"docs":{},"除":{"docs":{},"某":{"docs":{},"个":{"docs":{},"索":{"docs":{},"引":{"docs":{},"下":{"docs":{},"的":{"docs":{},"值":{"docs":{},"也":{"docs":{},"只":{"docs":{},"需":{"docs":{},"要":{"docs":{},"给":{"docs":{},"这":{"docs":{},"个":{"docs":{},"索":{"docs":{},"引":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"为":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"有":{"docs":{},"两":{"docs":{},"类":{"docs":{},"特":{"docs":{},"性":{"docs":{},",":{"docs":{},"用":{"docs":{},"于":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"声":{"docs":{},"明":{"docs":{},"的":{"docs":{},"以":{"docs":{},"及":{"docs":{},"用":{"docs":{},"于":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"。":{"docs":{},"例":{"docs":{},"如":{"docs":{},",":{"docs":{},"r":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"特":{"docs":{},"性":{"docs":{},",":{"docs":{},"当":{"docs":{},"应":{"docs":{},"用":{"docs":{},"于":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"的":{"docs":{},"指":{"docs":{},"定":{"docs":{},"或":{"docs":{},"便":{"docs":{},"利":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"声":{"docs":{},"明":{"docs":{},"时":{"docs":{},",":{"docs":{},"表":{"docs":{},"明":{"docs":{},"它":{"docs":{},"的":{"docs":{},"每":{"docs":{},"个":{"docs":{},"子":{"docs":{},"类":{"docs":{},"都":{"docs":{},"必":{"docs":{},"须":{"docs":{},"实":{"docs":{},"现":{"docs":{},"那":{"docs":{},"个":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"。":{"docs":{},"再":{"docs":{},"比":{"docs":{},"如":{"docs":{},"n":{"docs":{},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"这":{"docs":{},"个":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"详":{"docs":{},"情":{"docs":{},"参":{"docs":{},"见":{"docs":{},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"和":{"docs":{},"类":{"docs":{},"型":{"docs":{},"推":{"docs":{},"断":{"docs":{},"(":{"docs":{},"待":{"docs":{},"添":{"docs":{},"加":{"docs":{},"链":{"docs":{},"接":{"docs":{},")":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"没":{"docs":{},"有":{"docs":{},"给":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"插":{"docs":{},"值":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}},"统":{"docs":{},"一":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"语":{"docs":{},"法":{"docs":{},"足":{"docs":{},"够":{"docs":{},"灵":{"docs":{},"活":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"任":{"docs":{},"何":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"包":{"docs":{},"括":{"docs":{},"从":{"docs":{},"最":{"docs":{},"简":{"docs":{},"单":{"docs":{},"的":{"docs":{},"没":{"docs":{},"有":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"字":{"docs":{},"的":{"docs":{},"c":{"docs":{},"风":{"docs":{},"格":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"到":{"docs":{},"复":{"docs":{},"杂":{"docs":{},"的":{"docs":{},"带":{"docs":{},"局":{"docs":{},"部":{"docs":{},"和":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"的":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"自":{"docs":{},"动":{"docs":{},"为":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"存":{"docs":{},"储":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"值":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"需":{"docs":{},"要":{"docs":{},"的":{"docs":{},"话":{"docs":{},",":{"docs":{},"每":{"docs":{},"个":{"docs":{},"成":{"docs":{},"员":{"docs":{},"的":{"docs":{},"数":{"docs":{},"据":{"docs":{},"类":{"docs":{},"型":{"docs":{},"可":{"docs":{},"以":{"docs":{},"是":{"docs":{},"各":{"docs":{},"不":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"。":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"的":{"docs":{},"这":{"docs":{},"种":{"docs":{},"特":{"docs":{},"性":{"docs":{},"跟":{"docs":{},"其":{"docs":{},"他":{"docs":{},"语":{"docs":{},"言":{"docs":{},"中":{"docs":{},"的":{"docs":{},"可":{"docs":{},"辨":{"docs":{},"识":{"docs":{},"联":{"docs":{},"合":{"docs":{},"(":{"docs":{},"d":{"docs":{},"i":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"字":{"docs":{},"典":{"docs":{},"(":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"链":{"docs":{},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},"的":{"docs":{},"消":{"docs":{},"息":{"docs":{},"为":{"docs":{},"空":{"docs":{},"有":{"docs":{},"些":{"docs":{},"相":{"docs":{},"像":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"测":{"docs":{},"器":{"docs":{},"能":{"docs":{},"够":{"docs":{},"演":{"docs":{},"绎":{"docs":{},"出":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"添":{"docs":{},"加":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"名":{"docs":{},"为":{"docs":{},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}},"内":{"docs":{},"建":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"添":{"docs":{},"加":{"docs":{},"了":{"5":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"docs":{}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"已":{"docs":{},"经":{"docs":{},"提":{"docs":{},"供":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"属":{"docs":{},"性":{"docs":{},"和":{"docs":{},"通":{"docs":{},"过":{"docs":{},"下":{"docs":{},"标":{"docs":{},"来":{"docs":{},"查":{"docs":{},"找":{"docs":{},"一":{"docs":{},"个":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"元":{"docs":{},"素":{"docs":{},"。":{"docs":{},"这":{"docs":{},"三":{"docs":{},"个":{"docs":{},"功":{"docs":{},"能":{"docs":{},"都":{"docs":{},"达":{"docs":{},"到":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"要":{"docs":{},"求":{"docs":{},"。":{"docs":{},"也":{"docs":{},"就":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"去":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"只":{"docs":{},"要":{"docs":{},"通":{"docs":{},"过":{"docs":{},"简":{"docs":{},"单":{"docs":{},"声":{"docs":{},"明":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"适":{"docs":{},"用":{"docs":{},"于":{"docs":{},"该":{"docs":{},"协":{"docs":{},"议":{"docs":{},"而":{"docs":{},"已":{"docs":{},"。":{"docs":{},"如":{"docs":{},"何":{"docs":{},"实":{"docs":{},"践":{"docs":{},"这":{"docs":{},"样":{"docs":{},"一":{"docs":{},"个":{"docs":{},"空":{"docs":{},"扩":{"docs":{},"展":{"docs":{},",":{"docs":{},"在":{"docs":{},"[":{"docs":{},"d":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"对":{"docs":{},"作":{"docs":{},"用":{"docs":{},"于":{"docs":{},"其":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"s":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"做":{"docs":{},"了":{"docs":{},"些":{"docs":{},"限":{"docs":{},"制":{"docs":{},"。":{"docs":{},"在":{"docs":{},"[":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{},"e":{"docs":{},"s":{"docs":{},"]":{"docs":{},"[":{"5":{"docs":{},"]":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},"中":{"docs":{},",":{"docs":{},"字":{"docs":{},"典":{"docs":{},"的":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"s":{"docs":{},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},",":{"docs":{},"必":{"docs":{},"须":{"docs":{},"有":{"docs":{},"一":{"docs":{},"种":{"docs":{},"方":{"docs":{},"法":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"其":{"docs":{},"是":{"docs":{},"唯":{"docs":{},"一":{"docs":{},"的":{"docs":{},"表":{"docs":{},"示":{"docs":{},"。":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"之":{"docs":{},"所":{"docs":{},"以":{"docs":{},"需":{"docs":{},"要":{"docs":{},"其":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"s":{"docs":{},"是":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"是":{"docs":{},"为":{"docs":{},"了":{"docs":{},"以":{"docs":{},"便":{"docs":{},"于":{"docs":{},"其":{"docs":{},"检":{"docs":{},"查":{"docs":{},"其":{"docs":{},"是":{"docs":{},"否":{"docs":{},"包":{"docs":{},"含":{"docs":{},"某":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"如":{"docs":{},"无":{"docs":{},"此":{"docs":{},"需":{"docs":{},"求":{"docs":{},",":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"即":{"docs":{},"不":{"docs":{},"会":{"docs":{},"告":{"docs":{},"诉":{"docs":{},"是":{"docs":{},"否":{"docs":{},"插":{"docs":{},"入":{"docs":{},"或":{"docs":{},"者":{"docs":{},"替":{"docs":{},"换":{"docs":{},"了":{"docs":{},"某":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"也":{"docs":{},"不":{"docs":{},"能":{"docs":{},"查":{"docs":{},"找":{"docs":{},"到":{"docs":{},"已":{"docs":{},"经":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"字":{"docs":{},"典":{"docs":{},"里":{"docs":{},"面":{"docs":{},"的":{"docs":{},"给":{"docs":{},"定":{"docs":{},"k":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"也":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"方":{"docs":{},"便":{"docs":{},"对":{"docs":{},"变":{"docs":{},"量":{"docs":{},"本":{"docs":{},"身":{"docs":{},"加":{"1":{"docs":{},"或":{"docs":{},"减":{"1":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}}}},"docs":{}}}}}}}}}}}}},"支":{"docs":{},"持":{"docs":{},"基":{"docs":{},"于":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}},"大":{"docs":{},"部":{"docs":{},"分":{"docs":{},"标":{"docs":{},"准":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}}}},"会":{"docs":{},"自":{"docs":{},"动":{"docs":{},"释":{"docs":{},"放":{"docs":{},"不":{"docs":{},"再":{"docs":{},"需":{"docs":{},"要":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"以":{"docs":{},"释":{"docs":{},"放":{"docs":{},"资":{"docs":{},"源":{"docs":{},"。":{"docs":{},"如":{"docs":{},"自":{"docs":{},"动":{"docs":{},"引":{"docs":{},"用":{"docs":{},"计":{"docs":{},"数":{"docs":{},"那":{"docs":{},"一":{"docs":{},"章":{"docs":{},"描":{"docs":{},"述":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"通":{"docs":{},"过":{"docs":{},"自":{"docs":{},"动":{"docs":{},"引":{"docs":{},"用":{"docs":{},"计":{"docs":{},"数":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"使":{"docs":{},"用":{"docs":{},"自":{"docs":{},"动":{"docs":{},"引":{"docs":{},"用":{"docs":{},"计":{"docs":{},"数":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},")":{"docs":{},"这":{"docs":{},"一":{"docs":{},"机":{"docs":{},"制":{"docs":{},"来":{"docs":{},"跟":{"docs":{},"踪":{"docs":{},"和":{"docs":{},"管":{"docs":{},"理":{"docs":{},"你":{"docs":{},"的":{"docs":{},"应":{"docs":{},"用":{"docs":{},"程":{"docs":{},"序":{"docs":{},"的":{"docs":{},"内":{"docs":{},"存":{"docs":{},"。":{"docs":{},"通":{"docs":{},"常":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"内":{"docs":{},"存":{"docs":{},"管":{"docs":{},"理":{"docs":{},"机":{"docs":{},"制":{"docs":{},"会":{"docs":{},"一":{"docs":{},"直":{"docs":{},"起":{"docs":{},"着":{"docs":{},"作":{"docs":{},"用":{"docs":{},",":{"docs":{},"你":{"docs":{},"无":{"docs":{},"须":{"docs":{},"自":{"docs":{},"己":{"docs":{},"来":{"docs":{},"考":{"docs":{},"虑":{"docs":{},"内":{"docs":{},"存":{"docs":{},"的":{"docs":{},"管":{"docs":{},"理":{"docs":{},"。":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_65","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"链":{"docs":{},"接":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"?":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"存":{"docs":{},"在":{"docs":{},"则":{"docs":{},"取":{"docs":{},"回":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"内":{"docs":{},"建":{"docs":{},"类":{"docs":{},"型":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"添":{"docs":{},"加":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"整":{"docs":{},"型":{"docs":{},"下":{"docs":{},"标":{"docs":{},"。":{"docs":{},"该":{"docs":{},"下":{"docs":{},"标":{"docs":{},"[":{"docs":{},"n":{"docs":{},"]":{"docs":{},"返":{"docs":{},"回":{"docs":{},"十":{"docs":{},"进":{"docs":{},"制":{"docs":{},"数":{"docs":{},"字":{"docs":{},"从":{"docs":{},"右":{"docs":{},"向":{"docs":{},"左":{"docs":{},"数":{"docs":{},"的":{"docs":{},"第":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"允":{"docs":{},"许":{"docs":{},"你":{"docs":{},"定":{"docs":{},"义":{"docs":{},"你":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"自":{"docs":{},"定":{"docs":{},"义":{"docs":{},"类":{"docs":{},"、":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"作":{"docs":{},"用":{"docs":{},"于":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"如":{"docs":{},"同":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"字":{"docs":{},"典":{"docs":{},"(":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},")":{"docs":{},"类":{"docs":{},"型":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},",":{"docs":{},"另":{"docs":{},"外":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"值":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"自":{"docs":{},"己":{"docs":{},"写":{"docs":{},"字":{"docs":{},"典":{"docs":{},",":{"docs":{},"你":{"docs":{},"或":{"docs":{},"许":{"docs":{},"会":{"docs":{},"定":{"docs":{},"义":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"为":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"和":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"中":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"该":{"docs":{},"协":{"docs":{},"议":{"docs":{},"要":{"docs":{},"求":{"docs":{},"任":{"docs":{},"何":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"实":{"docs":{},"现":{"docs":{},"等":{"docs":{},"式":{"docs":{},"符":{"docs":{},"(":{"docs":{},"=":{"docs":{},"=":{"docs":{},")":{"docs":{},"和":{"docs":{},"不":{"docs":{},"等":{"docs":{},"符":{"docs":{},"(":{"docs":{},"!":{"docs":{},"=":{"docs":{},")":{"docs":{},"对":{"docs":{},"任":{"docs":{},"何":{"docs":{},"两":{"docs":{},"个":{"docs":{},"该":{"docs":{},"类":{"docs":{},"型":{"docs":{},"进":{"docs":{},"行":{"docs":{},"比":{"docs":{},"较":{"docs":{},"。":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"类":{"docs":{},"型":{"docs":{},"自":{"docs":{},"动":{"docs":{},"支":{"docs":{},"持":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"考":{"docs":{},",":{"docs":{},"你":{"docs":{},"不":{"docs":{},"用":{"docs":{},"在":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"定":{"docs":{},"义":{"docs":{},"部":{"docs":{},"分":{"docs":{},"声":{"docs":{},"明":{"docs":{},"一":{"docs":{},"个":{"docs":{},"具":{"docs":{},"体":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"。":{"docs":{},"由":{"docs":{},"于":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"要":{"docs":{},"求":{"docs":{},",":{"docs":{},"只":{"docs":{},"要":{"docs":{},"通":{"docs":{},"过":{"docs":{},"简":{"docs":{},"单":{"docs":{},"的":{"docs":{},"查":{"docs":{},"找":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"参":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"就":{"docs":{},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"需":{"docs":{},"要":{"docs":{},"强":{"docs":{},"大":{"docs":{},"特":{"docs":{},"征":{"docs":{},"中":{"docs":{},"的":{"docs":{},"其":{"docs":{},"中":{"docs":{},"一":{"docs":{},"个":{"docs":{},",":{"docs":{},"许":{"docs":{},"多":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"代":{"docs":{},"码":{"docs":{},"构":{"docs":{},"建":{"docs":{},"出":{"docs":{},"来":{"docs":{},"的":{"docs":{},"。":{"docs":{},"事":{"docs":{},"实":{"docs":{},"上":{"docs":{},",":{"docs":{},"你":{"docs":{},"已":{"docs":{},"经":{"docs":{},"使":{"docs":{},"用":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"贯":{"docs":{},"穿":{"docs":{},"着":{"docs":{},"整":{"docs":{},"个":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"言":{"docs":{},"相":{"docs":{},"对":{"docs":{},"小":{"docs":{},"点":{"docs":{},",":{"docs":{},"这":{"docs":{},"是":{"docs":{},"由":{"docs":{},"于":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"代":{"docs":{},"码":{"docs":{},"中":{"docs":{},"几":{"docs":{},"乎":{"docs":{},"无":{"docs":{},"处":{"docs":{},"不":{"docs":{},"在":{"docs":{},"的":{"docs":{},"许":{"docs":{},"多":{"docs":{},"常":{"docs":{},"见":{"docs":{},"的":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"以":{"docs":{},"及":{"docs":{},"运":{"docs":{},"算":{"docs":{},"符":{"docs":{},"都":{"docs":{},"由":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"来":{"docs":{},"定":{"docs":{},"义":{"docs":{},"。":{"docs":{},"虽":{"docs":{},"然":{"docs":{},"这":{"docs":{},"些":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"和":{"docs":{},"运":{"docs":{},"算":{"docs":{},"符":{"docs":{},"不":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.041666666666666664}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.025735294117647058},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.006324110671936759},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},"中":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"到":{"docs":{},"的":{"docs":{},"子":{"docs":{},"句":{"docs":{},"之":{"docs":{},"后":{"docs":{},",":{"docs":{},"程":{"docs":{},"序":{"docs":{},"会":{"docs":{},"退":{"docs":{},"出":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"语":{"docs":{},"句":{"docs":{},",":{"docs":{},"并":{"docs":{},"不":{"docs":{},"会":{"docs":{},"继":{"docs":{},"续":{"docs":{},"向":{"docs":{},"下":{"docs":{},"运":{"docs":{},"行":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"每":{"docs":{},"个":{"docs":{},"子":{"docs":{},"句":{"docs":{},"结":{"docs":{},"尾":{"docs":{},"写":{"docs":{},"b":{"docs":{},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"句":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"值":{"docs":{},"实":{"docs":{},"例":{"docs":{},"值":{"docs":{},"(":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"o":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":3.333333333333333}}}}}}}}}}}}}}}}},"来":{"docs":{},"检":{"docs":{},"查":{"docs":{},",":{"docs":{},"然":{"docs":{},"而":{"docs":{},"这":{"docs":{},"次":{"docs":{},"实":{"docs":{},"例":{"docs":{},"值":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"提":{"docs":{},"取":{"docs":{},"作":{"docs":{},"为":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"语":{"docs":{},"句":{"docs":{},"的":{"docs":{},"一":{"docs":{},"部":{"docs":{},"分":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"的":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"分":{"docs":{},"支":{"docs":{},"代":{"docs":{},"码":{"docs":{},"中":{"docs":{},"提":{"docs":{},"取":{"docs":{},"每":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"值":{"docs":{},"作":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"常":{"docs":{},"量":{"docs":{},"(":{"docs":{},"用":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"前":{"docs":{},"缀":{"docs":{},")":{"docs":{},"或":{"docs":{},"者":{"docs":{},"作":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"变":{"docs":{},"量":{"docs":{},"(":{"docs":{},"用":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"强":{"docs":{},"制":{"docs":{},"形":{"docs":{},"式":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"查":{"docs":{},"操":{"docs":{},"作":{"docs":{},"符":{"docs":{},"(":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}},"a":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"s":{"docs":{},"(":{"docs":{},"&":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}},"函":{"docs":{},"数":{"docs":{},"仅":{"docs":{},"仅":{"docs":{},"交":{"docs":{},"换":{"docs":{},"a":{"docs":{},"与":{"docs":{},"b":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"该":{"docs":{},"函":{"docs":{},"数":{"docs":{},"先":{"docs":{},"将":{"docs":{},"a":{"docs":{},"的":{"docs":{},"值":{"docs":{},"存":{"docs":{},"到":{"docs":{},"一":{"docs":{},"个":{"docs":{},"暂":{"docs":{},"时":{"docs":{},"常":{"docs":{},"量":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"a":{"docs":{},"中":{"docs":{},",":{"docs":{},"然":{"docs":{},"后":{"docs":{},"将":{"docs":{},"b":{"docs":{},"的":{"docs":{},"值":{"docs":{},"赋":{"docs":{},"给":{"docs":{},"a":{"docs":{},",":{"docs":{},"最":{"docs":{},"后":{"docs":{},"将":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"a":{"docs":{},"幅":{"docs":{},"值":{"docs":{},"给":{"docs":{},"b":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"并":{"docs":{},"没":{"docs":{},"有":{"docs":{},"定":{"docs":{},"义":{"docs":{},"任":{"docs":{},"何":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},",":{"docs":{},"但":{"docs":{},"仍":{"docs":{},"然":{"docs":{},"修":{"docs":{},"改":{"docs":{},"了":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"分":{"docs":{},"别":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"交":{"docs":{},"换":{"docs":{},"b":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"到":{"docs":{},"a":{"docs":{},",":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"交":{"docs":{},"换":{"docs":{},"a":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"到":{"docs":{},"b":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"交":{"docs":{},"换":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"非":{"docs":{},"常":{"docs":{},"有":{"docs":{},"用":{"docs":{},"的":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"它":{"docs":{},"只":{"docs":{},"能":{"docs":{},"交":{"docs":{},"换":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"想":{"docs":{},"要":{"docs":{},"交":{"docs":{},"换":{"docs":{},"两":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"或":{"docs":{},"者":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"交":{"docs":{},"换":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"s":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"和":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"函":{"docs":{},"数":{"docs":{},"主":{"docs":{},"题":{"docs":{},"都":{"docs":{},"是":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},",":{"docs":{},"唯":{"docs":{},"一":{"docs":{},"不":{"docs":{},"同":{"docs":{},"之":{"docs":{},"处":{"docs":{},"就":{"docs":{},"在":{"docs":{},"于":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"不":{"docs":{},"同":{"docs":{},",":{"docs":{},"分":{"docs":{},"别":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"、":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"和":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"&":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}},"<":{"docs":{},"t":{"docs":{},">":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}}},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{},"是":{"docs":{},"一":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"的":{"docs":{},"示":{"docs":{},"例":{"docs":{},"。":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"指":{"docs":{},"定":{"docs":{},"并":{"docs":{},"命":{"docs":{},"名":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"紧":{"docs":{},"随":{"docs":{},"在":{"docs":{},"函":{"docs":{},"数":{"docs":{},"名":{"docs":{},"后":{"docs":{},"面":{"docs":{},",":{"docs":{},"并":{"docs":{},"用":{"docs":{},"一":{"docs":{},"对":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"括":{"docs":{},"起":{"docs":{},"来":{"docs":{},"(":{"docs":{},"如":{"docs":{},"<":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"中":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},")":{"docs":{},",":{"docs":{},"或":{"docs":{},"作":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"或":{"docs":{},"用":{"docs":{},"作":{"docs":{},"函":{"docs":{},"数":{"docs":{},"主":{"docs":{},"体":{"docs":{},"中":{"docs":{},"的":{"docs":{},"注":{"docs":{},"释":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},",":{"docs":{},"被":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"所":{"docs":{},"代":{"docs":{},"表":{"docs":{},"的":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"不":{"docs":{},"管":{"docs":{},"函":{"docs":{},"数":{"docs":{},"任":{"docs":{},"何":{"docs":{},"时":{"docs":{},"候":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"都":{"docs":{},"会":{"docs":{},"被":{"docs":{},"实":{"docs":{},"际":{"docs":{},"类":{"docs":{},"型":{"docs":{},"所":{"docs":{},"替":{"docs":{},"换":{"docs":{},"(":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"当":{"docs":{},"函":{"docs":{},"数":{"docs":{},"第":{"docs":{},"一":{"docs":{},"次":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"t":{"docs":{},"被":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"替":{"docs":{},"换":{"docs":{},",":{"docs":{},"第":{"docs":{},"二":{"docs":{},"次":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"被":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"主":{"docs":{},"体":{"docs":{},"和":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"是":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"而":{"docs":{},"且":{"docs":{},",":{"docs":{},"只":{"docs":{},"在":{"docs":{},"第":{"docs":{},"一":{"docs":{},"行":{"docs":{},"稍":{"docs":{},"微":{"docs":{},"有":{"docs":{},"那":{"docs":{},"么":{"docs":{},"一":{"docs":{},"点":{"docs":{},"点":{"docs":{},"不":{"docs":{},"同":{"docs":{},"于":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"除":{"docs":{},"了":{"docs":{},"只":{"docs":{},"要":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"两":{"docs":{},"个":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"值":{"docs":{},"是":{"docs":{},"同":{"docs":{},"一":{"docs":{},"类":{"docs":{},"型":{"docs":{},"外":{"docs":{},",":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"作":{"docs":{},"为":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"。":{"docs":{},"每":{"docs":{},"次":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"泛":{"docs":{},"型":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"或":{"docs":{},"一":{"docs":{},"个":{"docs":{},"存":{"docs":{},"储":{"docs":{},"单":{"docs":{},"一":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"集":{"docs":{},",":{"docs":{},"如":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},")":{"docs":{},",":{"docs":{},"通":{"docs":{},"常":{"docs":{},"用":{"docs":{},"一":{"docs":{},"单":{"docs":{},"个":{"docs":{},"字":{"docs":{},"母":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"w":{"docs":{},"i":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}},"m":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}},"y":{"docs":{},"g":{"docs":{},"o":{"docs":{},"o":{"docs":{},"d":{"docs":{},"b":{"docs":{},"y":{"docs":{},"e":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"d":{"docs":{},"a":{"docs":{},"v":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"依":{"docs":{},"然":{"docs":{},"返":{"docs":{},"回":{"docs":{},"了":{"docs":{},"值":{"docs":{},"。":{"docs":{},"没":{"docs":{},"有":{"docs":{},"定":{"docs":{},"义":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"会":{"docs":{},"返":{"docs":{},"回":{"docs":{},"特":{"docs":{},"殊":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"叫":{"docs":{},"v":{"docs":{},"o":{"docs":{},"i":{"docs":{},"d":{"docs":{},"。":{"docs":{},"它":{"docs":{},"其":{"docs":{},"实":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"空":{"docs":{},"的":{"docs":{},"元":{"docs":{},"组":{"docs":{},"(":{"docs":{},"t":{"docs":{},"u":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"(":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}},"a":{"docs":{},"g":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"(":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}},"。":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"展":{"docs":{},"示":{"docs":{},"的":{"docs":{},"是":{"docs":{},"用":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"a":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"和":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"b":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"时":{"docs":{},",":{"docs":{},"在":{"docs":{},"圆":{"docs":{},"括":{"docs":{},"号":{"docs":{},"中":{"docs":{},"传":{"docs":{},"给":{"docs":{},"它":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"实":{"docs":{},"参":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"s":{"docs":{},"a":{"docs":{},"y":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"包":{"docs":{},"含":{"docs":{},"在":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"另":{"docs":{},"一":{"docs":{},"个":{"docs":{},"版":{"docs":{},"本":{"docs":{},",":{"docs":{},"叫":{"docs":{},"w":{"docs":{},"a":{"docs":{},"v":{"docs":{},"e":{"docs":{},"g":{"docs":{},"o":{"docs":{},"o":{"docs":{},"d":{"docs":{},"b":{"docs":{},"y":{"docs":{},"e":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"直":{"docs":{},"接":{"docs":{},"输":{"docs":{},"出":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"体":{"docs":{},"中":{"docs":{},",":{"docs":{},"先":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"名":{"docs":{},"为":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"常":{"docs":{},"量":{"docs":{},",":{"docs":{},"同":{"docs":{},"时":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"了":{"docs":{},"给":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"简":{"docs":{},"单":{"docs":{},"问":{"docs":{},"候":{"docs":{},"消":{"docs":{},"息":{"docs":{},"。":{"docs":{},"然":{"docs":{},"后":{"docs":{},"用":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"把":{"docs":{},"这":{"docs":{},"个":{"docs":{},"问":{"docs":{},"候":{"docs":{},"返":{"docs":{},"回":{"docs":{},"出":{"docs":{},"去":{"docs":{},"。":{"docs":{},"一":{"docs":{},"旦":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"f":{"docs":{},"e":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}}}},"p":{"docs":{},"e":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}},"t":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":1.6724919093851132}}}}}},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.027184466019417475},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},".":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"p":{"docs":{},"r":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.056910569105691054}},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"o":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}}}}}}}}}}}}},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"l":{"docs":{},"f":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.8918424451140766},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.02586206896551724}},".":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}},"l":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"(":{"docs":{},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}}}},"被":{"docs":{},"用":{"docs":{},"来":{"docs":{},"区":{"docs":{},"别":{"docs":{},"实":{"docs":{},"例":{"docs":{},"变":{"docs":{},"量":{"docs":{},"。":{"docs":{},"当":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},",":{"docs":{},"像":{"docs":{},"传":{"docs":{},"入":{"docs":{},"函":{"docs":{},"数":{"docs":{},"参":{"docs":{},"数":{"docs":{},"一":{"docs":{},"样":{"docs":{},"给":{"docs":{},"类":{"docs":{},"传":{"docs":{},"入":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"。":{"docs":{},"每":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"都":{"docs":{},"需":{"docs":{},"要":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"—":{"docs":{},"—":{"docs":{},"无":{"docs":{},"论":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"声":{"docs":{},"明":{"docs":{},"(":{"docs":{},"就":{"docs":{},"像":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},")":{"docs":{},"还":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"(":{"docs":{},"就":{"docs":{},"像":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"。":{"docs":{},"不":{"docs":{},"论":{"docs":{},"何":{"docs":{},"时":{"docs":{},",":{"docs":{},"在":{"docs":{},"一":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"已":{"docs":{},"知":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"或":{"docs":{},"者":{"docs":{},"方":{"docs":{},"法":{"docs":{},"名":{"docs":{},"称":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"没":{"docs":{},"有":{"docs":{},"明":{"docs":{},"确":{"docs":{},"的":{"docs":{},"写":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"假":{"docs":{},"定":{"docs":{},"你":{"docs":{},"是":{"docs":{},"指":{"docs":{},"当":{"docs":{},"前":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"或":{"docs":{},"者":{"docs":{},"方":{"docs":{},"法":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"假":{"docs":{},"定":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"已":{"docs":{},"经":{"docs":{},"示":{"docs":{},"范":{"docs":{},"了":{"docs":{},":":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"三":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"都":{"docs":{},"使":{"docs":{},"用":{"docs":{},"的":{"docs":{},"是":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"(":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"一":{"docs":{},"个":{"docs":{},"全":{"docs":{},"新":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"上":{"docs":{},"面":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}},"前":{"docs":{},"缀":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"就":{"docs":{},"认":{"docs":{},"为":{"docs":{},"两":{"docs":{},"次":{"docs":{},"使":{"docs":{},"用":{"docs":{},"的":{"docs":{},"x":{"docs":{},"都":{"docs":{},"指":{"docs":{},"的":{"docs":{},"是":{"docs":{},"名":{"docs":{},"称":{"docs":{},"为":{"docs":{},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}},"消":{"docs":{},"除":{"docs":{},"方":{"docs":{},"法":{"docs":{},"参":{"docs":{},"数":{"docs":{},"x":{"docs":{},"和":{"docs":{},"实":{"docs":{},"例":{"docs":{},"属":{"docs":{},"性":{"docs":{},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}},"赋":{"docs":{},"值":{"docs":{},"(":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"完":{"docs":{},"全":{"docs":{},"等":{"docs":{},"同":{"docs":{},"于":{"docs":{},"这":{"docs":{},"个":{"docs":{},"实":{"docs":{},"力":{"docs":{},"变":{"docs":{},"量":{"docs":{},"本":{"docs":{},"身":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"一":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"这":{"docs":{},"个":{"docs":{},"隐":{"docs":{},"含":{"docs":{},"的":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"或":{"docs":{},"其":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"必":{"docs":{},"须":{"docs":{},"将":{"docs":{},"该":{"docs":{},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"标":{"docs":{},"注":{"docs":{},"为":{"docs":{},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}},"q":{"docs":{},"u":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}},"r":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}},"e":{"docs":{},".":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"(":{"docs":{},"\"":{"6":{"docs":{},":":{"0":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{}}},"docs":{}}}}}}}}}},"和":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}}}}}}}}}}}}}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"你":{"docs":{},"也":{"docs":{},"一":{"docs":{},"定":{"docs":{},"要":{"docs":{},"提":{"docs":{},"供":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"不":{"docs":{},"想":{"docs":{},"在":{"docs":{},"重":{"docs":{},"写":{"docs":{},"版":{"docs":{},"本":{"docs":{},"中":{"docs":{},"的":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"里":{"docs":{},"修":{"docs":{},"改":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"直":{"docs":{},"接":{"docs":{},"返":{"docs":{},"回":{"docs":{},"s":{"docs":{},"u":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"来":{"docs":{},"返":{"docs":{},"回":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"正":{"docs":{},"如":{"docs":{},"下":{"docs":{},"面":{"docs":{},"的":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"i":{"docs":{},"m":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"与":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"副":{"docs":{},"本":{"docs":{},"合":{"docs":{},"成":{"docs":{},",":{"docs":{},"由":{"docs":{},"c":{"docs":{},"o":{"docs":{},"p":{"docs":{},"y":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"h":{"docs":{},"z":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"方":{"docs":{},"法":{"docs":{},"返":{"docs":{},"回":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"属":{"docs":{},"性":{"docs":{},"本":{"docs":{},"身":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"该":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"需":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"n":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.08333333333333333}},"e":{"docs":{},"­":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.08333333333333333}}}}}}}}}}}}}}}},"(":{"docs":{},"n":{"docs":{},"e":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"h":{"docs":{},"a":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.007050528789659225}},".":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"类":{"docs":{},"缺":{"docs":{},"少":{"docs":{},"了":{"docs":{},"一":{"docs":{},"些":{"docs":{},"重":{"docs":{},"要":{"docs":{},"的":{"docs":{},"东":{"docs":{},"西":{"docs":{},":":{"docs":{},"一":{"docs":{},"个":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},"来":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"类":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"p":{"docs":{},"p":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"[":{"1":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}}}}}}}}}}},"u":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}},"r":{"docs":{},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.012925969447708578}}}}}}}}}},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.01527614571092832}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"e":{"docs":{},"时":{"docs":{},"候":{"docs":{},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"用":{"docs":{},"来":{"docs":{},"标":{"docs":{},"记":{"docs":{},"一":{"docs":{},"个":{"docs":{},"会":{"docs":{},"修":{"docs":{},"改":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"。":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"i":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}},"x":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}},"z":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.028735632183908046}},"(":{"docs":{},"w":{"docs":{},"i":{"docs":{},"d":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}}},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}},"w":{"docs":{},"i":{"docs":{},"d":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"(":{"1":{"0":{"0":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{}},"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},".":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"中":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"。":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"参":{"docs":{},"数":{"docs":{},"是":{"docs":{},"类":{"docs":{},"型":{"docs":{},"c":{"1":{"docs":{},",":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"参":{"docs":{},"数":{"docs":{},"是":{"docs":{},"类":{"docs":{},"型":{"docs":{},"c":{"2":{"docs":{},"。":{"docs":{},"c":{"1":{"docs":{},"和":{"docs":{},"c":{"2":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}}}},"docs":{}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}},"包":{"docs":{},"含":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"1":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}}}}}},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{},"的":{"docs":{},"重":{"docs":{},"写":{"docs":{},"实":{"docs":{},"现":{"docs":{},"中":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"s":{"docs":{},"u":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{},"(":{"docs":{},")":{"docs":{},"来":{"docs":{},"调":{"docs":{},"用":{"docs":{},"超":{"docs":{},"类":{"docs":{},"版":{"docs":{},"本":{"docs":{},"的":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"的":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"或":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"重":{"docs":{},"写":{"docs":{},"实":{"docs":{},"现":{"docs":{},"中":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"s":{"docs":{},"u":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"来":{"docs":{},"访":{"docs":{},"问":{"docs":{},"超":{"docs":{},"类":{"docs":{},"版":{"docs":{},"本":{"docs":{},"的":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},">":{"docs":{},"(":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.01838235294117647}}}}}}},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}},".":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"x":{"docs":{},"(":{"1":{"docs":{},".":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"b":{"docs":{},"y":{"docs":{},"x":{"docs":{},"(":{"2":{"docs":{},".":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"docs":{}}},"docs":{}}}}}}}}},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}},"s":{"docs":{},"u":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}}}}}}}},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}},"e":{"docs":{},"(":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"(":{"docs":{},"e":{"docs":{},"x":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"p":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"a":{"docs":{},"k":{"docs":{},"e":{"docs":{},"s":{"docs":{},"a":{"docs":{},"c":{"docs":{},"l":{"docs":{},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}},"e":{"docs":{},"(":{"docs":{},"c":{"docs":{},"l":{"docs":{},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}}}}}}}}}}}}}}},"<":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.007473841554559043}},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}},".":{"docs":{},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}},"e":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"[":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"[":{"docs":{},"k":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"u":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"r":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":3.359649122807017}},"(":{"docs":{},"[":{"1":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.021052631578947368}}}}}}}},"u":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"t":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}}}}},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.02766798418972332}},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}},".":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695}},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"计":{"docs":{},"算":{"docs":{},"数":{"docs":{},"组":{"docs":{},"l":{"docs":{},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}},"检":{"docs":{},"查":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"是":{"docs":{},"否":{"docs":{},"为":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"在":{"docs":{},"循":{"docs":{},"环":{"docs":{},"末":{"docs":{},"尾":{"docs":{},",":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}}}},"r":{"docs":{},"k":{"docs":{},"l":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}}}}}},"c":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"d":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.016597510373443983}},"l":{"docs":{},"i":{"docs":{},"m":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987}},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},"属":{"docs":{},"性":{"docs":{},"时":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"实":{"docs":{},"现":{"docs":{},"会":{"docs":{},"去":{"docs":{},"检":{"docs":{},"查":{"docs":{},"新":{"docs":{},"值":{"docs":{},"与":{"docs":{},"限":{"docs":{},"制":{"docs":{},"值":{"4":{"0":{"docs":{},"m":{"docs":{},"p":{"docs":{},"h":{"docs":{},"的":{"docs":{},"大":{"docs":{},"小":{"docs":{},",":{"docs":{},"它":{"docs":{},"会":{"docs":{},"将":{"docs":{},"超":{"docs":{},"类":{"docs":{},"的":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"n":{"docs":{},"e":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"和":{"4":{"0":{"docs":{},".":{"0":{"docs":{},"中":{"docs":{},"较":{"docs":{},"小":{"docs":{},"的":{"docs":{},"那":{"docs":{},"个":{"docs":{},"。":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"值":{"docs":{},"哪":{"docs":{},"个":{"docs":{},"较":{"docs":{},"小":{"docs":{},"由":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"函":{"docs":{},"数":{"docs":{},"决":{"docs":{},"定":{"docs":{},",":{"docs":{},"它":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"中":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"全":{"docs":{},"局":{"docs":{},"函":{"docs":{},"数":{"docs":{},"。":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"大":{"docs":{},"于":{"4":{"0":{"docs":{},"m":{"docs":{},"p":{"docs":{},"h":{"docs":{},"的":{"docs":{},"数":{"docs":{},",":{"docs":{},"然":{"docs":{},"后":{"docs":{},"打":{"docs":{},"印":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"输":{"docs":{},"出":{"docs":{},",":{"docs":{},"你":{"docs":{},"会":{"docs":{},"发":{"docs":{},"现":{"docs":{},"速":{"docs":{},"度":{"docs":{},"被":{"docs":{},"限":{"docs":{},"制":{"docs":{},"在":{"4":{"0":{"docs":{},"m":{"docs":{},"p":{"docs":{},"h":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"是":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"的":{"docs":{},"子":{"docs":{},"类":{"docs":{},"。":{"docs":{},"类":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"i":{"docs":{},"m":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"表":{"docs":{},"示":{"docs":{},"安":{"docs":{},"装":{"docs":{},"了":{"docs":{},"限":{"docs":{},"速":{"docs":{},"装":{"docs":{},"置":{"docs":{},"的":{"docs":{},"车":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"最":{"docs":{},"高":{"docs":{},"速":{"docs":{},"度":{"docs":{},"只":{"docs":{},"能":{"docs":{},"达":{"docs":{},"到":{"4":{"0":{"docs":{},"m":{"docs":{},"p":{"docs":{},"h":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"重":{"docs":{},"写":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"f":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.011750881316098707},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"(":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}}}}}}}}}}}}},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}},"r":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.025089605734767026}},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}}}}},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}},"i":{"docs":{},"c":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.01775147928994083}}}}},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.007473841554559043}},"(":{"docs":{},"栈":{"docs":{},")":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"栈":{"docs":{},"是":{"docs":{},"一":{"docs":{},"系":{"docs":{},"列":{"docs":{},"值":{"docs":{},"域":{"docs":{},"的":{"docs":{},"集":{"docs":{},"合":{"docs":{},",":{"docs":{},"和":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"(":{"docs":{},"数":{"docs":{},"组":{"docs":{},")":{"docs":{},"相":{"docs":{},"似":{"docs":{},",":{"docs":{},"但":{"docs":{},"其":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"比":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"更":{"docs":{},"多":{"docs":{},"限":{"docs":{},"制":{"docs":{},"的":{"docs":{},"集":{"docs":{},"合":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"数":{"docs":{},"组":{"docs":{},"可":{"docs":{},"以":{"docs":{},"允":{"docs":{},"许":{"docs":{},"其":{"docs":{},"里":{"docs":{},"面":{"docs":{},"任":{"docs":{},"何":{"docs":{},"位":{"docs":{},"置":{"docs":{},"的":{"docs":{},"插":{"docs":{},"入":{"docs":{},"/":{"docs":{},"删":{"docs":{},"除":{"docs":{},"操":{"docs":{},"作":{"docs":{},",":{"docs":{},"而":{"docs":{},"栈":{"docs":{},",":{"docs":{},"只":{"docs":{},"允":{"docs":{},"许":{"docs":{},",":{"docs":{},"只":{"docs":{},"允":{"docs":{},"许":{"docs":{},"在":{"docs":{},"集":{"docs":{},"合":{"docs":{},"的":{"docs":{},"末":{"docs":{},"端":{"docs":{},"添":{"docs":{},"加":{"docs":{},"新":{"docs":{},"的":{"docs":{},"项":{"docs":{},"(":{"docs":{},"如":{"docs":{},"同":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"值":{"docs":{},"进":{"docs":{},"栈":{"docs":{},")":{"docs":{},"。":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"栈":{"docs":{},"也":{"docs":{},"只":{"docs":{},"能":{"docs":{},"从":{"docs":{},"末":{"docs":{},"端":{"docs":{},"移":{"docs":{},"除":{"docs":{},"项":{"docs":{},"(":{"docs":{},"如":{"docs":{},"同":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"<":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"s":{"docs":{},".":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"c":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"d":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}},"u":{"docs":{},"n":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}}}},"如":{"docs":{},"何":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}},"单":{"docs":{},"例":{"docs":{},"来":{"docs":{},"存":{"docs":{},"储":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},",":{"docs":{},"然":{"docs":{},"后":{"docs":{},"压":{"docs":{},"了":{"docs":{},"三":{"docs":{},"个":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"进":{"docs":{},"栈":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"也":{"docs":{},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"单":{"docs":{},"例":{"docs":{},",":{"docs":{},"并":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"包":{"docs":{},"含":{"docs":{},"三":{"docs":{},"个":{"docs":{},"同":{"docs":{},"栈":{"docs":{},"里":{"docs":{},"一":{"docs":{},"样":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"。":{"docs":{},"即":{"docs":{},"便":{"docs":{},"栈":{"docs":{},"和":{"docs":{},"数":{"docs":{},"组":{"docs":{},"否":{"docs":{},"是":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"但":{"docs":{},"他":{"docs":{},"们":{"docs":{},"都":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"而":{"docs":{},"且":{"docs":{},"他":{"docs":{},"们":{"docs":{},"都":{"docs":{},"包":{"docs":{},"含":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"值":{"docs":{},"。":{"docs":{},"你":{"docs":{},"因":{"docs":{},"此":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"a":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"用":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"作":{"docs":{},"为":{"docs":{},"它":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"a":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"函":{"docs":{},"数":{"docs":{},"正":{"docs":{},"确":{"docs":{},"的":{"docs":{},"显":{"docs":{},"示":{"docs":{},"了":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"同":{"docs":{},"创":{"docs":{},"建":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},"其":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"任":{"docs":{},"何":{"docs":{},"有":{"docs":{},"效":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"栈":{"docs":{},",":{"docs":{},"这":{"docs":{},"种":{"docs":{},"方":{"docs":{},"式":{"docs":{},"如":{"docs":{},"同":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"基":{"docs":{},"本":{"docs":{},"上":{"docs":{},"和":{"docs":{},"非":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"相":{"docs":{},"同":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"的":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"为":{"docs":{},"t":{"docs":{},"代":{"docs":{},"替":{"docs":{},"了":{"docs":{},"实":{"docs":{},"际":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"包":{"docs":{},"含":{"docs":{},"在":{"docs":{},"一":{"docs":{},"对":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"里":{"docs":{},"(":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"t":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"的":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"保":{"docs":{},"证":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"所":{"docs":{},"使":{"docs":{},"用":{"docs":{},"的":{"docs":{},"适":{"docs":{},"用":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"这":{"docs":{},"个":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"后":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"将":{"docs":{},"任":{"docs":{},"何":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"当":{"docs":{},"作":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.007766990291262136}}},"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0282021151586369},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.025089605734767026},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":1.7016181229773462},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.055632823365785816},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.07105263157894737},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.019867549668874173},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.011857707509881422},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01046337817638266}},"(":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}},")":{"docs":{},".":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}},"w":{"docs":{},"i":{"docs":{},"d":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},")":{"docs":{},".":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}},".":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}},"”":{"docs":{},"的":{"docs":{},"意":{"docs":{},"思":{"docs":{},"是":{"docs":{},"“":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"任":{"docs":{},"意":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}},"和":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"解":{"docs":{},"析":{"docs":{},"可":{"docs":{},"选":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"做":{"docs":{},"t":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"作":{"docs":{},"用":{"docs":{},"是":{"docs":{},"将":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},"。":{"docs":{},"然":{"docs":{},"而":{"docs":{},",":{"docs":{},"并":{"docs":{},"不":{"docs":{},"是":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"一":{"docs":{},"个":{"docs":{},"整":{"docs":{},"数":{"docs":{},"。":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"1":{"2":{"3":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"数":{"docs":{},"字":{"1":{"2":{"3":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"你":{"docs":{},"绝":{"docs":{},"对":{"docs":{},"不":{"docs":{},"可":{"docs":{},"能":{"docs":{},"不":{"docs":{},"小":{"docs":{},"心":{"docs":{},"传":{"docs":{},"进":{"docs":{},"去":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}},"名":{"docs":{},"字":{"docs":{},"为":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"安":{"docs":{},"全":{"docs":{},"会":{"docs":{},"阻":{"docs":{},"止":{"docs":{},"你":{"docs":{},"不":{"docs":{},"小":{"docs":{},"心":{"docs":{},"传":{"docs":{},"入":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{},"l":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"的":{"docs":{},"左":{"docs":{},"边":{"docs":{},",":{"docs":{},"以":{"docs":{},"右":{"docs":{},"对":{"docs":{},"齐":{"docs":{},"到":{"docs":{},"总":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"中":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"值":{"docs":{},"存":{"docs":{},"在":{"docs":{},"局":{"docs":{},"部":{"docs":{},"常":{"docs":{},"量":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},"中":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"然":{"docs":{},"后":{"docs":{},"将":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},"多":{"docs":{},"的":{"docs":{},"填":{"docs":{},"充":{"docs":{},"(":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},")":{"docs":{},"字":{"docs":{},"符":{"docs":{},"填":{"docs":{},"充":{"docs":{},"到":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"左":{"docs":{},"边":{"docs":{},",":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"结":{"docs":{},"果":{"docs":{},"。":{"docs":{},"它":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"?":{"docs":{},"。":{"docs":{},"如":{"docs":{},"上":{"docs":{},"所":{"docs":{},"述":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"在":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"调":{"docs":{},"用":{"docs":{},"后":{"docs":{},"最":{"docs":{},"终":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"依":{"docs":{},"然":{"docs":{},"是":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}},"c":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}},"u":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.019867549668874173}},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"?":{"docs":{},"。":{"docs":{},"因":{"docs":{},"此":{"docs":{},"尽":{"docs":{},"管":{"docs":{},"在":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"类":{"docs":{},"型":{"docs":{},"属":{"docs":{},"性":{"docs":{},"前":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"两":{"docs":{},"层":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},",":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"?":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"?":{"docs":{},".":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"也":{"docs":{},"是":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}},"e":{"docs":{},"p":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}}}}}}},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}},"和":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"。":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"比":{"docs":{},"输":{"docs":{},"入":{"docs":{},"值":{"docs":{},"大":{"docs":{},"一":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"比":{"docs":{},"输":{"docs":{},"入":{"docs":{},"值":{"docs":{},"小":{"docs":{},"一":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"是":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"l":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}},"u":{"docs":{},"c":{"docs":{},"c":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}},"e":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.06504065040650407}},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"o":{"docs":{},"r":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"对":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"和":{"docs":{},"c":{"docs":{},"l":{"docs":{},"u":{"docs":{},"b":{"docs":{},"s":{"docs":{},"返":{"docs":{},"回":{"docs":{},"“":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"”":{"docs":{},",":{"docs":{},"对":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"返":{"docs":{},"回":{"docs":{},"“":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"来":{"docs":{},"描":{"docs":{},"述":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"四":{"docs":{},"种":{"docs":{},"花":{"docs":{},"色":{"docs":{},",":{"docs":{},"并":{"docs":{},"分":{"docs":{},"别":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}},"o":{"docs":{},"f":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"(":{"4":{"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}},"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"r":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}}}}}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}},".":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987}},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992}}}}}}}}}},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992}}}}}},"[":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}}},"p":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}},"b":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.007905138339920948}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"(":{"docs":{},"子":{"docs":{},"类":{"docs":{},"化":{"docs":{},"?":{"docs":{},"待":{"docs":{},"定":{"docs":{},")":{"docs":{},"重":{"docs":{},"写":{"docs":{},"(":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},"访":{"docs":{},"问":{"docs":{},"超":{"docs":{},"类":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"及":{"docs":{},"下":{"docs":{},"标":{"docs":{},"重":{"docs":{},"写":{"docs":{},"方":{"docs":{},"法":{"docs":{},"重":{"docs":{},"写":{"docs":{},"属":{"docs":{},"性":{"docs":{},"重":{"docs":{},"写":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"重":{"docs":{},"写":{"docs":{},"属":{"docs":{},"性":{"docs":{},"观":{"docs":{},"察":{"docs":{},"器":{"docs":{},"(":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":5}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":10.005494505494505},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"(":{"docs":{},"i":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.016483516483516484}}}}}}},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}},"d":{"docs":{},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},",":{"docs":{},"显":{"docs":{},"式":{"docs":{},"声":{"docs":{},"明":{"docs":{},"入":{"docs":{},"参":{"docs":{},"(":{"docs":{},"一":{"docs":{},"个":{"docs":{},"或":{"docs":{},"多":{"docs":{},"个":{"docs":{},")":{"docs":{},"和":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"与":{"docs":{},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"是":{"docs":{},"下":{"docs":{},"标":{"docs":{},"可":{"docs":{},"以":{"docs":{},"设":{"docs":{},"定":{"docs":{},"为":{"docs":{},"读":{"docs":{},"写":{"docs":{},"或":{"docs":{},"只":{"docs":{},"读":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"方":{"docs":{},"式":{"docs":{},"又":{"docs":{},"有":{"docs":{},"点":{"docs":{},"像":{"docs":{},"实":{"docs":{},"例":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"v":{"docs":{},"e":{"docs":{},"y":{"docs":{},"a":{"docs":{},"n":{"docs":{},"s":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}},"e":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"n":{"docs":{},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}},"i":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}}}}}},"k":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}},"r":{"docs":{},"c":{"docs":{},"=":{"docs":{},"\"":{"docs":{},"h":{"docs":{},"t":{"docs":{},"t":{"docs":{},"p":{"docs":{},"s":{"docs":{},":":{"docs":{},"/":{"docs":{},"/":{"docs":{},"d":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"/":{"docs":{},"l":{"docs":{},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"/":{"docs":{},"p":{"docs":{},"r":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"/":{"docs":{},"i":{"docs":{},"o":{"docs":{},"s":{"docs":{},"/":{"docs":{},"d":{"docs":{},"o":{"docs":{},"c":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"/":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"/":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"p":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"/":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"_":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"g":{"docs":{},"r":{"docs":{},"a":{"docs":{},"m":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"_":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"u":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"/":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"/":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"_":{"docs":{},"q":{"docs":{},"r":{"docs":{},"_":{"2":{"docs":{},"x":{"docs":{},".":{"docs":{},"p":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}},"docs":{}}}},"u":{"docs":{},"p":{"docs":{},"c":{"docs":{},"_":{"2":{"docs":{},"x":{"docs":{},".":{"docs":{},"p":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"y":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}},"u":{"0":{"0":{"0":{"1":{"docs":{},"f":{"4":{"9":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}},"docs":{}},"2":{"6":{"6":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}},"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"d":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667},"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter1/chapter1.html#gitbook_38":{"ref":"chapter1/chapter1.html#gitbook_38","tf":0.25},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/09_Classes_and_Structures.html#gitbook_58":{"ref":"chapter2/09_Classes_and_Structures.html#gitbook_58","tf":0.5},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609},"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_65","tf":0.16666666666666666},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087},"chapter2/chapter2.html#gitbook_76":{"ref":"chapter2/chapter2.html#gitbook_76","tf":0.3333333333333333},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099},"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.041666666666666664}}}}}}}}}}}}}},"r":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":1.7346278317152102}},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},")":{"docs":{},"和":{"docs":{},"变":{"docs":{},"体":{"docs":{},"(":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"体":{"docs":{},"(":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}},"标":{"docs":{},"签":{"docs":{},"联":{"docs":{},"合":{"docs":{},"(":{"docs":{},"t":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}},"o":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"w":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},"w":{"docs":{},"r":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"u":{"docs":{},"s":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}}}}}}}},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}}}}}},".":{"docs":{},"g":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},".":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"p":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.024896265560165973},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"m":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}},"c":{"docs":{},"-":{"docs":{},"a":{"docs":{},"格":{"docs":{},"式":{"docs":{},"的":{"docs":{},"一":{"docs":{},"维":{"docs":{},"码":{"docs":{},",":{"docs":{},"它":{"docs":{},"使":{"docs":{},"用":{"docs":{},"数":{"docs":{},"字":{"0":{"docs":{},"到":{"9":{"docs":{},".":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"条":{"docs":{},"形":{"docs":{},"码":{"docs":{},"都":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"代":{"docs":{},"表":{"docs":{},"“":{"docs":{},"数":{"docs":{},"字":{"docs":{},"系":{"docs":{},"统":{"docs":{},"”":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},",":{"docs":{},"该":{"docs":{},"数":{"docs":{},"字":{"docs":{},"后":{"docs":{},"接":{"1":{"0":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{}}}}}}}}}}}}},"码":{"docs":{},"作":{"docs":{},"为":{"docs":{},"三":{"docs":{},"个":{"docs":{},"整":{"docs":{},"型":{"docs":{},"值":{"docs":{},"的":{"docs":{},"元":{"docs":{},"组":{"docs":{},",":{"docs":{},"和":{"docs":{},"把":{"docs":{},"q":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"y":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}},"(":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"接":{"docs":{},"受":{"docs":{},"一":{"docs":{},"个":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"这":{"docs":{},"个":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"现":{"docs":{},"有":{"docs":{},"的":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"。":{"docs":{},"注":{"docs":{},"意":{"docs":{},",":{"docs":{},"你":{"docs":{},"并":{"docs":{},"不":{"docs":{},"能":{"docs":{},"传":{"docs":{},"入":{"docs":{},"任":{"docs":{},"意":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"只":{"docs":{},"能":{"docs":{},"传":{"docs":{},"入":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"进":{"docs":{},"行":{"docs":{},"相":{"docs":{},"加":{"docs":{},"。":{"docs":{},"目":{"docs":{},"标":{"docs":{},"常":{"docs":{},"量":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"被":{"docs":{},"推":{"docs":{},"测":{"docs":{},"为":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"是":{"docs":{},"两":{"docs":{},"个":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"3":{"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"8":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}},".":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},",":{"docs":{},"除":{"docs":{},"非":{"docs":{},"你":{"docs":{},"真":{"docs":{},"的":{"docs":{},"需":{"docs":{},"要":{"docs":{},"存":{"docs":{},"储":{"docs":{},"一":{"docs":{},"个":{"docs":{},"和":{"docs":{},"当":{"docs":{},"前":{"docs":{},"平":{"docs":{},"台":{"docs":{},"原":{"docs":{},"生":{"docs":{},"字":{"docs":{},"长":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"无":{"docs":{},"符":{"docs":{},"号":{"docs":{},"整":{"docs":{},"数":{"docs":{},"。":{"docs":{},"除":{"docs":{},"了":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},",":{"docs":{},"最":{"docs":{},"好":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"即":{"docs":{},"使":{"docs":{},"你":{"docs":{},"要":{"docs":{},"存":{"docs":{},"储":{"docs":{},"的":{"docs":{},"值":{"docs":{},"已":{"docs":{},"知":{"docs":{},"是":{"docs":{},"非":{"docs":{},"负":{"docs":{},"的":{"docs":{},"。":{"docs":{},"统":{"docs":{},"一":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"v":{"docs":{},"i":{"docs":{},"g":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}}}}}}}}}}}},"+":{"0":{"0":{"2":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"6":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}},"1":{"docs":{},"f":{"4":{"3":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{}},"9":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}}},"2":{"6":{"6":{"5":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}},"docs":{}},"docs":{},"d":{"8":{"3":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}},"docs":{}},"docs":{},"c":{"3":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{}}}},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.013438735177865613},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}},"t":{"docs":{},"f":{"1":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}},"docs":{}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}},"docs":{},"-":{"1":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.015533980582524271}}},"docs":{}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.015533980582524271}},"u":{"docs":{},"t":{"docs":{},"f":{"docs":{},"-":{"1":{"6":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":1.6666666666666665}}}}}}}}},"docs":{}},"docs":{}}}}}},"docs":{}}}},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"u":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}},"w":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"w":{"docs":{},"d":{"docs":{},"c":{"docs":{"index.html#gitbook_35":{"ref":"index.html#gitbook_35","tf":0.06666666666666667}}}}},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.01808066759388039},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.015625},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"k":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}}},"d":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}}}},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"c":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},",":{"docs":{},"只":{"docs":{},"在":{"docs":{},"冒":{"docs":{},"号":{"docs":{},"后":{"docs":{},"面":{"docs":{},"写":{"docs":{},"接":{"docs":{},"口":{"docs":{},"或":{"docs":{},"者":{"docs":{},"类":{"docs":{},"名":{"docs":{},"。":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"句":{"docs":{},"作":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"队":{"docs":{},"列":{"docs":{},"的":{"docs":{},"一":{"docs":{},"部":{"docs":{},"分":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},"使":{"docs":{},"你":{"docs":{},"能":{"docs":{},"够":{"docs":{},"要":{"docs":{},"求":{"docs":{},"一":{"docs":{},"个":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"一":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"的":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"(":{"docs":{},"或":{"docs":{},")":{"docs":{},"那":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"和":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},"可":{"docs":{},"以":{"docs":{},"是":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},",":{"docs":{},"通":{"docs":{},"过":{"docs":{},"紧":{"docs":{},"随":{"docs":{},"放":{"docs":{},"置":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"一":{"docs":{},"部":{"docs":{},"分":{"docs":{},",":{"docs":{},"写":{"docs":{},"在":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.024896265560165973}}}},"n":{"docs":{},"e":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}}}}}}},"i":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}},"i":{"docs":{},"d":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"l":{"docs":{},"a":{"docs":{},"b":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"=":{"docs":{},"\"":{"1":{"6":{"9":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}},"2":{"5":{"2":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}},"docs":{}}}}}},"l":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"d":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"或":{"docs":{},"d":{"docs":{},"i":{"docs":{},"d":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"实":{"docs":{},"现":{"docs":{},"是":{"docs":{},"不":{"docs":{},"恰":{"docs":{},"当":{"docs":{},"。":{"docs":{},"此":{"docs":{},"外":{"docs":{},"还":{"docs":{},"要":{"docs":{},"注":{"docs":{},"意":{"docs":{},",":{"docs":{},"你":{"docs":{},"不":{"docs":{},"可":{"docs":{},"以":{"docs":{},"同":{"docs":{},"时":{"docs":{},"提":{"docs":{},"供":{"docs":{},"重":{"docs":{},"写":{"docs":{},"的":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"和":{"docs":{},"重":{"docs":{},"写":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"观":{"docs":{},"察":{"docs":{},"器":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"想":{"docs":{},"观":{"docs":{},"察":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"的":{"docs":{},"变":{"docs":{},"化":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"你":{"docs":{},"已":{"docs":{},"经":{"docs":{},"为":{"docs":{},"那":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"定":{"docs":{},"制":{"docs":{},"的":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"你":{"docs":{},"在":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"e":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}},"t":{"docs":{},"h":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.006954102920723227}}}}}},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.4678979202380567},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"i":{"docs":{},"n":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.8745157124408093},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"n":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}},"e":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}},"e":{"docs":{},"变":{"docs":{},"量":{"docs":{},"添":{"docs":{},"加":{"docs":{},"了":{"docs":{},"类":{"docs":{},"型":{"docs":{},"标":{"docs":{},"注":{"docs":{},",":{"docs":{},"表":{"docs":{},"示":{"docs":{},"这":{"docs":{},"个":{"docs":{},"变":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}},"s":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}},"r":{"docs":{},"i":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_65","tf":0.16666666666666666}},"为":{"docs":{},"了":{"docs":{},"能":{"docs":{},"帮":{"docs":{},"助":{"docs":{},"你":{"docs":{},"管":{"docs":{},"理":{"docs":{},"内":{"docs":{},"存":{"docs":{},",":{"docs":{},"需":{"docs":{},"要":{"docs":{},"更":{"docs":{},"多":{"docs":{},"的":{"docs":{},"关":{"docs":{},"于":{"docs":{},"你":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"之":{"docs":{},"间":{"docs":{},"关":{"docs":{},"系":{"docs":{},"的":{"docs":{},"信":{"docs":{},"息":{"docs":{},"。":{"docs":{},"本":{"docs":{},"章":{"docs":{},"描":{"docs":{},"述":{"docs":{},"了":{"docs":{},"这":{"docs":{},"些":{"docs":{},"情":{"docs":{},"况":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"为":{"docs":{},"你":{"docs":{},"示":{"docs":{},"范":{"docs":{},"怎":{"docs":{},"样":{"docs":{},"启":{"docs":{},"用":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_65","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"会":{"docs":{},"分":{"docs":{},"配":{"docs":{},"一":{"docs":{},"大":{"docs":{},"块":{"docs":{},"内":{"docs":{},"存":{"docs":{},"用":{"docs":{},"来":{"docs":{},"储":{"docs":{},"存":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"信":{"docs":{},"息":{"docs":{},"。":{"docs":{},"内":{"docs":{},"存":{"docs":{},"中":{"docs":{},"会":{"docs":{},"包":{"docs":{},"含":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"信":{"docs":{},"息":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"这":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"所":{"docs":{},"有":{"docs":{},"相":{"docs":{},"关":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"此":{"docs":{},"外":{"docs":{},",":{"docs":{},"当":{"docs":{},"实":{"docs":{},"例":{"docs":{},"不":{"docs":{},"再":{"docs":{},"被":{"docs":{},"使":{"docs":{},"用":{"docs":{},"时":{"docs":{},",":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_65","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"跟":{"docs":{},"踪":{"docs":{},"和":{"docs":{},"计":{"docs":{},"算":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"实":{"docs":{},"例":{"docs":{},"正":{"docs":{},"在":{"docs":{},"被":{"docs":{},"多":{"docs":{},"少":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"常":{"docs":{},"量":{"docs":{},"和":{"docs":{},"变":{"docs":{},"量":{"docs":{},"所":{"docs":{},"引":{"docs":{},"用":{"docs":{},"。":{"docs":{},"哪":{"docs":{},"怕":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"引":{"docs":{},"用":{"docs":{},"数":{"docs":{},"为":{"docs":{},"一":{"docs":{},",":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{"chapter2/16_Automatic_Reference_Counting.html#gitbook_65":{"ref":"chapter2/16_Automatic_Reference_Counting.html#gitbook_65","tf":0.16666666666666666}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"a":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}},"性":{"docs":{},"质":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"存":{"docs":{},"储":{"docs":{},"值":{"docs":{},"。":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"提":{"docs":{},"供":{"docs":{},"两":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},":":{"docs":{},"p":{"docs":{},"u":{"docs":{},"s":{"docs":{},"h":{"docs":{},"和":{"docs":{},"p":{"docs":{},"o":{"docs":{},"p":{"docs":{},",":{"docs":{},"从":{"docs":{},"栈":{"docs":{},"中":{"docs":{},"压":{"docs":{},"进":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},"和":{"docs":{},"移":{"docs":{},"除":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"方":{"docs":{},"法":{"docs":{},"标":{"docs":{},"记":{"docs":{},"为":{"docs":{},"可":{"docs":{},"变":{"docs":{},"的":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"他":{"docs":{},"们":{"docs":{},"需":{"docs":{},"要":{"docs":{},"修":{"docs":{},"改":{"docs":{},"(":{"docs":{},"或":{"docs":{},"转":{"docs":{},"换":{"docs":{},")":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.020553359683794466},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}},"b":{"docs":{},"i":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}},"g":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}},"y":{"docs":{},"r":{"docs":{},"i":{"docs":{},"o":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}},"i":{"docs":{},"t":{"docs":{},"h":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}},"i":{"docs":{},"c":{"docs":{},"m":{"docs":{},"e":{"docs":{},"a":{"docs":{},"n":{"docs":{},"(":{"1":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"3":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.008695652173913044}}}}}}},"u":{"docs":{},"t":{"docs":{},"o":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"i":{"docs":{},"c":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987}},"的":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"d":{"docs":{},"i":{"docs":{},"d":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"观":{"docs":{},"察":{"docs":{},"器":{"docs":{},"就":{"docs":{},"会":{"docs":{},"自":{"docs":{},"动":{"docs":{},"地":{"docs":{},"设":{"docs":{},"置":{"docs":{},"g":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"为":{"docs":{},"新":{"docs":{},"的":{"docs":{},"速":{"docs":{},"度":{"docs":{},"选":{"docs":{},"择":{"docs":{},"一":{"docs":{},"个":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"挡":{"docs":{},"位":{"docs":{},"。":{"docs":{},"具":{"docs":{},"体":{"docs":{},"来":{"docs":{},"说":{"docs":{},"就":{"docs":{},"是":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"观":{"docs":{},"察":{"docs":{},"器":{"docs":{},"将":{"docs":{},"新":{"docs":{},"的":{"docs":{},"速":{"docs":{},"度":{"docs":{},"值":{"docs":{},"除":{"docs":{},"以":{"1":{"0":{"docs":{},",":{"docs":{},"然":{"docs":{},"后":{"docs":{},"向":{"docs":{},"下":{"docs":{},"取":{"docs":{},"得":{"docs":{},"最":{"docs":{},"接":{"docs":{},"近":{"docs":{},"的":{"docs":{},"整":{"docs":{},"数":{"docs":{},"值":{"docs":{},",":{"docs":{},"最":{"docs":{},"后":{"docs":{},"加":{"1":{"docs":{},"来":{"docs":{},"得":{"docs":{},"到":{"docs":{},"档":{"docs":{},"位":{"docs":{},"g":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"例":{"docs":{},"如":{"docs":{},",":{"docs":{},"速":{"docs":{},"度":{"docs":{},"为":{"1":{"0":{"docs":{},".":{"0":{"docs":{},"时":{"docs":{},",":{"docs":{},"挡":{"docs":{},"位":{"docs":{},"为":{"1":{"docs":{},";":{"docs":{},"速":{"docs":{},"度":{"docs":{},"为":{"3":{"5":{"docs":{},".":{"0":{"docs":{},"时":{"docs":{},",":{"docs":{},"挡":{"docs":{},"位":{"docs":{},"为":{"4":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}},"docs":{}}}}}}},"docs":{}}},"docs":{}},"docs":{}}}}}},"docs":{}}}}}}},"docs":{}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"是":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"的":{"docs":{},"子":{"docs":{},"类":{"docs":{},"。":{"docs":{},"a":{"docs":{},"u":{"docs":{},"t":{"docs":{},"o":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"c":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"表":{"docs":{},"示":{"docs":{},"自":{"docs":{},"动":{"docs":{},"挡":{"docs":{},"汽":{"docs":{},"车":{"docs":{},",":{"docs":{},"它":{"docs":{},"可":{"docs":{},"以":{"docs":{},"根":{"docs":{},"据":{"docs":{},"当":{"docs":{},"前":{"docs":{},"的":{"docs":{},"速":{"docs":{},"度":{"docs":{},"自":{"docs":{},"动":{"docs":{},"选":{"docs":{},"择":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"挡":{"docs":{},"位":{"docs":{},"。":{"docs":{},"a":{"docs":{},"u":{"docs":{},"t":{"docs":{},"o":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"c":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"也":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"定":{"docs":{},"制":{"docs":{},"的":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"_":{"docs":{},"c":{"docs":{},"l":{"docs":{},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.02197802197802198}}}}}}}}}}},"d":{"docs":{},"i":{"docs":{},"o":{"docs":{},"s":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},"e":{"docs":{},".":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"被":{"docs":{},"定":{"docs":{},"义":{"docs":{},"为":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"别":{"docs":{},"名":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"是":{"docs":{},"别":{"docs":{},"名":{"docs":{},",":{"docs":{},"a":{"docs":{},"u":{"docs":{},"d":{"docs":{},"i":{"docs":{},"o":{"docs":{},"s":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},".":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"实":{"docs":{},"际":{"docs":{},"上":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},".":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"会":{"docs":{},"给":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"u":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{},"赋":{"docs":{},"一":{"docs":{},"个":{"docs":{},"初":{"docs":{},"值":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"j":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}},".":{"docs":{},".":{"docs":{},"b":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}},"b":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.024390243902439025}},"e":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"t":{"1":{"docs":{},"s":{"docs":{},"c":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}}}}}}}}}},"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.02524271844660194}},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}},"e":{"docs":{},"r":{"docs":{},"常":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"i":{"docs":{},"f":{"docs":{},"语":{"docs":{},"句":{"docs":{},"的":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"分":{"docs":{},"支":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"。":{"docs":{},"它":{"docs":{},"已":{"docs":{},"经":{"docs":{},"被":{"docs":{},"可":{"docs":{},"选":{"docs":{},"包":{"docs":{},"含":{"docs":{},"的":{"docs":{},"值":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"过":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"再":{"docs":{},"使":{"docs":{},"用":{"docs":{},"!":{"docs":{},"后":{"docs":{},"缀":{"docs":{},"来":{"docs":{},"获":{"docs":{},"取":{"docs":{},"它":{"docs":{},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"c":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}}}}},"d":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"o":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"e":{"docs":{},"(":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}},"s":{"docs":{},"(":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}},"和":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"有":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"这":{"docs":{},"个":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"过":{"docs":{},"程":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{},"y":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"。":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"都":{"docs":{},"传":{"docs":{},"入":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.023178807947019868}},"。":{"docs":{},"它":{"docs":{},"有":{"docs":{},"三":{"docs":{},"个":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"属":{"docs":{},"性":{"docs":{},"他":{"docs":{},"们":{"docs":{},"额":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"?":{"docs":{},"。":{"docs":{},"前":{"docs":{},"面":{"docs":{},"两":{"docs":{},"个":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"属":{"docs":{},"性":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},"时":{"docs":{},"的":{"docs":{},"使":{"docs":{},"用":{"docs":{},"(":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},")":{"docs":{},"。":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"属":{"docs":{},"性":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"你":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"它":{"docs":{},"获":{"docs":{},"取":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"中":{"docs":{},"的":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}},"还":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"为":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"?":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"检":{"docs":{},"查":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"和":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"有":{"docs":{},"值":{"docs":{},"则":{"docs":{},"将":{"docs":{},"其":{"docs":{},"返":{"docs":{},"回":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"如":{"docs":{},"果":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"设":{"docs":{},"定":{"docs":{},"一":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"来":{"docs":{},"作":{"docs":{},"为":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"并":{"docs":{},"为":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"j":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.007050528789659225}}}}}},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.02894736842105263},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425}},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}},"和":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"。":{"docs":{},"默":{"docs":{},"认":{"docs":{},"地":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"只":{"docs":{},"把":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{},"当":{"docs":{},"作":{"docs":{},"一":{"docs":{},"个":{"docs":{},"局":{"docs":{},"部":{"docs":{},"名":{"docs":{},"称":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"把":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"p":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}},";":{"docs":{},"&":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.013392857142857142}}}}}}}},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}}}}},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"e":{"docs":{},"r":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"y":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.006954102920723227},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01195814648729447}}}}},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"中":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"2":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}}}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"y":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"m":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"(":{"docs":{},"[":{"1":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}}}}}}}}}}}}}}}}},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.009486166007905139}},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.8333333333333333}}}}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"代":{"docs":{},"表":{"docs":{},"任":{"docs":{},"何":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}},"可":{"docs":{},"以":{"docs":{},"表":{"docs":{},"示":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"除":{"docs":{},"了":{"docs":{},"方":{"docs":{},"法":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}},"s":{"docs":{},"w":{"docs":{},"e":{"docs":{},"r":{"1":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"2":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}}}}},"d":{"docs":{},"/":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}},"p":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}},"e":{"docs":{},"s":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"u":{"docs":{},"m":{"docs":{},"m":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"n":{"docs":{},"d":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}}}},"方":{"docs":{},"法":{"docs":{},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}},"a":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"s":{"docs":{},",":{"docs":{},"它":{"docs":{},"一":{"docs":{},"般":{"docs":{},"接":{"docs":{},"收":{"docs":{},"一":{"docs":{},"个":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"[":{"docs":{},"]":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"说":{"docs":{},"“":{"docs":{},"一":{"docs":{},"个":{"docs":{},"任":{"docs":{},"何":{"docs":{},"对":{"docs":{},"象":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},"”":{"docs":{},"。":{"docs":{},"这":{"docs":{},"是":{"docs":{},"因":{"docs":{},"为":{"docs":{},"o":{"docs":{},"c":{"docs":{},"没":{"docs":{},"有":{"docs":{},"明":{"docs":{},"确":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"化":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"但":{"docs":{},"是":{"docs":{},",":{"docs":{},"你":{"docs":{},"常":{"docs":{},"常":{"docs":{},"可":{"docs":{},"以":{"docs":{},"确":{"docs":{},"定":{"docs":{},"包":{"docs":{},"含":{"docs":{},"在":{"docs":{},"仅":{"docs":{},"从":{"docs":{},"你":{"docs":{},"知":{"docs":{},"道":{"docs":{},"的":{"docs":{},"a":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"(":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"i":{"docs":{},"s":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"d":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{},"(":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"来":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"断":{"docs":{},"言":{"docs":{},"。":{"docs":{},"给":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"函":{"docs":{},"数":{"docs":{},"传":{"docs":{},"入":{"docs":{},"一":{"docs":{},"个":{"docs":{},"结":{"docs":{},"果":{"docs":{},"为":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"或":{"docs":{},"者":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},"的":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"以":{"docs":{},"及":{"docs":{},"一":{"docs":{},"条":{"docs":{},"信":{"docs":{},"息":{"docs":{},",":{"docs":{},"当":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"e":{"docs":{},"d":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}}}}}}}}},"o":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}},"c":{"docs":{},"i":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"的":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"被":{"docs":{},"定":{"docs":{},"义":{"docs":{},"为":{"docs":{},"字":{"docs":{},"符":{"docs":{},"型":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},",":{"docs":{},"并":{"docs":{},"被":{"docs":{},"设":{"docs":{},"置":{"docs":{},"了":{"docs":{},"一":{"docs":{},"些":{"docs":{},"比":{"docs":{},"较":{"docs":{},"常":{"docs":{},"见":{"docs":{},"的":{"docs":{},"a":{"docs":{},"s":{"docs":{},"c":{"docs":{},"i":{"docs":{},"i":{"docs":{},"控":{"docs":{},"制":{"docs":{},"字":{"docs":{},"符":{"docs":{},"。":{"docs":{},"字":{"docs":{},"符":{"docs":{},"值":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},"请":{"docs":{},"详":{"docs":{},"见":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"和":{"docs":{},"字":{"docs":{},"符":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},"下":{"docs":{},"转":{"docs":{},"并":{"docs":{},"解":{"docs":{},"包":{"docs":{},"到":{"docs":{},"不":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}},"?":{"docs":{},")":{"docs":{},"。":{"docs":{},"可":{"docs":{},"选":{"docs":{},"形":{"docs":{},"式":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"检":{"docs":{},"查":{"docs":{},"总":{"docs":{},"是":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"值":{"docs":{},"(":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"k":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}},"l":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{},"(":{"docs":{},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"函":{"docs":{},"数":{"docs":{},"将":{"docs":{},"参":{"docs":{},"数":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"定":{"docs":{},"义":{"docs":{},"为":{"docs":{},"变":{"docs":{},"量":{"docs":{},"参":{"docs":{},"数":{"docs":{},"。":{"docs":{},"这":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"右":{"docs":{},"对":{"docs":{},"齐":{"docs":{},"输":{"docs":{},"入":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"到":{"docs":{},"一":{"docs":{},"个":{"docs":{},"长":{"docs":{},"的":{"docs":{},"输":{"docs":{},"出":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"中":{"docs":{},"。":{"docs":{},"左":{"docs":{},"侧":{"docs":{},"空":{"docs":{},"余":{"docs":{},"的":{"docs":{},"地":{"docs":{},"方":{"docs":{},"用":{"docs":{},"指":{"docs":{},"定":{"docs":{},"的":{"docs":{},"填":{"docs":{},"充":{"docs":{},"字":{"docs":{},"符":{"docs":{},"填":{"docs":{},"充":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"被":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"了":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"-":{"docs":{},"-":{"docs":{},"-":{"docs":{},"-":{"docs":{},"-":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"e":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}},"e":{"docs":{},"x":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}},"s":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"b":{"docs":{},"y":{"docs":{},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}}}}}}}}}}}}}}},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"u":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}}}}}}}},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571}}}}}}}},"n":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}}},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"检":{"docs":{},"查":{"docs":{},"是":{"docs":{},"否":{"docs":{},"两":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"单":{"docs":{},"例":{"docs":{},"包":{"docs":{},"含":{"docs":{},"具":{"docs":{},"有":{"docs":{},"相":{"docs":{},"同":{"docs":{},"顺":{"docs":{},"序":{"docs":{},"的":{"docs":{},"相":{"docs":{},"同":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"到":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"为":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"的":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"首":{"docs":{},"先":{"docs":{},"检":{"docs":{},"查":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"是":{"docs":{},"否":{"docs":{},"拥":{"docs":{},"有":{"docs":{},"同":{"docs":{},"样":{"docs":{},"数":{"docs":{},"目":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"他":{"docs":{},"们":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"数":{"docs":{},"目":{"docs":{},"不":{"docs":{},"同":{"docs":{},",":{"docs":{},"没":{"docs":{},"有":{"docs":{},"办":{"docs":{},"法":{"docs":{},"进":{"docs":{},"行":{"docs":{},"匹":{"docs":{},"配":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"就":{"docs":{},"会":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"w":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}},"w":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"b":{"docs":{},"c":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"g":{"docs":{},"h":{"docs":{},"i":{"docs":{},"j":{"docs":{},"k":{"docs":{},"l":{"docs":{},"m":{"docs":{},"n":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}}}}}}}}}}},"o":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"r":{"docs":{},"i":{"docs":{},"b":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.054945054945054944}},"e":{"docs":{},"-":{"docs":{},"a":{"docs":{},"r":{"docs":{},"g":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"e":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.02197802197802198}}}}}},"s":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"c":{"1":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},".":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}}}}}}},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"同":{"docs":{},"样":{"docs":{},"是":{"docs":{},"c":{"2":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}},"docs":{}}}}},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}},"2":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},".":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}},"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.017921146953405017},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.024553571428571428},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"a":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.07142857142857142},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.013592233009708738},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"的":{"docs":{},"基":{"docs":{},"础":{"docs":{},"上":{"docs":{},"构":{"docs":{},"建":{"docs":{},"框":{"docs":{},"架":{"docs":{},"栈":{"docs":{},"并":{"docs":{},"将":{"docs":{},"其":{"docs":{},"标":{"docs":{},"准":{"docs":{},"化":{"docs":{},"。":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"里":{"docs":{},"的":{"docs":{},"n":{"docs":{},"s":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"函":{"docs":{},"数":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.005563282336578581},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.017326732673267328},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.022277227722772276}},".":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"b":{"docs":{},"y":{"docs":{},"(":{"2":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"5":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}},"docs":{}}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}},"'":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425}}},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}},"替":{"docs":{},"换":{"docs":{},"版":{"docs":{},"本":{"docs":{},"(":{"docs":{},"它":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"更":{"docs":{},"复":{"docs":{},"杂":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"b":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"这":{"docs":{},"个":{"docs":{},"类":{"docs":{},"还":{"docs":{},"声":{"docs":{},"明":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"变":{"docs":{},"属":{"docs":{},"性":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"(":{"docs":{},"u":{"docs":{},"n":{"docs":{},"u":{"docs":{},"s":{"docs":{},"u":{"docs":{},"a":{"docs":{},"l":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}},"(":{"docs":{},"\"":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"函":{"docs":{},"数":{"docs":{},"来":{"docs":{},"处":{"docs":{},"理":{"docs":{},"任":{"docs":{},"何":{"docs":{},"一":{"docs":{},"个":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},",":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"值":{"docs":{},"将":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"包":{"docs":{},"含":{"docs":{},"三":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"型":{"docs":{},"值":{"docs":{},"的":{"docs":{},"元":{"docs":{},"组":{"docs":{},"(":{"docs":{},"t":{"docs":{},"u":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"属":{"docs":{},"性":{"docs":{},"获":{"docs":{},"取":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"的":{"docs":{},"数":{"docs":{},"量":{"docs":{},",":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"d":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"(":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},"e":{"docs":{},"d":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"]":{"docs":{},"[":{"8":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}}}}}}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.008344923504867872},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.017241379310344827}}}}},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0071146245059288534},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.02242152466367713}},"s":{"docs":{},"a":{"docs":{},"v":{"docs":{},"e":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}},"e":{"docs":{},"r":{"docs":{},"(":{"docs":{},"#":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"声":{"docs":{},"明":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"的":{"docs":{},"关":{"docs":{},"联":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"写":{"docs":{},"作":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},",":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}},"泛":{"docs":{},"型":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"指":{"docs":{},"定":{"docs":{},"存":{"docs":{},"储":{"docs":{},"在":{"docs":{},"其":{"docs":{},"里":{"docs":{},"面":{"docs":{},"的":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"必":{"docs":{},"须":{"docs":{},"保":{"docs":{},"证":{"docs":{},"只":{"docs":{},"有":{"docs":{},"正":{"docs":{},"确":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"可":{"docs":{},"以":{"docs":{},"加":{"docs":{},"进":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},",":{"docs":{},"必":{"docs":{},"须":{"docs":{},"明":{"docs":{},"确":{"docs":{},"可":{"docs":{},"以":{"docs":{},"通":{"docs":{},"过":{"docs":{},"其":{"docs":{},"下":{"docs":{},"标":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"需":{"docs":{},"要":{"docs":{},"一":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"指":{"docs":{},"定":{"docs":{},"容":{"docs":{},"器":{"docs":{},"里":{"docs":{},"的":{"docs":{},"元":{"docs":{},"素":{"docs":{},"将":{"docs":{},"会":{"docs":{},"保":{"docs":{},"留":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"知":{"docs":{},"道":{"docs":{},"特":{"docs":{},"定":{"docs":{},"容":{"docs":{},"器":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"协":{"docs":{},"议":{"docs":{},"需":{"docs":{},"要":{"docs":{},"指":{"docs":{},"定":{"docs":{},"任":{"docs":{},"何":{"docs":{},"通":{"docs":{},"过":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"h":{"docs":{},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.008928571428571428}}}}}}}}}},"x":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"f":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"<":{"docs":{},"/":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}},"c":{"docs":{},"e":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"d":{"docs":{},"e":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.014336917562724014},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.014705882352941176},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}},"m":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"p":{"docs":{},"i":{"docs":{},"l":{"docs":{},"e":{"docs":{},"-":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},".":{"docs":{},"w":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}},"u":{"docs":{},"t":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"l":{"0":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"1":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/09_Classes_and_Structures.html#gitbook_58":{"ref":"chapter2/09_Classes_and_Structures.html#gitbook_58","tf":0.5},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},")":{"docs":{},",":{"docs":{},"列":{"docs":{},"表":{"docs":{},"(":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{},")":{"docs":{},"或":{"docs":{},"序":{"docs":{},"列":{"docs":{},"(":{"docs":{},"s":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.12087912087912088}},"s":{"docs":{},"个":{"docs":{},"数":{"docs":{},"的":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"存":{"docs":{},"储":{"docs":{},",":{"docs":{},"将":{"docs":{},"数":{"docs":{},"组":{"docs":{},"的":{"docs":{},"大":{"docs":{},"小":{"docs":{},"和":{"docs":{},"数":{"docs":{},"组":{"docs":{},"每":{"docs":{},"个":{"docs":{},"元":{"docs":{},"素":{"docs":{},"初":{"docs":{},"始":{"docs":{},"值":{"0":{"docs":{},".":{"0":{"docs":{},",":{"docs":{},"都":{"docs":{},"传":{"docs":{},"入":{"docs":{},"数":{"docs":{},"组":{"docs":{},"的":{"docs":{},"构":{"docs":{},"造":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"正":{"docs":{},"确":{"docs":{},"大":{"docs":{},"小":{"docs":{},"的":{"docs":{},"新":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"关":{"docs":{},"于":{"docs":{},"数":{"docs":{},"组":{"docs":{},"的":{"docs":{},"构":{"docs":{},"造":{"docs":{},"方":{"docs":{},"法":{"docs":{},"和":{"docs":{},"析":{"docs":{},"构":{"docs":{},"方":{"docs":{},"法":{"docs":{},"请":{"docs":{},"参":{"docs":{},"考":{"docs":{},"c":{"docs":{},"r":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"n":{"docs":{},"=":{"docs":{},"\"":{"4":{"docs":{},"\"":{"docs":{},">":{"4":{"docs":{},"<":{"docs":{},"/":{"docs":{},"t":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}}},"docs":{}}}},"docs":{}}}}}}}},"w":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.07692307692307693}},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.023668639053254437}}}}}},"p":{"docs":{},"u":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.01775147928994083}}}}}}}}}}},"p":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}},"的":{"docs":{},"兼":{"docs":{},"容":{"docs":{},"性":{"docs":{},"的":{"docs":{},"限":{"docs":{},"制":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808}}}}}}}}}}}}}}},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}},"u":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"'":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.013592233009708738}}}}}},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":3.3359649122807014}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.024896265560165973}},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"(":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"副":{"docs":{},"完":{"docs":{},"整":{"docs":{},"的":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"并":{"docs":{},"把":{"docs":{},"每":{"docs":{},"张":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"和":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}},"中":{"docs":{},"的":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"方":{"docs":{},"法":{"docs":{},"并":{"docs":{},"非":{"docs":{},"完":{"docs":{},"全":{"docs":{},"自":{"docs":{},"定":{"docs":{},"义":{"docs":{},",":{"docs":{},"而":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"s":{"docs":{},"u":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"超":{"docs":{},"类":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"中":{"docs":{},"的":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"声":{"docs":{},"明":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"存":{"docs":{},"储":{"docs":{},"型":{"docs":{},"属":{"docs":{},"性":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"e":{"docs":{},"d":{"docs":{},",":{"docs":{},"它":{"docs":{},"是":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},",":{"docs":{},"默":{"docs":{},"认":{"docs":{},"值":{"docs":{},"是":{"0":{"docs":{},".":{"0":{"docs":{},",":{"docs":{},"表":{"docs":{},"示":{"docs":{},"“":{"docs":{},"时":{"docs":{},"速":{"docs":{},"是":{"0":{"docs":{},"英":{"docs":{},"里":{"docs":{},"”":{"docs":{},"。":{"docs":{},"&":{"docs":{},"#":{"3":{"9":{"docs":{},";":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"&":{"docs":{},"#":{"3":{"9":{"docs":{},";":{"docs":{},"有":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},",":{"docs":{},"它":{"docs":{},"将":{"docs":{},"乘":{"docs":{},"客":{"docs":{},"的":{"docs":{},"最":{"docs":{},"大":{"docs":{},"数":{"docs":{},"量":{"docs":{},"设":{"docs":{},"为":{"5":{"docs":{},",":{"docs":{},"轮":{"docs":{},"子":{"docs":{},"数":{"docs":{},"量":{"docs":{},"设":{"docs":{},"为":{"4":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}},"docs":{}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}},"docs":{}},"docs":{}}}}}}}},"docs":{}}}}}}}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"新":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"并":{"docs":{},"打":{"docs":{},"印":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}},"重":{"docs":{},"写":{"docs":{},"了":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"声":{"docs":{},"明":{"docs":{},"与":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"中":{"docs":{},"的":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"方":{"docs":{},"法":{"docs":{},"一":{"docs":{},"致":{"docs":{},",":{"docs":{},"声":{"docs":{},"明":{"docs":{},"前":{"docs":{},"面":{"docs":{},"加":{"docs":{},"上":{"docs":{},"了":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}},"s":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.024676850763807285},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.07720588235294118},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.011067193675889328},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.04065040650406504},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.017241379310344827}},"s":{"docs":{},"里":{"docs":{},"用":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}}},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":1.6840579710144925}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"层":{"docs":{},"次":{"docs":{},"作":{"docs":{},"为":{"docs":{},"例":{"docs":{},"子":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.8333333333333333}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"f":{"docs":{},"i":{"docs":{},"s":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"n":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"b":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}},"l":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23394896011902835},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}},"r":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"i":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"x":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"'":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}},"和":{"docs":{},"s":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"值":{"docs":{},"计":{"docs":{},"算":{"docs":{},"一":{"docs":{},"个":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"原":{"docs":{},"点":{"docs":{},"。":{"docs":{},"然":{"docs":{},"后":{"docs":{},"调":{"docs":{},"用":{"docs":{},"该":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"自":{"docs":{},"动":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"(":{"docs":{},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},":":{"docs":{},"s":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"c":{"docs":{},"k":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.014705882352941176},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.8459815546772068},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"s":{"docs":{},"n":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.02524271844660194},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.006954102920723227},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}},"e":{"docs":{},"r":{"1":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.009708737864077669}}},"2":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"docs":{},"p":{"docs":{},"l":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"s":{"docs":{},")":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"字":{"docs":{},"面":{"docs":{},"量":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"空":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"可":{"docs":{},"变":{"docs":{},"性":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"是":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"使":{"docs":{},"用":{"docs":{},"字":{"docs":{},"符":{"docs":{},"(":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},")":{"docs":{},"计":{"docs":{},"算":{"docs":{},"字":{"docs":{},"符":{"docs":{},"数":{"docs":{},"量":{"docs":{},"连":{"docs":{},"接":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"和":{"docs":{},"字":{"docs":{},"符":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"插":{"docs":{},"值":{"docs":{},"比":{"docs":{},"较":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"相":{"docs":{},"等":{"docs":{},"前":{"docs":{},"缀":{"docs":{},"/":{"docs":{},"后":{"docs":{},"缀":{"docs":{},"相":{"docs":{},"等":{"docs":{},"大":{"docs":{},"写":{"docs":{},"和":{"docs":{},"小":{"docs":{},"写":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":1.6666666666666665}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}}}}}}}},".":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"是":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"型":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"中":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"成":{"docs":{},"员":{"docs":{},"值":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"添":{"docs":{},"加":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"计":{"docs":{},"算":{"docs":{},"实":{"docs":{},"例":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"即":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"返":{"docs":{},"回":{"docs":{},"合":{"docs":{},"适":{"docs":{},"的":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"新":{"docs":{},"的":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"名":{"docs":{},"为":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":5.003311258278146}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},"是":{"docs":{},"一":{"docs":{},"种":{"docs":{},"可":{"docs":{},"以":{"docs":{},"请":{"docs":{},"求":{"docs":{},"和":{"docs":{},"调":{"docs":{},"用":{"docs":{},"属":{"docs":{},"性":{"docs":{},"、":{"docs":{},"方":{"docs":{},"法":{"docs":{},"及":{"docs":{},"子":{"docs":{},"脚":{"docs":{},"本":{"docs":{},"的":{"docs":{},"过":{"docs":{},"程":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"性":{"docs":{},"体":{"docs":{},"现":{"docs":{},"于":{"docs":{},"请":{"docs":{},"求":{"docs":{},"或":{"docs":{},"调":{"docs":{},"用":{"docs":{},"的":{"docs":{},"目":{"docs":{},"标":{"docs":{},"当":{"docs":{},"前":{"docs":{},"可":{"docs":{},"能":{"docs":{},"为":{"docs":{},"空":{"docs":{},"(":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},")":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"的":{"docs":{},"目":{"docs":{},"标":{"docs":{},"有":{"docs":{},"值":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"调":{"docs":{},"用":{"docs":{},"就":{"docs":{},"会":{"docs":{},"成":{"docs":{},"功":{"docs":{},";":{"docs":{},"相":{"docs":{},"反":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"选":{"docs":{},"择":{"docs":{},"的":{"docs":{},"目":{"docs":{},"标":{"docs":{},"为":{"docs":{},"空":{"docs":{},"(":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},")":{"docs":{},",":{"docs":{},"则":{"docs":{},"这":{"docs":{},"种":{"docs":{},"调":{"docs":{},"用":{"docs":{},"将":{"docs":{},"返":{"docs":{},"回":{"docs":{},"空":{"docs":{},"(":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},")":{"docs":{},"。":{"docs":{},"多":{"docs":{},"次":{"docs":{},"请":{"docs":{},"求":{"docs":{},"或":{"docs":{},"调":{"docs":{},"用":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"链":{"docs":{},"接":{"docs":{},"在":{"docs":{},"一":{"docs":{},"起":{"docs":{},"形":{"docs":{},"成":{"docs":{},"一":{"docs":{},"个":{"docs":{},"链":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"任":{"docs":{},"何":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},"为":{"docs":{},"空":{"docs":{},"(":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"o":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"p":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"(":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}}}}},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}}}},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.010575793184488837},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.03734439834024896},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.012376237623762377},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.019867549668874173},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.8491436100131752},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"前":{"docs":{},"添":{"docs":{},"加":{"docs":{},"@":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"特":{"docs":{},"性":{"docs":{},"(":{"docs":{},"@":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}},")":{"docs":{},"来":{"docs":{},"将":{"docs":{},"整":{"docs":{},"个":{"docs":{},"类":{"docs":{},"标":{"docs":{},"记":{"docs":{},"为":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}},")":{"docs":{},"、":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"c":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},")":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"(":{"docs":{},"e":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},")":{"docs":{},"这":{"docs":{},"些":{"docs":{},"目":{"docs":{},"标":{"docs":{},"中":{"docs":{},",":{"docs":{},"可":{"docs":{},"以":{"docs":{},"认":{"docs":{},"为":{"docs":{},"是":{"docs":{},"访":{"docs":{},"问":{"docs":{},"对":{"docs":{},"象":{"docs":{},"、":{"docs":{},"集":{"docs":{},"合":{"docs":{},"或":{"docs":{},"序":{"docs":{},"列":{"docs":{},"的":{"docs":{},"快":{"docs":{},"捷":{"docs":{},"方":{"docs":{},"式":{"docs":{},"。":{"docs":{},"举":{"docs":{},"例":{"docs":{},"来":{"docs":{},"说":{"docs":{},",":{"docs":{},"用":{"docs":{},"下":{"docs":{},"标":{"docs":{},"访":{"docs":{},"问":{"docs":{},"一":{"docs":{},"个":{"docs":{},"数":{"docs":{},"组":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"=":{"docs":{},"\"":{"docs":{},"x":{"docs":{},"-":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"\"":{"docs":{},">":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"它":{"docs":{},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"a":{"docs":{},"n":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}},"_":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}},"u":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}},"o":{"docs":{},"s":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}},"u":{"docs":{},"c":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"r":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"a":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"会":{"docs":{},"在":{"docs":{},"更":{"docs":{},"新":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"之":{"docs":{},"前":{"docs":{},"检":{"docs":{},"查":{"docs":{},"所":{"docs":{},"请":{"docs":{},"求":{"docs":{},"的":{"docs":{},"新":{"docs":{},"等":{"docs":{},"级":{"docs":{},"是":{"docs":{},"否":{"docs":{},"已":{"docs":{},"经":{"docs":{},"解":{"docs":{},"锁":{"docs":{},"。":{"docs":{},"a":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"方":{"docs":{},"法":{"docs":{},"返":{"docs":{},"回":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},"以":{"docs":{},"指":{"docs":{},"示":{"docs":{},"是":{"docs":{},"否":{"docs":{},"确":{"docs":{},"实":{"docs":{},"能":{"docs":{},"够":{"docs":{},"设":{"docs":{},"置":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.008344923504867872}},"e":{"docs":{},"逐":{"docs":{},"渐":{"docs":{},"接":{"docs":{},"近":{"docs":{},"到":{"0":{"docs":{},"是":{"docs":{},"需":{"docs":{},"要":{"docs":{},"向":{"docs":{},"正":{"docs":{},"数":{"docs":{},"走":{"docs":{},"还":{"docs":{},"是":{"docs":{},"向":{"docs":{},"负":{"docs":{},"数":{"docs":{},"走":{"docs":{},"。":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"的":{"docs":{},"初":{"docs":{},"始":{"docs":{},"值":{"docs":{},"是":{"3":{"docs":{},",":{"docs":{},"这":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"z":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"在":{"docs":{},"被":{"docs":{},"创":{"docs":{},"建":{"docs":{},"时":{"docs":{},"不":{"docs":{},"会":{"docs":{},"被":{"docs":{},"赋":{"docs":{},"予":{"docs":{},"一":{"docs":{},"个":{"docs":{},"默":{"docs":{},"认":{"docs":{},"的":{"docs":{},"整":{"docs":{},"数":{"docs":{},"值":{"docs":{},"。":{"docs":{},"在":{"docs":{},"上":{"docs":{},"面":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"s":{"docs":{},"例":{"docs":{},"子":{"docs":{},"中":{"docs":{},",":{"docs":{},"n":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"h":{"docs":{},",":{"docs":{},"s":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"h":{"docs":{},",":{"docs":{},"e":{"docs":{},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{},"和":{"docs":{},"w":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"不":{"docs":{},"是":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"得":{"docs":{},"等":{"docs":{},"于":{"0":{"docs":{},",":{"1":{"docs":{},",":{"2":{"docs":{},"和":{"3":{"docs":{},"。":{"docs":{},"相":{"docs":{},"反":{"docs":{},"的":{"docs":{},",":{"docs":{},"这":{"docs":{},"些":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"在":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}},"docs":{}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"语":{"docs":{},"言":{"docs":{},",":{"docs":{},"你":{"docs":{},"就":{"docs":{},"会":{"docs":{},"知":{"docs":{},"道":{"docs":{},",":{"docs":{},"在":{"docs":{},"c":{"docs":{},"语":{"docs":{},"言":{"docs":{},"中":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"指":{"docs":{},"定":{"docs":{},"相":{"docs":{},"关":{"docs":{},"名":{"docs":{},"称":{"docs":{},"为":{"docs":{},"一":{"docs":{},"组":{"docs":{},"整":{"docs":{},"型":{"docs":{},"值":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"更":{"docs":{},"加":{"docs":{},"灵":{"docs":{},"活":{"docs":{},",":{"docs":{},"不":{"docs":{},"必":{"docs":{},"给":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"(":{"docs":{},"e":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}}}}}}}}}}}},"中":{"docs":{},"的":{"docs":{},"比":{"docs":{},"较":{"docs":{},"运":{"docs":{},"算":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}}}}}}}}}}},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"f":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"a":{"docs":{},"t":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},";":{"docs":{},")":{"docs":{},"元":{"docs":{},"组":{"docs":{},"把":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}},"r":{"docs":{},"-":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"循":{"docs":{},"环":{"docs":{},"和":{"docs":{},"半":{"docs":{},"闭":{"docs":{},"区":{"docs":{},"间":{"docs":{},"操":{"docs":{},"作":{"docs":{},"(":{"docs":{},".":{"docs":{},".":{"docs":{},")":{"docs":{},"来":{"docs":{},"迭":{"docs":{},"代":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"所":{"docs":{},"有":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"每":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"检":{"docs":{},"查":{"docs":{},"是":{"docs":{},"否":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"不":{"docs":{},"等":{"docs":{},"于":{"docs":{},"对":{"docs":{},"应":{"docs":{},"的":{"docs":{},"a":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"s":{"docs":{},"不":{"docs":{},"等":{"docs":{},",":{"docs":{},"则":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"容":{"docs":{},"器":{"docs":{},"不":{"docs":{},"匹":{"docs":{},"配":{"docs":{},",":{"docs":{},"返":{"docs":{},"回":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}},"e":{"docs":{},"-":{"docs":{},"u":{"docs":{},"n":{"docs":{},"w":{"docs":{},"r":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.008695652173913044}}},"—":{"docs":{},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}},"a":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"u":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}},"l":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.026785714285714284},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"e":{"docs":{},"。":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},",":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}},"c":{"docs":{},"e":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}},",":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}},"i":{"docs":{},"b":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"c":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.019867549668874173},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"o":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}},"e":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"或":{"docs":{},"下":{"docs":{},"标":{"docs":{},",":{"docs":{},"在":{"docs":{},"编":{"docs":{},"译":{"docs":{},"时":{"docs":{},"会":{"docs":{},"报":{"docs":{},"错":{"docs":{},"。":{"docs":{},"在":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"中":{"docs":{},",":{"docs":{},"你":{"docs":{},"添":{"docs":{},"加":{"docs":{},"到":{"docs":{},"类":{"docs":{},"里":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"属":{"docs":{},"性":{"docs":{},"或":{"docs":{},"下":{"docs":{},"标":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"的":{"docs":{},"定":{"docs":{},"义":{"docs":{},"里":{"docs":{},"标":{"docs":{},"记":{"docs":{},"为":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"防":{"docs":{},"止":{"docs":{},"它":{"docs":{},"们":{"docs":{},"被":{"docs":{},"重":{"docs":{},"写":{"docs":{},",":{"docs":{},"只":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"声":{"docs":{},"明":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"前":{"docs":{},"加":{"docs":{},"上":{"docs":{},"@":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"特":{"docs":{},"性":{"docs":{},"即":{"docs":{},"可":{"docs":{},"。":{"docs":{},"(":{"docs":{},"例":{"docs":{},"如":{"docs":{},":":{"docs":{},"@":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"(":{"docs":{},"[":{"3":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"docs":{},"\"":{"docs":{},"m":{"docs":{},"i":{"docs":{},"k":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"<":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},">":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}},"中":{"docs":{},"这":{"docs":{},"个":{"docs":{},"单":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"写":{"docs":{},"做":{"docs":{},":":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"现":{"docs":{},"在":{"docs":{},"则":{"docs":{},"可":{"docs":{},"以":{"docs":{},"成":{"docs":{},"功":{"docs":{},"的":{"docs":{},"编":{"docs":{},"译":{"docs":{},"过":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"作":{"docs":{},"用":{"docs":{},"于":{"docs":{},"任":{"docs":{},"何":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"如":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"或":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"用":{"docs":{},"某":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"的":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"版":{"docs":{},"本":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"。":{"docs":{},"请":{"docs":{},"注":{"docs":{},"意":{"docs":{},"这":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"仍":{"docs":{},"然":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"非":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"该":{"docs":{},"函":{"docs":{},"数":{"docs":{},"功":{"docs":{},"能":{"docs":{},"是":{"docs":{},"去":{"docs":{},"查":{"docs":{},"找":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"给":{"docs":{},"定":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"若":{"docs":{},"查":{"docs":{},"找":{"docs":{},"到":{"docs":{},"匹":{"docs":{},"配":{"docs":{},"的":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},",":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"该":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"在":{"docs":{},"数":{"docs":{},"组":{"docs":{},"中":{"docs":{},"的":{"docs":{},"索":{"docs":{},"引":{"docs":{},"值":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},")":{"docs":{},",":{"docs":{},"反":{"docs":{},"之":{"docs":{},"则":{"docs":{},"返":{"docs":{},"回":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"x":{"docs":{},"e":{"docs":{},"d":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},".":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"b":{"docs":{},"y":{"docs":{},"x":{"docs":{},"(":{"2":{"docs":{},".":{"0":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"docs":{}}},"docs":{}}}}}}}}}}}}}}}}}},"l":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"并":{"docs":{},"指":{"docs":{},"定":{"docs":{},"初":{"docs":{},"始":{"docs":{},"值":{"docs":{},"为":{"4":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"docs":{}}}}}}}},"表":{"docs":{},"示":{"3":{"2":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}}}},"w":{"docs":{},")":{"docs":{},"中":{"docs":{},"介":{"docs":{},"绍":{"docs":{},",":{"docs":{},"当":{"docs":{},"考":{"docs":{},"虑":{"docs":{},"一":{"docs":{},"个":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"们":{"docs":{},"时":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"语":{"docs":{},"句":{"docs":{},"必":{"docs":{},"须":{"docs":{},"全":{"docs":{},"面":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"忽":{"docs":{},"略":{"docs":{},"了":{"docs":{},".":{"docs":{},"w":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},",":{"docs":{},"上":{"docs":{},"面":{"docs":{},"那":{"docs":{},"段":{"docs":{},"代":{"docs":{},"码":{"docs":{},"将":{"docs":{},"无":{"docs":{},"法":{"docs":{},"通":{"docs":{},"过":{"docs":{},"编":{"docs":{},"译":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"没":{"docs":{},"有":{"docs":{},"考":{"docs":{},"虑":{"docs":{},"到":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"s":{"docs":{},"u":{"docs":{},"m":{"docs":{},"m":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}},"i":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"l":{"docs":{},"y":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.010752688172043012}},"e":{"docs":{},"的":{"docs":{},"值":{"docs":{},"从":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{},"!":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"改":{"docs":{},"为":{"docs":{},"了":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{},";":{"docs":{},"b":{"docs":{},"o":{"docs":{},"n":{"docs":{},"j":{"docs":{},"o":{"docs":{},"u":{"docs":{},"r":{"docs":{},"!":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{},"方":{"docs":{},"法":{"docs":{},"来":{"docs":{},"试":{"docs":{},"图":{"docs":{},"找":{"docs":{},"到":{"docs":{},"具":{"docs":{},"有":{"docs":{},"特":{"docs":{},"定":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"例":{"docs":{},"子":{"docs":{},"通":{"docs":{},"过":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"7":{"docs":{},"识":{"docs":{},"别":{"docs":{},"u":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"u":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}}},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0282021151586369},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.04033379694019471},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.013157894736842105},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.039603960396039604},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.01775147928994083},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.03288490284005979}},"来":{"docs":{},"声":{"docs":{},"明":{"docs":{},"一":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"使":{"docs":{},"用":{"docs":{},"名":{"docs":{},"字":{"docs":{},"和":{"docs":{},"参":{"docs":{},"数":{"docs":{},"来":{"docs":{},"调":{"docs":{},"用":{"docs":{},"函":{"docs":{},"数":{"docs":{},"。":{"docs":{},"使":{"docs":{},"用":{"docs":{},"-":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.49015104958437106},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01046337817638266}},"s":{"docs":{},")":{"docs":{},"函":{"docs":{},"数":{"docs":{},"参":{"docs":{},"数":{"docs":{},"与":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}},"的":{"docs":{},"定":{"docs":{},"义":{"docs":{},"与":{"docs":{},"调":{"docs":{},"用":{"docs":{},"(":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"们":{"docs":{},"定":{"docs":{},"义":{"docs":{},"在":{"docs":{},"全":{"docs":{},"局":{"docs":{},"域":{"docs":{},"中":{"docs":{},"。":{"docs":{},"你":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"把":{"docs":{},"函":{"docs":{},"数":{"docs":{},"定":{"docs":{},"义":{"docs":{},"在":{"docs":{},"别":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"体":{"docs":{},"中":{"docs":{},",":{"docs":{},"称":{"docs":{},"作":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"函":{"docs":{},"数":{"docs":{},"(":{"docs":{},"n":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"y":{"docs":{},")":{"docs":{},"。":{"docs":{},"这":{"docs":{},"包":{"docs":{},"括":{"docs":{},"在":{"docs":{},"没":{"docs":{},"有":{"docs":{},"权":{"docs":{},"限":{"docs":{},"获":{"docs":{},"取":{"docs":{},"原":{"docs":{},"始":{"docs":{},"源":{"docs":{},"代":{"docs":{},"码":{"docs":{},"的":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"能":{"docs":{},"力":{"docs":{},"(":{"docs":{},"即":{"docs":{},"逆":{"docs":{},"向":{"docs":{},"建":{"docs":{},"模":{"docs":{},")":{"docs":{},"。":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"和":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},"的":{"docs":{},"分":{"docs":{},"类":{"docs":{},"(":{"docs":{},"c":{"docs":{},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"e":{"docs":{},"s":{"docs":{},")":{"docs":{},"类":{"docs":{},"似":{"docs":{},"。":{"docs":{},"(":{"docs":{},"不":{"docs":{},"过":{"docs":{},"与":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"是":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"作":{"docs":{},"为":{"docs":{},"前":{"docs":{},"缀":{"docs":{},"。":{"docs":{},"指":{"docs":{},"定":{"docs":{},"函":{"docs":{},"数":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"时":{"docs":{},",":{"docs":{},"用":{"docs":{},"返":{"docs":{},"回":{"docs":{},"箭":{"docs":{},"头":{"docs":{},"-":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"之":{"docs":{},"前":{"docs":{},"加":{"docs":{},"上":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},";":{"docs":{},"声":{"docs":{},"明":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"在":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"之":{"docs":{},"前":{"docs":{},"加":{"docs":{},"上":{"docs":{},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"h":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.007766990291262136},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.02364394993045897},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.011494252873563218},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"-":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}},"p":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}},"s":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"成":{"docs":{},"员":{"docs":{},":":{"docs":{},"给":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"常":{"docs":{},"量":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"时":{"docs":{},",":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"需":{"docs":{},"要":{"docs":{},"用":{"docs":{},"全":{"docs":{},"名":{"docs":{},"来":{"docs":{},"引":{"docs":{},"用":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"常":{"docs":{},"量":{"docs":{},"没":{"docs":{},"有":{"docs":{},"显":{"docs":{},"式":{"docs":{},"指":{"docs":{},"定":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"里":{"docs":{},",":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"成":{"docs":{},"员":{"docs":{},"使":{"docs":{},"用":{"docs":{},"缩":{"docs":{},"写":{"docs":{},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},"来":{"docs":{},"引":{"docs":{},"用":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},"的":{"docs":{},"值":{"docs":{},"已":{"docs":{},"经":{"docs":{},"知":{"docs":{},"道":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"y":{"docs":{},"m":{"docs":{},"b":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"’":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"x":{"docs":{},"a":{"docs":{},"d":{"docs":{},"e":{"docs":{},"c":{"docs":{},"i":{"docs":{},"m":{"docs":{},"a":{"docs":{},"l":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}},"=":{"docs":{},"\"":{"1":{"2":{"0":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"6":{"9":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"docs":{}},"docs":{}}}}}}}},"a":{"docs":{},"s":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"(":{"docs":{},"l":{"docs":{},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"p":{"docs":{},"r":{"docs":{},"e":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"/":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{},"f":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}}}},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"e":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.008928571428571428}}}}},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"d":{"docs":{},"o":{"docs":{},"o":{"docs":{},"r":{"docs":{},"k":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286}}}}}}}}}},"l":{"docs":{},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"f":{"docs":{},"o":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"m":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}}}}}}}},"w":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"o":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}},"s":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}},"t":{"docs":{},"t":{"docs":{},"p":{"2":{"0":{"0":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},"s":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"4":{"0":{"4":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}},".":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"1":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}}}}}},"docs":{}},"docs":{}},"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}}}}},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"u":{"docs":{},"n":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"d":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"h":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.8372859025032937},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}},"u":{"docs":{},"m":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}},"o":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.09523809523809523},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.017921146953405017},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},",":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"时":{"docs":{},"很":{"docs":{},"相":{"docs":{},"似":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"约":{"docs":{},"定":{"docs":{},"还":{"docs":{},"让":{"docs":{},"e":{"docs":{},"x":{"docs":{},"p":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}},"里":{"docs":{},"面":{"docs":{},",":{"docs":{},"你":{"docs":{},"只":{"docs":{},"能":{"docs":{},"为":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"的":{"docs":{},"类":{"docs":{},"定":{"docs":{},"义":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"-":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"中":{"docs":{},"表":{"docs":{},"示":{"docs":{},"的":{"docs":{},"声":{"docs":{},"明":{"docs":{},",":{"docs":{},"比":{"docs":{},"如":{"docs":{},",":{"docs":{},"非":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"类":{"docs":{},",":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"类":{"docs":{},"和":{"docs":{},"协":{"docs":{},"议":{"docs":{},"中":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"和":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"包":{"docs":{},"含":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},")":{"docs":{},",":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},",":{"docs":{},"析":{"docs":{},"构":{"docs":{},"器":{"docs":{},",":{"docs":{},"以":{"docs":{},"下":{"docs":{},"下":{"docs":{},"标":{"docs":{},"。":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{},"特":{"docs":{},"性":{"docs":{},"告":{"docs":{},"诉":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"该":{"docs":{},"声":{"docs":{},"明":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.02197802197802198}},"(":{"docs":{},"i":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}},"特":{"docs":{},"性":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"一":{"docs":{},"个":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"_":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"特":{"docs":{},"性":{"docs":{},"就":{"docs":{},"会":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"地":{"docs":{},"应":{"docs":{},"用":{"docs":{},"到":{"docs":{},"该":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"无":{"docs":{},"需":{"docs":{},"显":{"docs":{},"式":{"docs":{},"地":{"docs":{},"用":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"_":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"应":{"docs":{},"用":{"docs":{},"于":{"docs":{},"一":{"docs":{},"个":{"docs":{},"类":{"docs":{},"或":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"它":{"docs":{},"也":{"docs":{},"会":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"地":{"docs":{},"应":{"docs":{},"用":{"docs":{},"于":{"docs":{},"那":{"docs":{},"个":{"docs":{},"类":{"docs":{},"或":{"docs":{},"协":{"docs":{},"议":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"标":{"docs":{},"记":{"docs":{},"了":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{},"特":{"docs":{},"性":{"docs":{},"的":{"docs":{},"类":{"docs":{},",":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"会":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"地":{"docs":{},"为":{"docs":{},"它":{"docs":{},"的":{"docs":{},"子":{"docs":{},"类":{"docs":{},"添":{"docs":{},"加":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{},"特":{"docs":{},"性":{"docs":{},"。":{"docs":{},"标":{"docs":{},"记":{"docs":{},"了":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{},"特":{"docs":{},"性":{"docs":{},"的":{"docs":{},"协":{"docs":{},"议":{"docs":{},"不":{"docs":{},"能":{"docs":{},"继":{"docs":{},"承":{"docs":{},"自":{"docs":{},"没":{"docs":{},"有":{"docs":{},"标":{"docs":{},"记":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"由":{"docs":{},"标":{"docs":{},"记":{"docs":{},"符":{"docs":{},"组":{"docs":{},"成":{"docs":{},"。":{"docs":{},"当":{"docs":{},"你":{"docs":{},"想":{"docs":{},"把":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{},"所":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"的":{"docs":{},"实":{"docs":{},"体":{"docs":{},"以":{"docs":{},"一":{"docs":{},"个":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"暴":{"docs":{},"露":{"docs":{},"给":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},",":{"docs":{},"你":{"docs":{},"就":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"这":{"docs":{},"个":{"docs":{},"特":{"docs":{},"性":{"docs":{},"参":{"docs":{},"数":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"这":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"来":{"docs":{},"命":{"docs":{},"名":{"docs":{},"类":{"docs":{},",":{"docs":{},"协":{"docs":{},"议":{"docs":{},",":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},",":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"。":{"docs":{},"下":{"docs":{},"面":{"docs":{},"的":{"docs":{},"例":{"docs":{},"子":{"docs":{},"把":{"docs":{},"e":{"docs":{},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"中":{"docs":{},"e":{"docs":{},"n":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"暴":{"docs":{},"露":{"docs":{},"给":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},",":{"docs":{},"名":{"docs":{},"字":{"docs":{},"是":{"docs":{},"i":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"e":{"docs":{},"r":{"docs":{},"v":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":5.004149377593361},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"r":{"docs":{},")":{"docs":{},",":{"docs":{},"这":{"docs":{},"样":{"docs":{},"一":{"docs":{},"来":{"docs":{},",":{"docs":{},"当":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"改":{"docs":{},"变":{"docs":{},"时":{"docs":{},",":{"docs":{},"类":{"docs":{},"就":{"docs":{},"会":{"docs":{},"被":{"docs":{},"通":{"docs":{},"知":{"docs":{},"到":{"docs":{},"。":{"docs":{},"可":{"docs":{},"以":{"docs":{},"为":{"docs":{},"任":{"docs":{},"何":{"docs":{},"属":{"docs":{},"性":{"docs":{},"添":{"docs":{},"加":{"docs":{},"属":{"docs":{},"性":{"docs":{},"观":{"docs":{},"察":{"docs":{},"器":{"docs":{},",":{"docs":{},"无":{"docs":{},"论":{"docs":{},"它":{"docs":{},"原":{"docs":{},"本":{"docs":{},"被":{"docs":{},"定":{"docs":{},"义":{"docs":{},"为":{"docs":{},"存":{"docs":{},"储":{"docs":{},"型":{"docs":{},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.047619047619047616},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"c":{"docs":{},"c":{"docs":{},"u":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"a":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"[":{"docs":{},"\"":{"docs":{},"j":{"docs":{},"a":{"docs":{},"y":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"t":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}},"p":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.041666666666666664}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.016129032258064516},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":5.009933774834437},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.014229249011857707},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"e":{"docs":{},"改":{"docs":{},"成":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},",":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"会":{"docs":{},"是":{"docs":{},"什":{"docs":{},"么":{"docs":{},"?":{"docs":{},"添":{"docs":{},"加":{"docs":{},"一":{"docs":{},"个":{"docs":{},"e":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},"语":{"docs":{},"句":{"docs":{},",":{"docs":{},"当":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},"时":{"docs":{},"给":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"e":{"docs":{},"?":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"<":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}},"特":{"docs":{},"性":{"docs":{},"修":{"docs":{},"饰":{"docs":{},"那":{"docs":{},"些":{"docs":{},"标":{"docs":{},"记":{"docs":{},"了":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"c":{"docs":{},"特":{"docs":{},"性":{"docs":{},"的":{"docs":{},"协":{"docs":{},"议":{"docs":{},"。":{"docs":{},"因":{"docs":{},"此":{"docs":{},",":{"docs":{},"只":{"docs":{},"有":{"docs":{},"类":{"docs":{},"类":{"docs":{},"型":{"docs":{},"可":{"docs":{},"以":{"docs":{},"a":{"docs":{},"d":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{},"和":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.012648221343873518}}}}},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"e":{"docs":{},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},"e":{"docs":{},"和":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{},"i":{"docs":{},"p":{"docs":{},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"会":{"docs":{},"被":{"docs":{},"推":{"docs":{},"测":{"docs":{},"为":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"初":{"docs":{},"值":{"docs":{},"是":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"。":{"docs":{},"就":{"docs":{},"像":{"docs":{},"之":{"docs":{},"前":{"docs":{},"提":{"docs":{},"到":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"给":{"docs":{},"它":{"docs":{},"们":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},"或":{"docs":{},"者":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},",":{"docs":{},"那":{"docs":{},"你":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"给":{"docs":{},"常":{"docs":{},"量":{"docs":{},"或":{"docs":{},"者":{"docs":{},"变":{"docs":{},"量":{"docs":{},"标":{"docs":{},"明":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"i":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}},"i":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}},"x":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}},"d":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498}},"e":{"docs":{},"标":{"docs":{},"记":{"docs":{},"—":{"docs":{},"—":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"添":{"docs":{},"加":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"就":{"docs":{},"重":{"docs":{},"写":{"docs":{},"父":{"docs":{},"类":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"话":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"会":{"docs":{},"报":{"docs":{},"错":{"docs":{},"。":{"docs":{},"编":{"docs":{},"译":{"docs":{},"器":{"docs":{},"同":{"docs":{},"样":{"docs":{},"会":{"docs":{},"检":{"docs":{},"测":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"。":{"docs":{},"这":{"docs":{},"么":{"docs":{},"做":{"docs":{},",":{"docs":{},"你":{"docs":{},"就":{"docs":{},"表":{"docs":{},"明":{"docs":{},"了":{"docs":{},"你":{"docs":{},"是":{"docs":{},"想":{"docs":{},"提":{"docs":{},"供":{"docs":{},"一":{"docs":{},"个":{"docs":{},"重":{"docs":{},"写":{"docs":{},"版":{"docs":{},"本":{"docs":{},",":{"docs":{},"而":{"docs":{},"非":{"docs":{},"错":{"docs":{},"误":{"docs":{},"地":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"定":{"docs":{},"义":{"docs":{},"。":{"docs":{},"意":{"docs":{},"外":{"docs":{},"的":{"docs":{},"重":{"docs":{},"写":{"docs":{},"行":{"docs":{},"为":{"docs":{},"可":{"docs":{},"能":{"docs":{},"会":{"docs":{},"导":{"docs":{},"致":{"docs":{},"不":{"docs":{},"可":{"docs":{},"预":{"docs":{},"知":{"docs":{},"的":{"docs":{},"错":{"docs":{},"误":{"docs":{},",":{"docs":{},"任":{"docs":{},"何":{"docs":{},"缺":{"docs":{},"少":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"会":{"docs":{},"提":{"docs":{},"醒":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}},"n":{"docs":{},"l":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425}},".":{"docs":{},"n":{"docs":{},"e":{"docs":{},"x":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}}}}}}}}}}}}},"k":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"m":{"docs":{},"i":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}}},"u":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}},"p":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.010526315789473684},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.032520325203252036}}}}}}},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.005563282336578581}}}}}},"d":{"docs":{},"y":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}}}},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.026905829596412557},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.02197802197802198}},"o":{"docs":{},"u":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.023809523809523808},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}},"d":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"和":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"方":{"docs":{},"法":{"docs":{},"可":{"docs":{},"能":{"docs":{},"会":{"docs":{},"失":{"docs":{},"败":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"它":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"。":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"被":{"docs":{},"写":{"docs":{},"作":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"?":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"。":{"docs":{},"问":{"docs":{},"号":{"docs":{},"暗":{"docs":{},"示":{"docs":{},"包":{"docs":{},"含":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"可":{"docs":{},"选":{"docs":{},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"是":{"docs":{},"说":{"docs":{},"可":{"docs":{},"能":{"docs":{},"包":{"docs":{},"含":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"值":{"docs":{},"也":{"docs":{},"可":{"docs":{},"能":{"docs":{},"不":{"docs":{},"包":{"docs":{},"含":{"docs":{},"值":{"docs":{},"。":{"docs":{},"(":{"docs":{},"不":{"docs":{},"能":{"docs":{},"包":{"docs":{},"含":{"docs":{},"其":{"docs":{},"他":{"docs":{},"任":{"docs":{},"何":{"docs":{},"值":{"docs":{},"比":{"docs":{},"如":{"docs":{},"b":{"docs":{},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{},"值":{"docs":{},"或":{"docs":{},"者":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"值":{"docs":{},"。":{"docs":{},"只":{"docs":{},"能":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"尝":{"docs":{},"试":{"docs":{},"将":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"转":{"docs":{},"换":{"docs":{},"成":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"b":{"docs":{},"i":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.006954102920723227}}}}},"t":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.005563282336578581}},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}},"那":{"docs":{},"些":{"docs":{},"包":{"docs":{},"含":{"docs":{},"可":{"docs":{},"选":{"docs":{},"成":{"docs":{},"员":{"docs":{},"需":{"docs":{},"求":{"docs":{},"的":{"docs":{},"协":{"docs":{},"议":{"docs":{},"。":{"docs":{},"更":{"docs":{},"多":{"docs":{},"关":{"docs":{},"于":{"docs":{},"如":{"docs":{},"何":{"docs":{},"使":{"docs":{},"用":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"l":{"docs":{},"特":{"docs":{},"性":{"docs":{},"以":{"docs":{},"及":{"docs":{},"如":{"docs":{},"何":{"docs":{},"访":{"docs":{},"问":{"docs":{},"可":{"docs":{},"选":{"docs":{},"协":{"docs":{},"议":{"docs":{},"成":{"docs":{},"员":{"docs":{},"的":{"docs":{},"指":{"docs":{},"导":{"docs":{},",":{"docs":{},"例":{"docs":{},"如":{"docs":{},",":{"docs":{},"当":{"docs":{},"你":{"docs":{},"不":{"docs":{},"确":{"docs":{},"定":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},".":{"docs":{},"g":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"a":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},".":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}},"k":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498}},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}},"类":{"docs":{},"也":{"docs":{},"继":{"docs":{},"承":{"docs":{},"了":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}},"b":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"l":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}},"e":{"docs":{},"a":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"m":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}}}}}}}},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}},".":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"m":{"docs":{},"i":{"docs":{},"n":{"docs":{},"o":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":1.6686084142394821}}}}}}}}},"r":{"docs":{},"a":{"docs":{},"p":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"m":{"docs":{},"p":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.01195814648729447}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"e":{"docs":{},"s":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"的":{"docs":{},"值":{"docs":{},"被":{"docs":{},"用":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"[":{"6":{"docs":{},"]":{"docs":{},"。":{"docs":{},"这":{"docs":{},"句":{"docs":{},"话":{"docs":{},"访":{"docs":{},"问":{"docs":{},"了":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"第":{"docs":{},"六":{"docs":{},"个":{"docs":{},"元":{"docs":{},"素":{"docs":{},",":{"docs":{},"返":{"docs":{},"回":{"1":{"8":{"docs":{},"或":{"docs":{},"者":{"6":{"docs":{},"的":{"3":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{}}},"docs":{}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}},"f":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}}},"o":{"docs":{},"u":{"docs":{},"g":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0071146245059288534}},"s":{"docs":{},".":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"(":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},".":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}},"docs":{}}},"3":{"docs":{},".":{"1":{"4":{"1":{"5":{"9":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}},"docs":{}},"docs":{}},"docs":{}},"docs":{}},"docs":{}}},"4":{"2":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}},"docs":{}},"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"(":{"3":{"docs":{},".":{"0":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}},"docs":{}}},"docs":{}},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}},"数":{"docs":{},"组":{"docs":{},"中":{"docs":{},"的":{"docs":{},"每":{"docs":{},"一":{"docs":{},"项":{"docs":{},"的":{"docs":{},"并":{"docs":{},"用":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"语":{"docs":{},"句":{"docs":{},"查":{"docs":{},"找":{"docs":{},"每":{"docs":{},"一":{"docs":{},"项":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"这":{"docs":{},"几":{"docs":{},"种":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"s":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"e":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}},"e":{"docs":{},"s":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"s":{"docs":{},"t":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"(":{"docs":{},"m":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}},"例":{"docs":{},"子":{"docs":{},"是":{"docs":{},"基":{"docs":{},"于":{"docs":{},"一":{"docs":{},"个":{"docs":{},"固":{"docs":{},"定":{"docs":{},"的":{"docs":{},"数":{"docs":{},"学":{"docs":{},"公":{"docs":{},"式":{"docs":{},"。":{"docs":{},"它":{"docs":{},"并":{"docs":{},"不":{"docs":{},"适":{"docs":{},"合":{"docs":{},"开":{"docs":{},"放":{"docs":{},"写":{"docs":{},"权":{"docs":{},"限":{"docs":{},"来":{"docs":{},"对":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"[":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},"只":{"docs":{},"读":{"docs":{},"下":{"docs":{},"标":{"docs":{},"的":{"docs":{},"用":{"docs":{},"法":{"docs":{},",":{"docs":{},"该":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"用":{"docs":{},"来":{"docs":{},"展":{"docs":{},"示":{"docs":{},"传":{"docs":{},"入":{"docs":{},"整":{"docs":{},"数":{"docs":{},"的":{"docs":{},"n":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"用":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"索":{"docs":{},"引":{"docs":{},"值":{"docs":{},"三":{"docs":{},"倍":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"数":{"docs":{},"值":{"3":{"docs":{},"作":{"docs":{},"为":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},"入":{"docs":{},"参":{"docs":{},"表":{"docs":{},"示":{"docs":{},"这":{"docs":{},"个":{"docs":{},"值":{"docs":{},"将":{"docs":{},"成":{"docs":{},"为":{"docs":{},"实":{"docs":{},"例":{"docs":{},"成":{"docs":{},"员":{"docs":{},"m":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.008928571428571428}},"i":{"docs":{},"a":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}},"e":{"docs":{},".":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"i":{"docs":{},"m":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"e":{"docs":{},"(":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},".":{"docs":{},"s":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"e":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{},"e":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},".":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}},"g":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"u":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.044642857142857144},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"。":{"docs":{},"从":{"docs":{},"字":{"docs":{},"面":{"docs":{},"意":{"docs":{},"思":{"docs":{},"来":{"docs":{},"说":{"docs":{},",":{"docs":{},"断":{"docs":{},"言":{"docs":{},"“":{"docs":{},"断":{"docs":{},"言":{"docs":{},"”":{"docs":{},"一":{"docs":{},"个":{"docs":{},"条":{"docs":{},"件":{"docs":{},"是":{"docs":{},"否":{"docs":{},"为":{"docs":{},"真":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"断":{"docs":{},"言":{"docs":{},"来":{"docs":{},"保":{"docs":{},"证":{"docs":{},"在":{"docs":{},"运":{"docs":{},"行":{"docs":{},"其":{"docs":{},"他":{"docs":{},"代":{"docs":{},"码":{"docs":{},"之":{"docs":{},"前":{"docs":{},",":{"docs":{},"某":{"docs":{},"些":{"docs":{},"重":{"docs":{},"要":{"docs":{},"的":{"docs":{},"条":{"docs":{},"件":{"docs":{},"已":{"docs":{},"经":{"docs":{},"被":{"docs":{},"满":{"docs":{},"足":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"条":{"docs":{},"件":{"docs":{},"判":{"docs":{},"断":{"docs":{},"为":{"docs":{},"t":{"docs":{},"r":{"docs":{},"u":{"docs":{},"e":{"docs":{},",":{"docs":{},"代":{"docs":{},"码":{"docs":{},"运":{"docs":{},"行":{"docs":{},"会":{"docs":{},"继":{"docs":{},"续":{"docs":{},"进":{"docs":{},"行":{"docs":{},";":{"docs":{},"如":{"docs":{},"果":{"docs":{},"条":{"docs":{},"件":{"docs":{},"判":{"docs":{},"断":{"docs":{},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"和":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}},"a":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.016597510373443983}}}}},"i":{"docs":{},"l":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.034210526315789476},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"c":{"docs":{},"k":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"v":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"t":{"docs":{},"o":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{},"(":{"docs":{},"l":{"docs":{},"e":{"docs":{},"v":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"a":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"y":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}}}},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"d":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"l":{"docs":{},"i":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"p":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"r":{"docs":{},"n":{"docs":{},"i":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}}}}}}}}},"w":{"docs":{},"o":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0071146245059288534},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},",":{"docs":{},"然":{"docs":{},"而":{"docs":{},"常":{"docs":{},"量":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"8":{"docs":{},"。":{"docs":{},"它":{"docs":{},"们":{"docs":{},"不":{"docs":{},"能":{"docs":{},"直":{"docs":{},"接":{"docs":{},"相":{"docs":{},"加":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"们":{"docs":{},"类":{"docs":{},"型":{"docs":{},"不":{"docs":{},"同":{"docs":{},"。":{"docs":{},"所":{"docs":{},"以":{"docs":{},"要":{"docs":{},"调":{"docs":{},"用":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"(":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},")":{"docs":{},"来":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"u":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"1":{"6":{"docs":{},"数":{"docs":{},"字":{"docs":{},"并":{"docs":{},"用":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.47485202315877995},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.4521093413689195},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":3.3862977602108035},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":5.013452914798206},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.007473841554559043}}}}}},"s":{"docs":{},")":{"docs":{},"使":{"docs":{},"用":{"docs":{},"函":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"作":{"docs":{},"为":{"docs":{},"参":{"docs":{},"数":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}}}},"嵌":{"docs":{},"套":{"docs":{},"函":{"docs":{},"数":{"docs":{},"(":{"docs":{},"n":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}},"中":{"docs":{},"知":{"docs":{},"道":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"有":{"docs":{},"默":{"docs":{},"认":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"所":{"docs":{},"以":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"默":{"docs":{},"认":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"去":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"新":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"p":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},"。":{"docs":{},",":{"docs":{},"即":{"docs":{},"使":{"docs":{},"是":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"本":{"docs":{},"是":{"docs":{},"没":{"docs":{},"有":{"docs":{},"定":{"docs":{},"义":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},",":{"docs":{},"你":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"i":{"docs":{},"f":{"docs":{},"语":{"docs":{},"句":{"docs":{},"来":{"docs":{},"检":{"docs":{},"查":{"docs":{},"是":{"docs":{},"否":{"docs":{},"能":{"docs":{},"成":{"docs":{},"功":{"docs":{},"调":{"docs":{},"用":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"方":{"docs":{},"法":{"docs":{},":":{"docs":{},"如":{"docs":{},"果":{"docs":{},"方":{"docs":{},"法":{"docs":{},"通":{"docs":{},"过":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"调":{"docs":{},"用":{"docs":{},"成":{"docs":{},"功":{"docs":{},",":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"的":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"将":{"docs":{},"会":{"docs":{},"是":{"docs":{},"v":{"docs":{},"o":{"docs":{},"i":{"docs":{},"d":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"成":{"docs":{},"功":{"docs":{},",":{"docs":{},"将":{"docs":{},"返":{"docs":{},"回":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"-":{"docs":{},"s":{"docs":{},"a":{"docs":{},"f":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.024553571428571428}},">":{"1":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}},"*":{"docs":{},"<":{"docs":{},"/":{"docs":{},"t":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}},"2":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"3":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"4":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"5":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"6":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"7":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"8":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"9":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"docs":{}}},")":{"docs":{},"是":{"docs":{},"用":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"括":{"docs":{},"起":{"docs":{},"来":{"docs":{},"的":{"docs":{},"(":{"docs":{},"<":{"docs":{},"t":{"docs":{},">":{"docs":{},")":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"尖":{"docs":{},"括":{"docs":{},"号":{"docs":{},"告":{"docs":{},"诉":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"那":{"docs":{},"个":{"docs":{},"t":{"docs":{},"是":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"所":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"因":{"docs":{},"为":{"docs":{},"t":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"节":{"docs":{},"点":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"不":{"docs":{},"会":{"docs":{},"去":{"docs":{},"查":{"docs":{},"找":{"docs":{},"每":{"docs":{},"一":{"docs":{},"个":{"docs":{},"命":{"docs":{},"名":{"docs":{},"为":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"分":{"docs":{},"别":{"docs":{},"代":{"docs":{},"表":{"docs":{},"t":{"docs":{},"n":{"docs":{},"t":{"docs":{},"和":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"为":{"docs":{},"“":{"docs":{},"某":{"docs":{},"种":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{},"”":{"docs":{},"的":{"docs":{},"节":{"docs":{},"点":{"docs":{},"提":{"docs":{},"供":{"docs":{},"给":{"docs":{},"后":{"docs":{},"来":{"docs":{},"用":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"将":{"docs":{},"来":{"docs":{},"类":{"docs":{},"型":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"的":{"docs":{},"定":{"docs":{},"义":{"docs":{},"里":{"docs":{},"任":{"docs":{},"何":{"docs":{},"地":{"docs":{},"方":{"docs":{},"表":{"docs":{},"示":{"docs":{},"为":{"docs":{},"“":{"docs":{},"t":{"docs":{},"”":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"种":{"docs":{},"情":{"docs":{},"况":{"docs":{},"下":{"docs":{},",":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},")":{"docs":{},"来":{"docs":{},"代":{"docs":{},"替":{"docs":{},"实":{"docs":{},"际":{"docs":{},"类":{"docs":{},"型":{"docs":{},"名":{"docs":{},"(":{"docs":{},"如":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"、":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"或":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},")":{"docs":{},"。":{"docs":{},"节":{"docs":{},"点":{"docs":{},"类":{"docs":{},"型":{"docs":{},"名":{"docs":{},"并":{"docs":{},"不":{"docs":{},"是":{"docs":{},"表":{"docs":{},"示":{"docs":{},"t":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"其":{"docs":{},"规":{"docs":{},"定":{"docs":{},"a":{"docs":{},"和":{"docs":{},"b":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"同":{"docs":{},"一":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"t":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"管":{"docs":{},"t":{"docs":{},"表":{"docs":{},"示":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"只":{"docs":{},"有":{"docs":{},"s":{"docs":{},"w":{"docs":{},"a":{"docs":{},"p":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"s":{"docs":{},"函":{"docs":{},"数":{"docs":{},"在":{"docs":{},"每":{"docs":{},"次":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},"所":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"实":{"docs":{},"际":{"docs":{},"类":{"docs":{},"型":{"docs":{},"决":{"docs":{},"定":{"docs":{},"了":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"被":{"docs":{},"用":{"docs":{},"作":{"docs":{},"a":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"参":{"docs":{},"数":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"因":{"docs":{},"此":{"docs":{},"可":{"docs":{},"以":{"docs":{},"推":{"docs":{},"断":{"docs":{},"出":{"docs":{},"被":{"docs":{},"用":{"docs":{},"作":{"docs":{},"这":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"容":{"docs":{},"器":{"docs":{},"的":{"docs":{},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{},"e":{"docs":{},"的":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"需":{"docs":{},"要":{"docs":{},"t":{"docs":{},"必":{"docs":{},"须":{"docs":{},"是":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"子":{"docs":{},"类":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"约":{"docs":{},"束":{"docs":{},";":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"参":{"docs":{},"数":{"docs":{},"u":{"docs":{},",":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"需":{"docs":{},"要":{"docs":{},"u":{"docs":{},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"s":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"@":{"docs":{},"n":{"docs":{},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.02197802197802198}}}}}}}}}}}}}},"x":{"2":{"4":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"docs":{"chapter1/01_swift.html#gitbook_36":{"ref":"chapter1/01_swift.html#gitbook_36","tf":0.047619047619047616},"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.019801980198019802},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},".":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"u":{"docs":{},"f":{"docs":{},"f":{"docs":{},"i":{"docs":{},"x":{"docs":{},"(":{"docs":{},"\"":{"docs":{},"p":{"docs":{},"e":{"docs":{},"p":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.013908205841446454},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.078125},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.02391629297458894}},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"j":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}},"s":{"docs":{},"i":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"e":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}},"(":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}},"二":{"docs":{},"十":{"docs":{},"一":{"docs":{},"点":{"docs":{},")":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"模":{"docs":{},"拟":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"中":{"docs":{},"的":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"点":{"docs":{},"数":{"docs":{},"。":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"j":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"包":{"docs":{},"含":{"2":{"docs":{},"个":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"类":{"docs":{},"型":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},".":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},".":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"s":{"docs":{},".":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"没":{"docs":{},"有":{"docs":{},"自":{"docs":{},"定":{"docs":{},"义":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},"的":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},",":{"docs":{},"在":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"w":{"docs":{},"i":{"docs":{},"s":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"自":{"docs":{},"身":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"—":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"与":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},",":{"docs":{},"也":{"docs":{},"同":{"docs":{},"样":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},",":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"属":{"docs":{},"性":{"docs":{},"用":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"和":{"docs":{},"s":{"docs":{},"u":{"docs":{},"i":{"docs":{},"t":{"docs":{},"的":{"docs":{},"中":{"docs":{},"内":{"docs":{},"容":{"docs":{},"来":{"docs":{},"构":{"docs":{},"建":{"docs":{},"对":{"docs":{},"这":{"docs":{},"张":{"docs":{},"扑":{"docs":{},"克":{"docs":{},"牌":{"docs":{},"名":{"docs":{},"字":{"docs":{},"和":{"docs":{},"数":{"docs":{},"值":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},",":{"docs":{},"并":{"docs":{},"用":{"docs":{},"可":{"docs":{},"选":{"docs":{},"类":{"docs":{},"型":{"docs":{},"s":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"规":{"docs":{},"则":{"docs":{},"中":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"牌":{"docs":{},"可":{"docs":{},"以":{"docs":{},"表":{"docs":{},"示":{"1":{"docs":{},"或":{"docs":{},"者":{"1":{"1":{"docs":{},",":{"docs":{},"a":{"docs":{},"c":{"docs":{},"e":{"docs":{},"牌":{"docs":{},"的":{"docs":{},"这":{"docs":{},"一":{"docs":{},"特":{"docs":{},"征":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"嵌":{"docs":{},"套":{"docs":{},"在":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"型":{"docs":{},"r":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"的":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.08333333333333333}}}}}},"o":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.02631578947368421},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.007425742574257425},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"。":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},"是":{"docs":{},"指":{"docs":{},"逻":{"docs":{},"辑":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"们":{"docs":{},"只":{"docs":{},"能":{"docs":{},"是":{"docs":{},"真":{"docs":{},"或":{"docs":{},"者":{"docs":{},"假":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"地":{"docs":{},"方":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"非":{"docs":{},"布":{"docs":{},"尔":{"docs":{},"值":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}},")":{"docs":{},"默":{"docs":{},"认":{"docs":{},"都":{"docs":{},"是":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}},"t":{"docs":{},"t":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"h":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"n":{"docs":{},"j":{"docs":{},"o":{"docs":{},"u":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.007168458781362007}}}}}}},"d":{"docs":{},"i":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"y":{"docs":{},")":{"docs":{},"中":{"docs":{},",":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},"指":{"docs":{},"向":{"docs":{},"这":{"docs":{},"个":{"docs":{},"类":{"docs":{},"型":{"docs":{},"本":{"docs":{},"身":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"某":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"对":{"docs":{},"于":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"来":{"docs":{},"说":{"docs":{},",":{"docs":{},"这":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498}},"e":{"docs":{},".":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"新":{"docs":{},"类":{"docs":{},"是":{"docs":{},"在":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"的":{"docs":{},"基":{"docs":{},"础":{"docs":{},"上":{"docs":{},"创":{"docs":{},"建":{"docs":{},"起":{"docs":{},"来":{"docs":{},"。":{"docs":{},"因":{"docs":{},"此":{"docs":{},"你":{"docs":{},"需":{"docs":{},"要":{"docs":{},"将":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"放":{"docs":{},"在":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"不":{"docs":{},"仅":{"docs":{},"可":{"docs":{},"以":{"docs":{},"继":{"docs":{},"承":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"还":{"docs":{},"可":{"docs":{},"以":{"docs":{},"继":{"docs":{},"承":{"docs":{},"它":{"docs":{},"的":{"docs":{},"方":{"docs":{},"法":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"的":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"你":{"docs":{},"就":{"docs":{},"可":{"docs":{},"以":{"docs":{},"调":{"docs":{},"用":{"docs":{},"它":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"是":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"子":{"docs":{},"类":{"docs":{},",":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"是":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"超":{"docs":{},"类":{"docs":{},"。":{"docs":{},"新":{"docs":{},"的":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"自":{"docs":{},"动":{"docs":{},"获":{"docs":{},"得":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"的":{"docs":{},"特":{"docs":{},"性":{"docs":{},",":{"docs":{},"比":{"docs":{},"如":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"和":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"l":{"docs":{},"s":{"docs":{},"属":{"docs":{},"性":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"子":{"docs":{},"类":{"docs":{},"中":{"docs":{},"定":{"docs":{},"制":{"docs":{},"这":{"docs":{},"些":{"docs":{},"特":{"docs":{},"性":{"docs":{},",":{"docs":{},"或":{"docs":{},"添":{"docs":{},"加":{"docs":{},"新":{"docs":{},"的":{"docs":{},"特":{"docs":{},"性":{"docs":{},"来":{"docs":{},"更":{"docs":{},"好":{"docs":{},"地":{"docs":{},"描":{"docs":{},"述":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"子":{"docs":{},"类":{"docs":{},":":{"docs":{},"双":{"docs":{},"人":{"docs":{},"自":{"docs":{},"行":{"docs":{},"车":{"docs":{},"(":{"docs":{},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"m":{"docs":{},")":{"docs":{},"。":{"docs":{},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"m":{"docs":{},"从":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"继":{"docs":{},"承":{"docs":{},"了":{"docs":{},"两":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"而":{"docs":{},"这":{"docs":{},"两":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"是":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"从":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"继":{"docs":{},"承":{"docs":{},"而":{"docs":{},"来":{"docs":{},"的":{"docs":{},"。":{"docs":{},"t":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"m":{"docs":{},"并":{"docs":{},"不":{"docs":{},"修":{"docs":{},"改":{"docs":{},"轮":{"docs":{},"子":{"docs":{},"的":{"docs":{},"数":{"docs":{},"量":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"它":{"docs":{},"仍":{"docs":{},"是":{"docs":{},"一":{"docs":{},"辆":{"docs":{},"自":{"docs":{},"行":{"docs":{},"车":{"docs":{},",":{"docs":{},"有":{"2":{"docs":{},"个":{"docs":{},"轮":{"docs":{},"子":{"docs":{},"。":{"docs":{},"但":{"docs":{},"它":{"docs":{},"需":{"docs":{},"要":{"docs":{},"修":{"docs":{},"改":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"来":{"docs":{},"设":{"docs":{},"置":{"docs":{},"它":{"docs":{},"定":{"docs":{},"制":{"docs":{},"的":{"docs":{},"特":{"docs":{},"性":{"docs":{},"(":{"docs":{},"自":{"docs":{},"行":{"docs":{},"车":{"docs":{},"只":{"docs":{},"有":{"2":{"docs":{},"个":{"docs":{},"轮":{"docs":{},"子":{"docs":{},")":{"docs":{},"。":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"调":{"docs":{},"用":{"docs":{},"了":{"docs":{},"它":{"docs":{},"父":{"docs":{},"类":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"s":{"docs":{},"u":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"(":{"docs":{},")":{"docs":{},",":{"docs":{},"以":{"docs":{},"此":{"docs":{},"确":{"docs":{},"保":{"docs":{},"在":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"试":{"docs":{},"图":{"docs":{},"修":{"docs":{},"改":{"docs":{},"那":{"docs":{},"些":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"前":{"docs":{},",":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"它":{"docs":{},"继":{"docs":{},"承":{"docs":{},"了":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},",":{"docs":{},"通":{"docs":{},"过":{"docs":{},"原":{"docs":{},"始":{"docs":{},"值":{"9":{"docs":{},"试":{"docs":{},"图":{"docs":{},"访":{"docs":{},"问":{"docs":{},"一":{"docs":{},"个":{"docs":{},"行":{"docs":{},"星":{"docs":{},"。":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}},"docs":{}}}}}}},"来":{"docs":{},"检":{"docs":{},"查":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"w":{"docs":{},"a":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.010526315789473684}},"s":{"docs":{},"(":{"docs":{},"s":{"1":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}},"docs":{}}}}}}}}}},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}}},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"e":{"docs":{},".":{"docs":{},"u":{"docs":{},"p":{"docs":{},"c":{"docs":{},"a":{"docs":{},"(":{"8":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"docs":{}},"和":{"docs":{},"其":{"docs":{},"整":{"docs":{},"数":{"docs":{},"值":{"docs":{},"被":{"docs":{},"新":{"docs":{},"的":{"docs":{},"b":{"docs":{},"a":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},".":{"docs":{},"q":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"和":{"docs":{},"其":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"值":{"docs":{},"所":{"docs":{},"替":{"docs":{},"代":{"docs":{},"。":{"docs":{},"条":{"docs":{},"形":{"docs":{},"码":{"docs":{},"的":{"docs":{},"常":{"docs":{},"量":{"docs":{},"和":{"docs":{},"变":{"docs":{},"量":{"docs":{},"可":{"docs":{},"以":{"docs":{},"存":{"docs":{},"储":{"docs":{},"一":{"docs":{},"个":{"docs":{},".":{"docs":{},"u":{"docs":{},"p":{"docs":{},"c":{"docs":{},"a":{"docs":{},"或":{"docs":{},"者":{"docs":{},"一":{"docs":{},"个":{"docs":{},".":{"docs":{},"q":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"类":{"docs":{},"型":{"docs":{},",":{"docs":{},"它":{"docs":{},"可":{"docs":{},"以":{"docs":{},"是":{"docs":{},"u":{"docs":{},"p":{"docs":{},"c":{"docs":{},"a":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"实":{"docs":{},"例":{"docs":{},"值":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},")":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"q":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.04142011834319527}},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.01775147928994083}}}}}}}}}}}}},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"e":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"p":{"docs":{},"u":{"docs":{},"r":{"docs":{},"s":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}}}}}}}}}}}}}}}}},"和":{"docs":{},"p":{"docs":{},"l":{"docs":{},"a":{"docs":{},"y":{"docs":{},"e":{"docs":{},"r":{"docs":{},"。":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"管":{"docs":{},"理":{"docs":{},"一":{"docs":{},"个":{"docs":{},"虚":{"docs":{},"拟":{"docs":{},"货":{"docs":{},"币":{"docs":{},"的":{"docs":{},"流":{"docs":{},"通":{"docs":{},",":{"docs":{},"在":{"docs":{},"这":{"docs":{},"个":{"docs":{},"流":{"docs":{},"通":{"docs":{},"中":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"永":{"docs":{},"远":{"docs":{},"不":{"docs":{},"可":{"docs":{},"能":{"docs":{},"拥":{"docs":{},"有":{"docs":{},"超":{"docs":{},"过":{"1":{"0":{"docs":{},",":{"0":{"0":{"0":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"。":{"docs":{},"在":{"docs":{},"这":{"docs":{},"个":{"docs":{},"游":{"docs":{},"戏":{"docs":{},"中":{"docs":{},"有":{"docs":{},"且":{"docs":{},"只":{"docs":{},"能":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"存":{"docs":{},"在":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}},"docs":{}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"根":{"docs":{},"据":{"docs":{},"它":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"n":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"属":{"docs":{},"性":{"docs":{},"来":{"docs":{},"跟":{"docs":{},"踪":{"docs":{},"当":{"docs":{},"前":{"docs":{},"它":{"docs":{},"拥":{"docs":{},"有":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"数":{"docs":{},"量":{"docs":{},"。":{"docs":{},"银":{"docs":{},"行":{"docs":{},"还":{"docs":{},"提":{"docs":{},"供":{"docs":{},"两":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"—":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"和":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"e":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}},"i":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"l":{"docs":{},"a":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"d":{"docs":{},"-":{"docs":{},"t":{"docs":{},"o":{"docs":{},"k":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.07692307692307693}},"s":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.054945054945054944}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}}},"e":{"docs":{},"h":{"docs":{},"a":{"docs":{},"v":{"docs":{},"i":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43725785622040464},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"t":{"docs":{},"o":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"l":{"docs":{},"i":{"docs":{},"e":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"o":{"docs":{},"w":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695}}}}}},">":{"docs":{},"提":{"docs":{},"示":{"docs":{},"<":{"docs":{},"/":{"docs":{},"b":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}}}}}}},"u":{"docs":{},"g":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087}},"e":{"docs":{},"r":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},",":{"docs":{},"不":{"docs":{},"是":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087}}}},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087}},"e":{"docs":{},"r":{"docs":{},"作":{"docs":{},"为":{"docs":{},"地":{"docs":{},"址":{"docs":{},"的":{"docs":{},"一":{"docs":{},"部":{"docs":{},"分":{"docs":{},",":{"docs":{},"是":{"docs":{},"定":{"docs":{},"义":{"docs":{},"某":{"docs":{},"个":{"docs":{},"建":{"docs":{},"筑":{"docs":{},"物":{"docs":{},"的":{"docs":{},"两":{"docs":{},"种":{"docs":{},"方":{"docs":{},"式":{"docs":{},"。":{"docs":{},"第":{"docs":{},"三":{"docs":{},"个":{"docs":{},"属":{"docs":{},"性":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"r":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":5.010989010989011}},"特":{"docs":{},"性":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"f":{"docs":{},"a":{"docs":{},"c":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}},":":{"docs":{},"i":{"docs":{},"b":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},",":{"docs":{},"i":{"docs":{},"b":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},",":{"docs":{},"i":{"docs":{},"b":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},",":{"docs":{},"以":{"docs":{},"及":{"docs":{},"i":{"docs":{},"b":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"特":{"docs":{},"性":{"docs":{},"与":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"用":{"docs":{},"来":{"docs":{},"与":{"docs":{},"x":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"同":{"docs":{},"步":{"docs":{},"的":{"docs":{},"声":{"docs":{},"明":{"docs":{},"特":{"docs":{},"性":{"docs":{},"。":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"以":{"docs":{},"下":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"f":{"docs":{},"a":{"docs":{},"c":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"d":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}}},"v":{"docs":{},"e":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}},"n":{"docs":{},"i":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"a":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}}}}}}},"t":{"docs":{},"a":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}},"e":{"docs":{},"f":{"docs":{},"a":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23673060128731765},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},"i":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}},"来":{"docs":{},"标":{"docs":{},"示":{"docs":{},"析":{"docs":{},"构":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"类":{"docs":{},"似":{"docs":{},"于":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"函":{"docs":{},"数":{"docs":{},"用":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}},"b":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"c":{"docs":{},"i":{"docs":{},"m":{"docs":{},"a":{"docs":{},"l":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"b":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}}}}}}}}},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"l":{"docs":{},"t":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.009900990099009901}}},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}}}},"n":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.015625}}}},"d":{"docs":{},"u":{"docs":{},"c":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}},"i":{"docs":{},"a":{"docs":{},"m":{"docs":{},"o":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}}},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"<":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"的":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"上":{"docs":{},",":{"docs":{},"当":{"docs":{},"然":{"docs":{},"其":{"docs":{},"k":{"docs":{},"e":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"h":{"docs":{},"a":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"协":{"docs":{},"议":{"docs":{},"(":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"标":{"docs":{},"准":{"docs":{},"库":{"docs":{},"中":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"特":{"docs":{},"定":{"docs":{},"协":{"docs":{},"议":{"docs":{},")":{"docs":{},"。":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"基":{"docs":{},"本":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"如":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},",":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}}}}}}}}},"d":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}},"g":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.013157894736842105}},"e":{"docs":{},"s":{"docs":{},"[":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421}}}}}}}}}}}}}}},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.010276679841897233}},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"o":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.01838235294117647}},"的":{"docs":{},"值":{"docs":{},"。":{"docs":{},"当":{"docs":{},"它":{"docs":{},"等":{"docs":{},"于":{"docs":{},".":{"docs":{},"n":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"h":{"docs":{},",":{"docs":{},"打":{"docs":{},"印":{"docs":{},"“":{"docs":{},"l":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"被":{"docs":{},"推":{"docs":{},"断":{"docs":{},"当":{"docs":{},"它":{"docs":{},"被":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"能":{"docs":{},"值":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"。":{"docs":{},"一":{"docs":{},"旦":{"docs":{},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"t":{"docs":{},"o":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"d":{"docs":{},"被":{"docs":{},"声":{"docs":{},"明":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"更":{"docs":{},"短":{"docs":{},"的":{"docs":{},"点":{"docs":{},"(":{"docs":{},".":{"docs":{},")":{"docs":{},"语":{"docs":{},"法":{"docs":{},"将":{"docs":{},"其":{"docs":{},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"另":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.011067193675889328}}}}}}}},"f":{"docs":{},"f":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}}}}}},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"o":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.012925969447708578},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.012448132780082987},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.008960573476702509},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.012376237623762377},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.012648221343873518},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.017241379310344827},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"扩":{"docs":{},"展":{"docs":{},",":{"docs":{},"添":{"docs":{},"加":{"docs":{},"a":{"docs":{},"b":{"docs":{},"s":{"docs":{},"o":{"docs":{},"l":{"docs":{},"u":{"docs":{},"t":{"docs":{},"e":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}},"(":{"docs":{},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"m":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}},"或":{"docs":{},"者":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}},"精":{"docs":{},"确":{"docs":{},"度":{"docs":{},"很":{"docs":{},"高":{"docs":{},",":{"docs":{},"至":{"docs":{},"少":{"docs":{},"有":{"1":{"5":{"docs":{},"位":{"docs":{},"数":{"docs":{},"字":{"docs":{},",":{"docs":{},"而":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{},"最":{"docs":{},"少":{"docs":{},"只":{"docs":{},"有":{"6":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}},"表":{"docs":{},"示":{"6":{"4":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}},"docs":{}}},"型":{"docs":{},"的":{"docs":{},"值":{"1":{"docs":{},".":{"0":{"docs":{},"被":{"docs":{},"用":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"“":{"1":{"docs":{},"米":{"docs":{},"”":{"docs":{},"。":{"docs":{},"这":{"docs":{},"就":{"docs":{},"是":{"docs":{},"为":{"docs":{},"什":{"docs":{},"么":{"docs":{},"m":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},"返":{"docs":{},"回":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},"—":{"docs":{},"—":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"1":{"docs":{},".":{"docs":{},"m":{"docs":{},"被":{"docs":{},"认":{"docs":{},"为":{"docs":{},"是":{"docs":{},"计":{"docs":{},"算":{"1":{"docs":{},".":{"0":{"docs":{},"的":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}},"docs":{}}},"docs":{}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}},"docs":{}}},"docs":{},"看":{"docs":{},"作":{"docs":{},"是":{"docs":{},"某":{"docs":{},"单":{"docs":{},"位":{"docs":{},"下":{"docs":{},"的":{"docs":{},"长":{"docs":{},"度":{"docs":{},"值":{"docs":{},"。":{"docs":{},"即":{"docs":{},"使":{"docs":{},"它":{"docs":{},"们":{"docs":{},"被":{"docs":{},"实":{"docs":{},"现":{"docs":{},"为":{"docs":{},"计":{"docs":{},"算":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"但":{"docs":{},"这":{"docs":{},"些":{"docs":{},"属":{"docs":{},"性":{"docs":{},"仍":{"docs":{},"可":{"docs":{},"以":{"docs":{},"接":{"docs":{},"一":{"docs":{},"个":{"docs":{},"带":{"docs":{},"有":{"docs":{},"d":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}}}}}}}},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"c":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},".":{"docs":{},"u":{"docs":{},"n":{"docs":{},"i":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}}}}}}}}}},"t":{"docs":{},"f":{"1":{"6":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}},"8":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}},"docs":{}}}}}}}}}}}},"l":{"docs":{},"l":{"docs":{},"a":{"docs":{},"r":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"、":{"docs":{},"b":{"docs":{},"l":{"docs":{},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{},"h":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}},"n":{"docs":{},"'":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"’":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"w":{"docs":{},"n":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.016600790513833993}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"和":{"docs":{},"a":{"docs":{},"n":{"docs":{},"y":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.8333333333333333}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"d":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}},"c":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}}},"e":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}}},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"y":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},".":{"docs":{},"i":{"docs":{},"s":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.025735294117647058},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}}}}}}}}}}}},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}},"c":{"docs":{},"l":{"docs":{},"o":{"docs":{},"s":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}},"a":{"docs":{},"p":{"docs":{},"s":{"docs":{},"u":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"d":{"docs":{},"d":{"docs":{},"o":{"docs":{},"o":{"docs":{},"r":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286}}}}}}}}}}}}},"r":{"docs":{},"y":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}},".":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}}}}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"&":{"docs":{},"g":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},";":{"docs":{},"和":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}},">":{"docs":{},"(":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"安":{"docs":{},"全":{"docs":{},"的":{"docs":{},"使":{"docs":{},"用":{"docs":{},"在":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"函":{"docs":{},"数":{"docs":{},"中":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"其":{"docs":{},"保":{"docs":{},"证":{"docs":{},"支":{"docs":{},"持":{"docs":{},"等":{"docs":{},"式":{"docs":{},"操":{"docs":{},"作":{"docs":{},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"说":{"docs":{},"明":{"docs":{},"这":{"docs":{},"个":{"docs":{},"事":{"docs":{},"实":{"docs":{},",":{"docs":{},"当":{"docs":{},"你":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"函":{"docs":{},"数":{"docs":{},"时":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"写":{"docs":{},"一":{"docs":{},"个":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"也":{"docs":{},"就":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"“":{"docs":{},"任":{"docs":{},"何":{"docs":{},"t":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"遵":{"docs":{},"循":{"docs":{},"e":{"docs":{},"q":{"docs":{},"u":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}},"i":{"docs":{},"l":{"docs":{},"a":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"a":{"docs":{},"l":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"n":{"docs":{},"g":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}},"e":{"docs":{},"(":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"(":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"y":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"x":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.008695652173913044},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"e":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354}}}}}}}}}},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"c":{"docs":{},"i":{"docs":{},"t":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"l":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}},"r":{"docs":{},"t":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}},",":{"docs":{},"那":{"docs":{},"这":{"docs":{},"个":{"docs":{},"数":{"docs":{},"相":{"docs":{},"当":{"docs":{},"于":{"docs":{},"基":{"docs":{},"数":{"docs":{},"和":{"1":{"0":{"docs":{},"^":{"docs":{},"e":{"docs":{},"x":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"docs":{}},"2":{"docs":{},"^":{"docs":{},"e":{"docs":{},"x":{"docs":{},"p":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}},"docs":{}}}}}}}}}}}},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"t":{"docs":{},"e":{"docs":{},"n":{"docs":{},"s":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":10.031609195402298},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"]":{"docs":{},"[":{"6":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"7":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"docs":{}}}}}}}},"r":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23673060128731765},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.8769909599655618}}}}}},"i":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"w":{"docs":{},"w":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"a":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}}},"a":{"docs":{},"r":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.014705882352941176}},"s":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}}}},"s":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}}}},"c":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.008695652173913044},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}},"l":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"t":{"docs":{},"g":{"docs":{},"a":{"docs":{},"s":{"docs":{},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"c":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}},"s":{"docs":{},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.008298755186721992}}}}}}},"(":{"docs":{},"或":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.16666666666666666}}}}}}},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.125}},"e":{"docs":{},"r":{"docs":{},"-":{"docs":{},"b":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.125}}}}}}}},"方":{"docs":{},"法":{"docs":{},"​":{"docs":{},"​":{"docs":{},"块":{"docs":{},"可":{"docs":{},"以":{"docs":{},"由":{"docs":{},"一":{"docs":{},"个":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"子":{"docs":{},"句":{"docs":{},"后":{"docs":{},"跟":{"docs":{},"一":{"docs":{},"个":{"docs":{},"可":{"docs":{},"选":{"docs":{},"的":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"子":{"docs":{},"句":{"docs":{},"构":{"docs":{},"成":{"docs":{},",":{"docs":{},"用":{"docs":{},"大":{"docs":{},"括":{"docs":{},"号":{"docs":{},"括":{"docs":{},"起":{"docs":{},"来":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"由":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"子":{"docs":{},"句":{"docs":{},"后":{"docs":{},"跟":{"docs":{},"一":{"docs":{},"个":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.041666666666666664}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"代":{"docs":{},"码":{"docs":{},"块":{"docs":{},"中":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"写":{"docs":{},"在":{"docs":{},"s":{"docs":{},"u":{"docs":{},"b":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}},"关":{"docs":{},"键":{"docs":{},"字":{"docs":{},"表":{"docs":{},"示":{"docs":{},"。":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"是":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"型":{"docs":{},",":{"docs":{},"而":{"docs":{},"且":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"于":{"docs":{},"所":{"docs":{},"有":{"docs":{},"接":{"docs":{},"受":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498}}}},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}},"o":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}},"b":{"docs":{},"y":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.008620689655172414}}}}}},"e":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}},"n":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}},"(":{"docs":{},"\"":{"docs":{},"b":{"docs":{},"o":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},",":{"docs":{},"该":{"docs":{},"函":{"docs":{},"数":{"docs":{},"结":{"docs":{},"束":{"docs":{},"它":{"docs":{},"的":{"docs":{},"执":{"docs":{},"行":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"g":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}},"a":{"docs":{},"t":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}},"i":{"docs":{},"d":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.016483516483516484}},"[":{"docs":{},"(":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}}}}}}}},"a":{"docs":{},"m":{"docs":{},"m":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter3/01_About_the_Language_Reference.html#gitbook_78":{"ref":"chapter3/01_About_the_Language_Reference.html#gitbook_78","tf":0.08333333333333333}}}}}}}},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.012517385257301807},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.021052631578947368},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.10989010989010989}}},"l":{"docs":{},"o":{"docs":{},"b":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.023668639053254437}}}}},"h":{"docs":{},"o":{"docs":{},"s":{"docs":{},"t":{"docs":{},"b":{"docs":{},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}}}}},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"u":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},",":{"docs":{},"即":{"docs":{},"便":{"docs":{},"你":{"docs":{},"没":{"docs":{},"有":{"docs":{},"实":{"docs":{},"现":{"docs":{},"它":{"docs":{},"。":{"docs":{},"例":{"docs":{},"如":{"docs":{},":":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"和":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"是":{"docs":{},"泛":{"docs":{},"型":{"docs":{},"集":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"也":{"docs":{},"可":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"数":{"docs":{},"组":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"甚":{"docs":{},"至":{"docs":{},"于":{"docs":{},"可":{"docs":{},"以":{"docs":{},"是":{"docs":{},"任":{"docs":{},"何":{"docs":{},"其":{"docs":{},"他":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"数":{"docs":{},"据":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"同":{"docs":{},"样":{"docs":{},"的":{"docs":{},",":{"docs":{},"你":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"创":{"docs":{},"建":{"docs":{},"存":{"docs":{},"储":{"docs":{},"任":{"docs":{},"何":{"docs":{},"指":{"docs":{},"定":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"字":{"docs":{},"典":{"docs":{},"(":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"j":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"a":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}}}}},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}},"'":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}}},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"!":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}},"?":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"?":{"docs":{},".":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}},"e":{"docs":{},"r":{"docs":{},"(":{"docs":{},")":{"docs":{},"?":{"docs":{},".":{"docs":{},"u":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}}}}}}}}}}}}}},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.009933774834437087}}}}}}}}}}}}}},"p":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}},"[":{"0":{"docs":{},"]":{"docs":{},".":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}}}}},"docs":{}}},"不":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},"时":{"docs":{},",":{"docs":{},"会":{"docs":{},"运":{"docs":{},"行":{"docs":{},"通":{"docs":{},"过":{"docs":{},",":{"docs":{},"且":{"docs":{},"会":{"docs":{},"将":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"值":{"docs":{},"现":{"docs":{},"在":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"个":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"实":{"docs":{},"例":{"docs":{},",":{"docs":{},"然":{"docs":{},"而":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"现":{"docs":{},"在":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"?":{"docs":{},".":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"?":{"docs":{},".":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"后":{"docs":{},"面":{"docs":{},",":{"docs":{},"在":{"docs":{},"子":{"docs":{},"脚":{"docs":{},"本":{"docs":{},"括":{"docs":{},"号":{"docs":{},"的":{"docs":{},"前":{"docs":{},"面":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"j":{"docs":{},"o":{"docs":{},"h":{"docs":{},"n":{"docs":{},".":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}},".":{"docs":{},"b":{"docs":{},"u":{"docs":{},"i":{"docs":{},"l":{"docs":{},"d":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}},"h":{"docs":{},"o":{"docs":{},"u":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}},"e":{"docs":{},".":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.013245033112582781}}}}}}}}},"的":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"属":{"docs":{},"性":{"docs":{},"里":{"docs":{},"的":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"的":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"e":{"docs":{},"e":{"docs":{},"t":{"docs":{},"属":{"docs":{},"性":{"docs":{},"。":{"docs":{},"这":{"docs":{},"里":{"docs":{},"使":{"docs":{},"用":{"docs":{},"了":{"docs":{},"两":{"docs":{},"层":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"来":{"docs":{},"联":{"docs":{},"系":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"和":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219}},"(":{"docs":{},"\"":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}},"s":{"1":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}}},"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.006954102920723227}}}}}},"e":{"docs":{},"r":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.015299026425591099}},"的":{"docs":{},"值":{"docs":{},"没":{"docs":{},"有":{"docs":{},"被":{"docs":{},"指":{"docs":{},"定":{"docs":{},",":{"docs":{},"函":{"docs":{},"数":{"docs":{},"会":{"docs":{},"使":{"docs":{},"用":{"docs":{},"默":{"docs":{},"认":{"docs":{},"值":{"docs":{},"(":{"docs":{},"&":{"docs":{},"q":{"docs":{},"u":{"docs":{},"o":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}},"函":{"docs":{},"数":{"docs":{},"一":{"docs":{},"样":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}},"中":{"docs":{},",":{"docs":{},"第":{"docs":{},"一":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"的":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"和":{"docs":{},"s":{"1":{"docs":{},"的":{"docs":{},"局":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},",":{"docs":{},"第":{"docs":{},"二":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"t":{"docs":{},"o":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"的":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"和":{"docs":{},"s":{"2":{"docs":{},"的":{"docs":{},"局":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},",":{"docs":{},"第":{"docs":{},"三":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},"有":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"w":{"docs":{},"i":{"docs":{},"t":{"docs":{},"h":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"e":{"docs":{},"r":{"docs":{},"的":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"和":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"另":{"docs":{},"一":{"docs":{},"个":{"docs":{},"版":{"docs":{},"本":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"版":{"docs":{},"本":{"docs":{},"中":{"docs":{},"并":{"docs":{},"没":{"docs":{},"有":{"docs":{},"为":{"docs":{},"它":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"提":{"docs":{},"供":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},",":{"docs":{},"但":{"docs":{},"是":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"其":{"docs":{},"中":{"docs":{},"j":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}},"n":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}},"u":{"docs":{},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{},"m":{"docs":{},"i":{"docs":{},"l":{"docs":{},"l":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{},"u":{"docs":{},"s":{"docs":{},"c":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}}}}}}}},"p":{"docs":{},"i":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}},"k":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"a":{"docs":{},"y":{"docs":{},"l":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}},"n":{"docs":{},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}},"e":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}},"y":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.014367816091954023}}},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018}}}},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{},"e":{"docs":{},"n":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}},"o":{"docs":{},"a":{"docs":{},"l":{"docs":{},"a":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}},"n":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"s":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"w":{"docs":{},"o":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286}}}}}}}}}}}}}}}}}}},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"u":{"docs":{},"b":{"docs":{},"r":{"docs":{},"i":{"docs":{},"c":{"docs":{},"k":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}}},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}},"a":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}},"k":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"o":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.018421052631578946}},"(":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"c":{"docs":{},"r":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.007894736842105263}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}},"x":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498}}}}}}}}},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{},"l":{"docs":{},"i":{"docs":{},"t":{"docs":{},"u":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}}}}}}}},"i":{"docs":{},"m":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}},"s":{"docs":{},"或":{"docs":{},"者":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"e":{"docs":{},"m":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{},"e":{"docs":{},")":{"docs":{},"和":{"docs":{},"一":{"docs":{},"个":{"docs":{},"指":{"docs":{},"定":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"(":{"docs":{},"比":{"docs":{},"如":{"docs":{},"数":{"docs":{},"字":{"1":{"0":{"docs":{},"或":{"docs":{},"者":{"docs":{},"字":{"docs":{},"符":{"docs":{},"串":{"docs":{},"h":{"docs":{},"e":{"docs":{},"l":{"docs":{},"l":{"docs":{},"o":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"新":{"docs":{},"常":{"docs":{},"量":{"docs":{},",":{"docs":{},"并":{"docs":{},"给":{"docs":{},"它":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"1":{"0":{"docs":{},"。":{"docs":{},"然":{"docs":{},"后":{"docs":{},",":{"docs":{},"声":{"docs":{},"明":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"字":{"docs":{},"是":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"l":{"docs":{},"o":{"docs":{},"g":{"docs":{},"i":{"docs":{},"n":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{},"p":{"docs":{},"t":{"docs":{},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"并":{"docs":{},"将":{"docs":{},"它":{"docs":{},"的":{"docs":{},"值":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"为":{"0":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}},"a":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"t":{"docs":{},"h":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936}},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"(":{"2":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}},"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},",":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"‘":{"docs":{},"一":{"docs":{},"个":{"docs":{},"有":{"docs":{},"两":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"型":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"并":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"型":{"docs":{},"的":{"docs":{},"值":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"’":{"docs":{},",":{"docs":{},"并":{"docs":{},"让":{"docs":{},"这":{"docs":{},"个":{"docs":{},"新":{"docs":{},"变":{"docs":{},"量":{"docs":{},"指":{"docs":{},"向":{"docs":{},"a":{"docs":{},"d":{"docs":{},"d":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.016483516483516484}},"(":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}},"[":{"0":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"1":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"2":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{}},"下":{"docs":{},"标":{"docs":{},"的":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"和":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"中":{"docs":{},"同":{"docs":{},"时":{"docs":{},"调":{"docs":{},"用":{"docs":{},"了":{"docs":{},"下":{"docs":{},"标":{"docs":{},"入":{"docs":{},"参":{"docs":{},"的":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{},"和":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{},"是":{"docs":{},"否":{"docs":{},"有":{"docs":{},"效":{"docs":{},"的":{"docs":{},"判":{"docs":{},"断":{"docs":{},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"方":{"docs":{},"便":{"docs":{},"进":{"docs":{},"行":{"docs":{},"断":{"docs":{},"言":{"docs":{},",":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"x":{"docs":{},"包":{"docs":{},"含":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"名":{"docs":{},"为":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},"e":{"docs":{},"x":{"docs":{},"i":{"docs":{},"s":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"d":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"确":{"docs":{},"认":{"docs":{},"入":{"docs":{},"参":{"docs":{},"的":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{},"或":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"在":{"docs":{},"阅":{"docs":{},"读":{"docs":{},"顺":{"docs":{},"序":{"docs":{},"从":{"docs":{},"左":{"docs":{},"上":{"docs":{},"到":{"docs":{},"右":{"docs":{},"下":{"docs":{},"的":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"x":{"docs":{},"实":{"docs":{},"例":{"docs":{},"中":{"docs":{},"的":{"docs":{},"数":{"docs":{},"组":{"docs":{},"实":{"docs":{},"例":{"docs":{},"g":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"提":{"docs":{},"供":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"两":{"docs":{},"个":{"docs":{},"入":{"docs":{},"参":{"docs":{},"的":{"docs":{},"构":{"docs":{},"造":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"入":{"docs":{},"参":{"docs":{},"分":{"docs":{},"别":{"docs":{},"是":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{},"s":{"docs":{},"和":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{},"u":{"docs":{},"m":{"docs":{},"n":{"docs":{},"s":{"docs":{},",":{"docs":{},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"足":{"docs":{},"够":{"docs":{},"容":{"docs":{},"纳":{"docs":{},"r":{"docs":{},"o":{"docs":{},"w":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"右":{"docs":{},"上":{"docs":{},"值":{"docs":{},"为":{"1":{"docs":{},".":{"5":{"docs":{},",":{"docs":{},"坐":{"docs":{},"下":{"docs":{},"值":{"docs":{},"为":{"3":{"docs":{},".":{"2":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}},"docs":{}}},"docs":{}}}}}}},"docs":{}}},"docs":{}}}}}},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},",":{"docs":{},"将":{"docs":{},"呈":{"docs":{},"现":{"docs":{},"一":{"docs":{},"个":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"二":{"docs":{},"维":{"docs":{},"数":{"docs":{},"组":{"docs":{},"。":{"docs":{},"m":{"docs":{},"a":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"h":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}},"p":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.018421052631578946}}},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}},"a":{"docs":{},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609}}}}}}}},"d":{"docs":{},"e":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.005747126436781609},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}},"e":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}},"t":{"docs":{},"h":{"docs":{},"o":{"docs":{},"d":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.4620103314679294},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},")":{"docs":{},",":{"docs":{},"实":{"docs":{},"例":{"docs":{},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}},"类":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}},"s":{"docs":{},")":{"docs":{},",":{"docs":{},"用":{"docs":{},"于":{"docs":{},"提":{"docs":{},"供":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"所":{"docs":{},"代":{"docs":{},"表":{"docs":{},"的":{"docs":{},"值":{"docs":{},"相":{"docs":{},"关":{"docs":{},"联":{"docs":{},"的":{"docs":{},"功":{"docs":{},"能":{"docs":{},"。":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"也":{"docs":{},"可":{"docs":{},"以":{"docs":{},"定":{"docs":{},"义":{"docs":{},"构":{"docs":{},"造":{"docs":{},"函":{"docs":{},"数":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{},"a":{"docs":{},"l":{"docs":{},"i":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},")":{"docs":{},"来":{"docs":{},"提":{"docs":{},"供":{"docs":{},"一":{"docs":{},"个":{"docs":{},"初":{"docs":{},"始":{"docs":{},"成":{"docs":{},"员":{"docs":{},"值":{"docs":{},";":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"原":{"docs":{},"始":{"docs":{},"的":{"docs":{},"实":{"docs":{},"现":{"docs":{},"基":{"docs":{},"础":{"docs":{},"上":{"docs":{},"扩":{"docs":{},"展":{"docs":{},"它":{"docs":{},"们":{"docs":{},"的":{"docs":{},"功":{"docs":{},"能":{"docs":{},";":{"docs":{},"可":{"docs":{},"以":{"docs":{},"遵":{"docs":{},"守":{"docs":{},"协":{"docs":{},"议":{"docs":{},"(":{"docs":{},"p":{"docs":{},"r":{"docs":{},"o":{"docs":{},"t":{"docs":{},"o":{"docs":{},"c":{"docs":{},"o":{"docs":{},"l":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}},"。":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"为":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"类":{"docs":{},"、":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"和":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"定":{"docs":{},"义":{"docs":{},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},":":{"docs":{},"e":{"docs":{},"a":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"修":{"docs":{},"改":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"称":{"docs":{},"(":{"docs":{},"m":{"docs":{},"o":{"docs":{},"d":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}}}}}}}},"在":{"docs":{},"变":{"docs":{},"异":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"给":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{},"赋":{"docs":{},"值":{"docs":{},"(":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}}}}}}}}}}}}},"实":{"docs":{},"例":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"局":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"称":{"docs":{},"和":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"称":{"docs":{},"(":{"docs":{},"l":{"docs":{},"o":{"docs":{},"c":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"b":{"docs":{},"y":{"docs":{},"x":{"docs":{},",":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"b":{"docs":{},"y":{"docs":{},"x":{"docs":{},"用":{"docs":{},"来":{"docs":{},"移":{"docs":{},"动":{"docs":{},"一":{"docs":{},"个":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"。":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"b":{"docs":{},"y":{"docs":{},"x":{"docs":{},"方":{"docs":{},"法":{"docs":{},"在":{"docs":{},"被":{"docs":{},"调":{"docs":{},"用":{"docs":{},"时":{"docs":{},"修":{"docs":{},"改":{"docs":{},"了":{"docs":{},"这":{"docs":{},"个":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"p":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"。":{"docs":{},"方":{"docs":{},"法":{"docs":{},"定":{"docs":{},"义":{"docs":{},"是":{"docs":{},"加":{"docs":{},"上":{"docs":{},"那":{"docs":{},"个":{"docs":{},"了":{"docs":{},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"型":{"docs":{},"方":{"docs":{},"法":{"docs":{},"(":{"docs":{},"t":{"docs":{},"y":{"docs":{},"p":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.43478260869565216}}}}}}}}}}}}}},"e":{"docs":{},"r":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.017241379310344827}}}}},"a":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"o":{"docs":{},"f":{"docs":{},"l":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}}}}}}}},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.010752688172043012},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}}},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}},"w":{"docs":{},"i":{"docs":{},"s":{"docs":{},"e":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}},"r":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}}}}}},"d":{"docs":{},"i":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}},"i":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.020553359683794466}},"。":{"docs":{},"为":{"docs":{},"了":{"docs":{},"能":{"docs":{},"够":{"docs":{},"使":{"docs":{},"用":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}},"因":{"docs":{},"为":{"docs":{},"不":{"docs":{},"确":{"docs":{},"定":{"docs":{},",":{"docs":{},"a":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}},"u":{"docs":{},"t":{"docs":{},"a":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.449634093844167},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.016442451420029897}},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},")":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"。":{"docs":{},"方":{"docs":{},"法":{"docs":{},"可":{"docs":{},"以":{"docs":{},"从":{"docs":{},"内":{"docs":{},"部":{"docs":{},"变":{"docs":{},"异":{"docs":{},"它":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},";":{"docs":{},"并":{"docs":{},"且":{"docs":{},"它":{"docs":{},"做":{"docs":{},"的":{"docs":{},"任":{"docs":{},"何":{"docs":{},"改":{"docs":{},"变":{"docs":{},"在":{"docs":{},"方":{"docs":{},"法":{"docs":{},"结":{"docs":{},"束":{"docs":{},"时":{"docs":{},"都":{"docs":{},"会":{"docs":{},"回":{"docs":{},"写":{"docs":{},"到":{"docs":{},"原":{"docs":{},"始":{"docs":{},"结":{"docs":{},"构":{"docs":{},"。":{"docs":{},"方":{"docs":{},"法":{"docs":{},"会":{"docs":{},"给":{"docs":{},"它":{"docs":{},"隐":{"docs":{},"含":{"docs":{},"的":{"docs":{},"s":{"docs":{},"e":{"docs":{},"l":{"docs":{},"f":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"l":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.005376344086021506}}}}},"p":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23533978070317302}},"i":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.01098901098901099}}},"y":{"docs":{},"t":{"docs":{},"w":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}},"s":{"docs":{},"(":{"docs":{},"a":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}},"y":{"docs":{},"c":{"docs":{},"o":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"整":{"docs":{},"数":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"n":{"docs":{},"(":{"docs":{},"n":{"docs":{},"e":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036}}}}}},"和":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}},"u":{"docs":{},"s":{"docs":{},"s":{"docs":{},"i":{"docs":{},"x":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.004464285714285714}}}}},"t":{"docs":{},"h":{"docs":{},"r":{"docs":{},"e":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.006696428571428571}}}}}}}}},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"x":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"p":{"docs":{},"h":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.016597510373443983}}}},"o":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}},"e":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"e":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"r":{"docs":{},"t":{"docs":{},"o":{"docs":{},"z":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.005563282336578581}},"(":{"docs":{},"c":{"docs":{},"u":{"docs":{},"r":{"docs":{},"r":{"docs":{},"e":{"docs":{},"n":{"docs":{},"t":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}}}}}}}}}}},"指":{"docs":{},"向":{"docs":{},"了":{"docs":{},"正":{"docs":{},"确":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},",":{"docs":{},"它":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"用":{"docs":{},"来":{"docs":{},"数":{"docs":{},"到":{"0":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"b":{"docs":{},"y":{"docs":{},"x":{"docs":{},"(":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"t":{"docs":{},"a":{"docs":{},"x":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506}}}}}}}}},"创":{"docs":{},"建":{"docs":{},"了":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"分":{"docs":{},"支":{"docs":{},"结":{"docs":{},"构":{"docs":{},"(":{"docs":{},"他":{"docs":{},"的":{"docs":{},"x":{"docs":{},"和":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.05928853754940711}},"e":{"docs":{},"(":{"docs":{},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.003952569169960474}}}}}},".":{"docs":{},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}}}}}}}},"n":{"docs":{},"a":{"docs":{},"m":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794}}}}}},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695}}}}}}},"实":{"docs":{},"例":{"docs":{},"和":{"docs":{},"三":{"docs":{},"个":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"l":{"docs":{},"i":{"docs":{},"b":{"docs":{},"r":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"是":{"docs":{},"在":{"docs":{},"它":{"docs":{},"被":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"时":{"docs":{},"根":{"docs":{},"据":{"docs":{},"它":{"docs":{},"的":{"docs":{},"a":{"docs":{},"r":{"docs":{},"r":{"docs":{},"a":{"docs":{},"y":{"docs":{},"标":{"docs":{},"记":{"docs":{},"符":{"docs":{},"和":{"docs":{},"里":{"docs":{},"面":{"docs":{},"的":{"docs":{},"内":{"docs":{},"容":{"docs":{},"(":{"docs":{},"p":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"将":{"docs":{},"用":{"docs":{},"于":{"docs":{},"打":{"docs":{},"印":{"docs":{},"一":{"docs":{},"个":{"docs":{},"m":{"docs":{},"o":{"docs":{},"v":{"docs":{},"i":{"docs":{},"e":{"docs":{},"实":{"docs":{},"例":{"docs":{},"的":{"docs":{},"描":{"docs":{},"述":{"docs":{},",":{"docs":{},"包":{"docs":{},"括":{"docs":{},"它":{"docs":{},"的":{"docs":{},"导":{"docs":{},"演":{"docs":{},"的":{"docs":{},"名":{"docs":{},"字":{"docs":{},"d":{"docs":{},"i":{"docs":{},"r":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"o":{"docs":{},"r":{"docs":{},"。":{"docs":{},"当":{"docs":{},"s":{"docs":{},"o":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"真":{"docs":{},"的":{"docs":{},"包":{"docs":{},"含":{"docs":{},"一":{"docs":{},"个":{"docs":{},"值":{"docs":{},"(":{"docs":{},"这":{"docs":{},"个":{"docs":{},"是":{"docs":{},"为":{"docs":{},"了":{"docs":{},"判":{"docs":{},"断":{"docs":{},"下":{"docs":{},"转":{"docs":{},"是":{"docs":{},"否":{"docs":{},"成":{"docs":{},"功":{"docs":{},"。":{"docs":{},")":{"docs":{},"可":{"docs":{},"选":{"docs":{},"绑":{"docs":{},"定":{"docs":{},"是":{"docs":{},"这":{"docs":{},"样":{"docs":{},"写":{"docs":{},"的":{"docs":{},"“":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"l":{"docs":{},"i":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}},"d":{"docs":{},"i":{"docs":{},"f":{"docs":{},"i":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0049504950495049506},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"e":{"docs":{},"l":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}}},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}},"m":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"n":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.005875440658049354},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"a":{"docs":{},"m":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.022326674500587545},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.2409030630397516},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.8794662074903142},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.03642384105960265},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.008695652173913044},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"d":{"docs":{},"s":{"docs":{},"h":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123}},"e":{"docs":{},"的":{"docs":{},"另":{"docs":{},"一":{"docs":{},"个":{"docs":{},"子":{"docs":{},"类":{"docs":{},"c":{"docs":{},"i":{"docs":{},"r":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},",":{"docs":{},"构":{"docs":{},"造":{"docs":{},"器":{"docs":{},"接":{"docs":{},"收":{"docs":{},"两":{"docs":{},"个":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"半":{"docs":{},"径":{"docs":{},"一":{"docs":{},"个":{"docs":{},"是":{"docs":{},"名":{"docs":{},"称":{"docs":{},",":{"docs":{},"实":{"docs":{},"现":{"docs":{},"a":{"docs":{},"r":{"docs":{},"e":{"docs":{},"a":{"docs":{},"和":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"b":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},")":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"(":{"docs":{},"e":{"docs":{},"x":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}},"简":{"docs":{},"写":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"(":{"docs":{},"s":{"docs":{},"h":{"docs":{},"o":{"docs":{},"r":{"docs":{},"t":{"docs":{},"h":{"docs":{},"a":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}}}}},"默":{"docs":{},"认":{"docs":{},"参":{"docs":{},"数":{"docs":{},"值":{"docs":{},"(":{"docs":{},"d":{"docs":{},"e":{"docs":{},"f":{"docs":{},"a":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}},".":{"docs":{},"c":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}}}}},"[":{"docs":{},"i":{"docs":{"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.002232142857142857}}}}},"(":{"docs":{},"a":{"docs":{},"t":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"b":{"docs":{},"u":{"docs":{},"t":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"v":{"docs":{},"i":{"docs":{},"g":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}}},"e":{"docs":{},"w":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.011834319526627219},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}},"e":{"docs":{},".":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"l":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"t":{"docs":{},"h":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}}}}}}}}}}}},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"必":{"docs":{},"须":{"docs":{},"和":{"docs":{},"下":{"docs":{},"标":{"docs":{},"定":{"docs":{},"义":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"类":{"docs":{},"型":{"docs":{},"相":{"docs":{},"同":{"docs":{},"。":{"docs":{},"与":{"docs":{},"实":{"docs":{},"例":{"docs":{},"属":{"docs":{},"性":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"是":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"的":{"docs":{},"入":{"docs":{},"参":{"docs":{},"声":{"docs":{},"明":{"docs":{},"n":{"docs":{},"e":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{},"e":{"docs":{},"就":{"docs":{},"算":{"docs":{},"不":{"docs":{},"写":{"docs":{},",":{"docs":{},"在":{"docs":{},"s":{"docs":{},"e":{"docs":{},"t":{"docs":{},"代":{"docs":{},"码":{"docs":{},"块":{"docs":{},"中":{"docs":{},"依":{"docs":{},"然":{"docs":{},"可":{"docs":{},"以":{"docs":{},"使":{"docs":{},"用":{"docs":{},"n":{"docs":{},"e":{"docs":{},"w":{"docs":{},"v":{"docs":{},"a":{"docs":{},"l":{"docs":{},"u":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}},"p":{"docs":{},"t":{"docs":{},"u":{"docs":{},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}},"r":{"docs":{},"n":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}},"x":{"docs":{},"t":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}},"方":{"docs":{},"法":{"docs":{},"时":{"docs":{},",":{"docs":{},"开":{"docs":{},"关":{"docs":{},"在":{"docs":{},"不":{"docs":{},"同":{"docs":{},"的":{"docs":{},"电":{"docs":{},"源":{"docs":{},"状":{"docs":{},"态":{"docs":{},"(":{"docs":{},"o":{"docs":{},"f":{"docs":{},"f":{"docs":{},",":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{},",":{"docs":{},"h":{"docs":{},"i":{"docs":{},"g":{"docs":{},"h":{"docs":{"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"e":{"docs":{},"s":{"docs":{},"s":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}},"e":{"docs":{},"d":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}}}},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":5.021505376344086},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.016260162601626018},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}},",":{"docs":{},"?":{"docs":{},"后":{"docs":{},"面":{"docs":{},"的":{"docs":{},"东":{"docs":{},"西":{"docs":{},"都":{"docs":{},"会":{"docs":{},"被":{"docs":{},"忽":{"docs":{},"略":{"docs":{},",":{"docs":{},"并":{"docs":{},"且":{"docs":{},"整":{"docs":{},"个":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"返":{"docs":{},"回":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}},"条":{"docs":{},"件":{"docs":{},"会":{"docs":{},"判":{"docs":{},"断":{"docs":{},"为":{"docs":{},"f":{"docs":{},"a":{"docs":{},"l":{"docs":{},"s":{"docs":{},"e":{"docs":{},",":{"docs":{},"大":{"docs":{},"括":{"docs":{},"号":{"docs":{},"中":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"会":{"docs":{},"被":{"docs":{},"跳":{"docs":{},"过":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"不":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{},",":{"docs":{},"会":{"docs":{},"将":{"docs":{},"值":{"docs":{},"赋":{"docs":{},"给":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}},"但":{"docs":{},"是":{"docs":{},"后":{"docs":{},"面":{"docs":{},"的":{"docs":{},"代":{"docs":{},"码":{"docs":{},"运":{"docs":{},"行":{"docs":{},"需":{"docs":{},"要":{"docs":{},"一":{"docs":{},"个":{"docs":{},"非":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}},"不":{"docs":{},"是":{"docs":{},"指":{"docs":{},"针":{"docs":{},"—":{"docs":{},"—":{"docs":{},"它":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"确":{"docs":{},"定":{"docs":{},"的":{"docs":{},"值":{"docs":{},",":{"docs":{},"用":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"值":{"docs":{},"缺":{"docs":{},"失":{"docs":{},"。":{"docs":{},"任":{"docs":{},"何":{"docs":{},"类":{"docs":{},"型":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"被":{"docs":{},"设":{"docs":{},"置":{"docs":{},"为":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"话":{"docs":{},"请":{"docs":{},"不":{"docs":{},"要":{"docs":{},"使":{"docs":{},"用":{"docs":{},"隐":{"docs":{},"式":{"docs":{},"解":{"docs":{},"析":{"docs":{},"可":{"docs":{},"选":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"变":{"docs":{},"量":{"docs":{},"的":{"docs":{},"生":{"docs":{},"命":{"docs":{},"周":{"docs":{},"期":{"docs":{},"中":{"docs":{},"判":{"docs":{},"断":{"docs":{},"是":{"docs":{},"否":{"docs":{},"是":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"了":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"想":{"docs":{},"使":{"docs":{},"用":{"docs":{},"和":{"docs":{},"前":{"docs":{},"面":{"docs":{},"一":{"docs":{},"样":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"来":{"docs":{},"获":{"docs":{},"得":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},",":{"docs":{},"它":{"docs":{},"将":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"包":{"docs":{},"含":{"docs":{},"默":{"docs":{},"认":{"docs":{},"值":{"1":{"docs":{},"的":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},")":{"docs":{},",":{"docs":{},"不":{"docs":{},"论":{"docs":{},"你":{"docs":{},"调":{"docs":{},"用":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"、":{"docs":{},"方":{"docs":{},"法":{"docs":{},"、":{"docs":{},"子":{"docs":{},"脚":{"docs":{},"本":{"docs":{},"等":{"docs":{},"返":{"docs":{},"回":{"docs":{},"的":{"docs":{},"值":{"docs":{},"是":{"docs":{},"不":{"docs":{},"是":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"值":{"docs":{},",":{"docs":{},"它":{"docs":{},"的":{"docs":{},"返":{"docs":{},"回":{"docs":{},"结":{"docs":{},"果":{"docs":{},"都":{"docs":{},"是":{"docs":{},"一":{"docs":{},"个":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"值":{"docs":{},"。":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"利":{"docs":{},"用":{"docs":{},"这":{"docs":{},"个":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"来":{"docs":{},"检":{"docs":{},"测":{"docs":{},"你":{"docs":{},"的":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"是":{"docs":{},"否":{"docs":{},"调":{"docs":{},"用":{"docs":{},"成":{"docs":{},"功":{"docs":{},",":{"docs":{},"有":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"即":{"docs":{},"成":{"docs":{},"功":{"docs":{},",":{"docs":{},"返":{"docs":{},"回":{"docs":{},"n":{"docs":{},"i":{"docs":{},"l":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.008130081300813009}}}}},"o":{"docs":{},"n":{"docs":{},"e":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}}},"-":{"docs":{},"c":{"docs":{},"l":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}},"s":{"docs":{},"p":{"docs":{},"e":{"docs":{},"c":{"docs":{},"i":{"docs":{},"f":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949}}}}}}}}}},"w":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.008344923504867872},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.027227722772277228},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.047337278106508875},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.013452914798206279}}},"r":{"docs":{},"m":{"docs":{},"a":{"docs":{},"l":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},".":{"docs":{},"l":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}},"u":{"docs":{},"p":{"docs":{},"p":{"docs":{},"e":{"docs":{},"r":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}}}}}}}}},"t":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}},"”":{"docs":{},"。":{"docs":{},"当":{"docs":{},"它":{"docs":{},"等":{"docs":{},"于":{"docs":{},".":{"docs":{},"s":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"h":{"docs":{},",":{"docs":{},"打":{"docs":{},"印":{"docs":{},"“":{"docs":{},"w":{"docs":{},"a":{"docs":{},"t":{"docs":{},"c":{"docs":{},"h":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}},",":{"docs":{},"s":{"docs":{},"o":{"docs":{},"u":{"docs":{},"t":{"docs":{},"h":{"docs":{},",":{"docs":{},"e":{"docs":{},"a":{"docs":{},"s":{"docs":{},"t":{"docs":{},"和":{"docs":{},"w":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},")":{"docs":{},"是":{"docs":{},"枚":{"docs":{},"举":{"docs":{},"的":{"docs":{},"成":{"docs":{},"员":{"docs":{},"值":{"docs":{},"(":{"docs":{},"或":{"docs":{},"者":{"docs":{},"成":{"docs":{},"员":{"docs":{},")":{"docs":{},"。":{"docs":{},"c":{"docs":{},"a":{"docs":{},"s":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.04395604395604396}},"特":{"docs":{},"性":{"docs":{},"标":{"docs":{},"记":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"或":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"你":{"docs":{},"可":{"docs":{},"以":{"docs":{},"将":{"docs":{},"它":{"docs":{},"重":{"docs":{},"写":{"docs":{},"(":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"r":{"docs":{},"r":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},")":{"docs":{},"为":{"docs":{},"用":{"docs":{},"该":{"docs":{},"特":{"docs":{},"性":{"docs":{},"标":{"docs":{},"记":{"docs":{},"的":{"docs":{},"。":{"docs":{},"相":{"docs":{},"反":{"docs":{},",":{"docs":{},"对":{"docs":{},"于":{"docs":{},"一":{"docs":{},"个":{"docs":{},"已":{"docs":{},"经":{"docs":{},"用":{"docs":{},"n":{"docs":{},"o":{"docs":{},"r":{"docs":{},"e":{"docs":{},"t":{"docs":{},"u":{"docs":{},"r":{"docs":{},"n":{"docs":{},"特":{"docs":{},"性":{"docs":{},"标":{"docs":{},"记":{"docs":{},"的":{"docs":{},"函":{"docs":{},"数":{"docs":{},"或":{"docs":{},"方":{"docs":{},"法":{"docs":{},",":{"docs":{},"你":{"docs":{},"则":{"docs":{},"不":{"docs":{},"可":{"docs":{},"以":{"docs":{},"将":{"docs":{},"它":{"docs":{},"重":{"docs":{},"写":{"docs":{},"为":{"docs":{},"没":{"docs":{},"使":{"docs":{},"用":{"docs":{},"该":{"docs":{},"特":{"docs":{},"性":{"docs":{},"标":{"docs":{},"记":{"docs":{},"的":{"docs":{},"。":{"docs":{},"相":{"docs":{},"同":{"docs":{},"的":{"docs":{},"规":{"docs":{},"则":{"docs":{},"试":{"docs":{},"用":{"docs":{},"于":{"docs":{},"当":{"docs":{},"你":{"docs":{},"在":{"docs":{},"一":{"docs":{},"个":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{},"f":{"docs":{},"o":{"docs":{},"r":{"docs":{},"m":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"e":{"docs":{"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.005979073243647235}}}}},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.01645123384253819},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.006954102920723227},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.031578947368421054},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.033112582781456956},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0007905138339920949},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}},"o":{"docs":{},"f":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.007050528789659225}}}}},"t":{"docs":{},"i":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.01485148514851485}}}}},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.02074688796680498}}}}}}},"l":{"docs":{},"e":{"docs":{},"g":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}},"s":{"docs":{},"[":{"docs":{},"\"":{"docs":{},"b":{"docs":{},"i":{"docs":{},"r":{"docs":{},"d":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"并":{"docs":{},"用":{"docs":{},"一":{"docs":{},"个":{"docs":{},"字":{"docs":{},"典":{"docs":{},"表":{"docs":{},"达":{"docs":{},"式":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"出":{"docs":{},"了":{"docs":{},"包":{"docs":{},"含":{"docs":{},"三":{"docs":{},"对":{"docs":{},"键":{"docs":{},"值":{"docs":{},"的":{"docs":{},"字":{"docs":{},"典":{"docs":{},"实":{"docs":{},"例":{"docs":{},"。":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"l":{"docs":{},"e":{"docs":{},"g":{"docs":{},"s":{"docs":{},"的":{"docs":{},"字":{"docs":{},"典":{"docs":{},"存":{"docs":{},"放":{"docs":{},"值":{"docs":{},"类":{"docs":{},"型":{"docs":{},"推":{"docs":{},"断":{"docs":{},"为":{"docs":{},"d":{"docs":{},"i":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{},"r":{"docs":{},"y":{"docs":{},"&":{"docs":{},"l":{"docs":{},"t":{"docs":{},";":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.005494505494505495}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.023668639053254437}}}}}}}}}}}}},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.019867549668874173}},"s":{"docs":{},"是":{"docs":{},"非":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"?":{"docs":{},")":{"docs":{},"时":{"docs":{},"这":{"docs":{},"一":{"docs":{},"点":{"docs":{},"也":{"docs":{},"成":{"docs":{},"立":{"docs":{},"。":{"docs":{},"只":{"docs":{},"要":{"docs":{},"是":{"docs":{},"通":{"docs":{},"过":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"的":{"docs":{},"请":{"docs":{},"求":{"docs":{},"就":{"docs":{},"意":{"docs":{},"味":{"docs":{},"着":{"docs":{},"最":{"docs":{},"后":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{},"s":{"docs":{},"总":{"docs":{},"是":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"?":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"的":{"docs":{},"操":{"docs":{},"作":{"docs":{},"有":{"docs":{},"可":{"docs":{},"能":{"docs":{},"失":{"docs":{},"败":{"docs":{},",":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"会":{"docs":{},"返":{"docs":{},"回":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"?":{"docs":{},"类":{"docs":{},"型":{"docs":{},"值":{"docs":{},",":{"docs":{},"或":{"docs":{},"者":{"docs":{},"称":{"docs":{},"作":{"docs":{},"“":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"”":{"docs":{},"。":{"docs":{},"当":{"docs":{},"r":{"docs":{},"e":{"docs":{},"s":{"docs":{},"i":{"docs":{},"d":{"docs":{},"e":{"docs":{},"n":{"docs":{},"c":{"docs":{},"e":{"docs":{},"是":{"docs":{},"空":{"docs":{},"的":{"docs":{},"时":{"docs":{},"候":{"docs":{},"(":{"docs":{},"上":{"docs":{},"例":{"docs":{},")":{"docs":{},",":{"docs":{},"选":{"docs":{},"择":{"docs":{},"i":{"docs":{},"n":{"docs":{},"t":{"docs":{},"将":{"docs":{},"会":{"docs":{},"为":{"docs":{},"空":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"会":{"docs":{},"出":{"docs":{},"先":{"docs":{},"无":{"docs":{},"法":{"docs":{},"访":{"docs":{},"问":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"r":{"docs":{},"o":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},".":{"docs":{},"m":{"docs":{},"a":{"docs":{},"p":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.005263157894736842}}}}}},"的":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},".":{"docs":{},".":{"docs":{},".":{"docs":{},"型":{"docs":{},"可":{"docs":{},"变":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"在":{"docs":{},"函":{"docs":{},"数":{"docs":{},"体":{"docs":{},"内":{"docs":{},"可":{"docs":{},"以":{"docs":{},"当":{"docs":{},"做":{"docs":{},"一":{"docs":{},"个":{"docs":{},"叫":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"的":{"docs":{},"d":{"docs":{},"o":{"docs":{},"u":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"y":{"docs":{},"s":{"docs":{},"t":{"docs":{},"e":{"docs":{},"m":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.011029411764705883}}}}}}}}}}}}},"s":{"docs":{},"n":{"docs":{},"o":{"docs":{},"t":{"docs":{},"f":{"docs":{},"o":{"docs":{},"u":{"docs":{},"n":{"docs":{},"d":{"docs":{},")":{"docs":{},"来":{"docs":{},"暗":{"docs":{},"示":{"docs":{},"值":{"docs":{},"缺":{"docs":{},"失":{"docs":{},"。":{"docs":{},"这":{"docs":{},"种":{"docs":{},"方":{"docs":{},"法":{"docs":{},"假":{"docs":{},"设":{"docs":{},"方":{"docs":{},"法":{"docs":{},"的":{"docs":{},"调":{"docs":{},"用":{"docs":{},"者":{"docs":{},"知":{"docs":{},"道":{"docs":{},"并":{"docs":{},"记":{"docs":{},"得":{"docs":{},"对":{"docs":{},"特":{"docs":{},"殊":{"docs":{},"值":{"docs":{},"进":{"docs":{},"行":{"docs":{},"判":{"docs":{},"断":{"docs":{},"。":{"docs":{},"然":{"docs":{},"而":{"docs":{},",":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"m":{"docs":{},"u":{"docs":{},"t":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}}},"a":{"docs":{},"n":{"docs":{},"a":{"docs":{},"g":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"e":{"docs":{},"d":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"子":{"docs":{},"类":{"docs":{},"中":{"docs":{},"的":{"docs":{},"存":{"docs":{},"储":{"docs":{},"型":{"docs":{},"变":{"docs":{},"量":{"docs":{},"属":{"docs":{},"性":{"docs":{},",":{"docs":{},"表":{"docs":{},"明":{"docs":{},"属":{"docs":{},"性":{"docs":{},"的":{"docs":{},"存":{"docs":{},"储":{"docs":{},"和":{"docs":{},"实":{"docs":{},"现":{"docs":{},"由":{"docs":{},"c":{"docs":{},"o":{"docs":{},"r":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.019417475728155338}}}}}}}},"c":{"docs":{},"o":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}},"y":{"docs":{},"i":{"docs":{},"n":{"docs":{},"g":{"docs":{},"特":{"docs":{},"性":{"docs":{},"的":{"docs":{},"行":{"docs":{},"为":{"docs":{},"与":{"docs":{},"o":{"docs":{},"b":{"docs":{},"j":{"docs":{},"e":{"docs":{},"c":{"docs":{},"t":{"docs":{},"i":{"docs":{},"v":{"docs":{},"e":{"docs":{},"-":{"docs":{},"c":{"docs":{},"中":{"docs":{},"的":{"docs":{},"c":{"docs":{},"o":{"docs":{},"p":{"docs":{},"i":{"docs":{"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}}},"v":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.004172461752433936},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"a":{"docs":{},"r":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.04935370152761457},"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.029045643153526972},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.014336917562724014},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.011650485436893204},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.011126564673157162},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.010526315789473684},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.027227722772277228},"chapter2/12_Subscripts.html#gitbook_61":{"ref":"chapter2/12_Subscripts.html#gitbook_61","tf":0.016483516483516484},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286},"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.01775147928994083},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.029801324503311258},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0047430830039525695},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.024390243902439025},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.034482758620689655},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.02391629297458894},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"i":{"docs":{},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23394896011902835},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0029895366218236174}},"e":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.005825242718446602}}}}}}}},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906}}}}},"或":{"docs":{},"者":{"docs":{},"l":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.003676470588235294}}}}}}}},"l":{"docs":{},"u":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.010752688172043012},"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.012517385257301807},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":3.370098039215686},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.4521093413689195},"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.006622516556291391},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.020553359683794466},"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.04878048780487805},"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.017937219730941704},"chapter3/06_Attributes.html#gitbook_77":{"ref":"chapter3/06_Attributes.html#gitbook_77","tf":0.01098901098901099}},"e":{"docs":{},"s":{"docs":{},")":{"docs":{},"函":{"docs":{},"数":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}},"可":{"docs":{},"变":{"docs":{},"参":{"docs":{},"数":{"docs":{},"(":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{},"i":{"docs":{},"a":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}},"多":{"docs":{},"重":{"docs":{},"输":{"docs":{},"入":{"docs":{},"参":{"docs":{},"数":{"docs":{},"(":{"docs":{},"m":{"docs":{},"u":{"docs":{},"l":{"docs":{},"t":{"docs":{},"i":{"docs":{},"p":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"函":{"docs":{},"数":{"docs":{},"(":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}},"默":{"docs":{},"认":{"docs":{},"值":{"docs":{},"参":{"docs":{},"数":{"docs":{},"的":{"docs":{},"外":{"docs":{},"部":{"docs":{},"参":{"docs":{},"数":{"docs":{},"名":{"docs":{},"(":{"docs":{},"e":{"docs":{},"x":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},"n":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.23255813953488372}}}}}}}}}}}}}}}}}}}},"原":{"docs":{},"始":{"docs":{},"值":{"docs":{},"(":{"docs":{},"r":{"docs":{},"a":{"docs":{},"w":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":3.333333333333333}}}}}}}}}},"(":{"docs":{},"f":{"docs":{},"i":{"docs":{},"r":{"docs":{},"s":{"docs":{},"t":{"docs":{"chapter2/19_Nested_Types.html#gitbook_68":{"ref":"chapter2/19_Nested_Types.html#gitbook_68","tf":0.024390243902439025}}}}}}}}},")":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"这":{"docs":{},"些":{"docs":{},"量":{"docs":{},"是":{"docs":{},"不":{"docs":{},"能":{"docs":{},"被":{"docs":{},"修":{"docs":{},"改":{"docs":{},"的":{"docs":{},"。":{"docs":{},"当":{"docs":{},"传":{"docs":{},"入":{"docs":{},"的":{"docs":{},"参":{"docs":{},"数":{"docs":{},"作":{"docs":{},"为":{"docs":{},"输":{"docs":{},"入":{"docs":{},"输":{"docs":{},"出":{"docs":{},"参":{"docs":{},"数":{"docs":{},"时":{"docs":{},",":{"docs":{},"需":{"docs":{},"要":{"docs":{},"在":{"docs":{},"参":{"docs":{},"数":{"docs":{},"前":{"docs":{},"加":{"docs":{},"&":{"docs":{},"a":{"docs":{},"m":{"docs":{},"p":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"t":{"docs":{},"o":{"docs":{},"f":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.008968609865470852}},"”":{"docs":{},"。":{"docs":{},"不":{"docs":{},"是":{"docs":{},"所":{"docs":{},"有":{"docs":{},"的":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"都":{"docs":{},"可":{"docs":{},"以":{"docs":{},"用":{"docs":{},"等":{"docs":{},"式":{"docs":{},"符":{"docs":{},"(":{"docs":{},"=":{"docs":{},"=":{"docs":{},")":{"docs":{},"进":{"docs":{},"行":{"docs":{},"比":{"docs":{},"较":{"docs":{},"。":{"docs":{},"例":{"docs":{},"如":{"docs":{},",":{"docs":{},"如":{"docs":{},"果":{"docs":{},"你":{"docs":{},"创":{"docs":{},"建":{"docs":{},"一":{"docs":{},"个":{"docs":{},"你":{"docs":{},"自":{"docs":{},"己":{"docs":{},"的":{"docs":{},"类":{"docs":{},"或":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"来":{"docs":{},"表":{"docs":{},"示":{"docs":{},"一":{"docs":{},"个":{"docs":{},"复":{"docs":{},"杂":{"docs":{},"的":{"docs":{},"数":{"docs":{},"据":{"docs":{},"模":{"docs":{},"型":{"docs":{},",":{"docs":{},"那":{"docs":{},"么":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"没":{"docs":{},"法":{"docs":{},"猜":{"docs":{},"到":{"docs":{},"对":{"docs":{},"于":{"docs":{},"这":{"docs":{},"个":{"docs":{},"类":{"docs":{},"或":{"docs":{},"结":{"docs":{},"构":{"docs":{},"体":{"docs":{},"而":{"docs":{},"言":{"docs":{},"“":{"docs":{},"等":{"docs":{},"于":{"docs":{},"”":{"docs":{},"的":{"docs":{},"意":{"docs":{},"思":{"docs":{},"。":{"docs":{},"正":{"docs":{},"因":{"docs":{},"如":{"docs":{},"此":{"docs":{},",":{"docs":{},"这":{"docs":{},"部":{"docs":{},"分":{"docs":{},"代":{"docs":{},"码":{"docs":{},"不":{"docs":{},"能":{"docs":{},"可":{"docs":{},"能":{"docs":{},"保":{"docs":{},"证":{"docs":{},"工":{"docs":{},"作":{"docs":{},"于":{"docs":{},"每":{"docs":{},"个":{"docs":{},"可":{"docs":{},"能":{"docs":{},"的":{"docs":{},"类":{"docs":{},"型":{"docs":{},"t":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.0014947683109118087}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"e":{"docs":{},"g":{"docs":{},"e":{"docs":{},"t":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0023501762632197414}},"a":{"docs":{},"b":{"docs":{},"l":{"docs":{},"e":{"docs":{},"c":{"docs":{},"o":{"docs":{},"m":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.004700352526439483}}}}}}}}}}}},"r":{"docs":{},"i":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0011750881316098707}}},"o":{"docs":{},"n":{"docs":{},"a":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.003883495145631068}}}}},"s":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0023715415019762848}}}}}}},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.024896265560165973}},"e":{"docs":{},"的":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"子":{"docs":{},"类":{"docs":{},",":{"docs":{},"叫":{"docs":{},"c":{"docs":{},"a":{"docs":{},"r":{"docs":{},",":{"docs":{},"它":{"docs":{},"重":{"docs":{},"写":{"docs":{},"了":{"docs":{},"从":{"docs":{},"v":{"docs":{},"e":{"docs":{},"h":{"docs":{},"i":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"类":{"docs":{},"继":{"docs":{},"承":{"docs":{},"来":{"docs":{},"的":{"docs":{},"&":{"docs":{},"#":{"3":{"9":{"docs":{},";":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"&":{"docs":{},"#":{"3":{"9":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}},"docs":{}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"基":{"docs":{},"类":{"docs":{},"。":{"docs":{},"这":{"docs":{},"个":{"docs":{},"基":{"docs":{},"类":{"docs":{},"声":{"docs":{},"明":{"docs":{},"了":{"docs":{},"两":{"docs":{},"个":{"docs":{},"对":{"docs":{},"所":{"docs":{},"有":{"docs":{},"车":{"docs":{},"辆":{"docs":{},"都":{"docs":{},"通":{"docs":{},"用":{"docs":{},"的":{"docs":{},"属":{"docs":{},"性":{"docs":{},"(":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"l":{"docs":{},"s":{"docs":{},"和":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},")":{"docs":{},"。":{"docs":{},"这":{"docs":{},"些":{"docs":{},"属":{"docs":{},"性":{"docs":{},"在":{"docs":{},"d":{"docs":{},"e":{"docs":{},"s":{"docs":{},"c":{"docs":{},"r":{"docs":{},"i":{"docs":{},"p":{"docs":{},"t":{"docs":{},"i":{"docs":{},"o":{"docs":{},"n":{"docs":{},"方":{"docs":{},"法":{"docs":{},"中":{"docs":{},"使":{"docs":{},"用":{"docs":{},",":{"docs":{},"这":{"docs":{},"个":{"docs":{},"方":{"docs":{},"法":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"s":{"docs":{},"t":{"docs":{},"r":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"类":{"docs":{},"中":{"docs":{},"m":{"docs":{},"a":{"docs":{},"x":{"docs":{},"p":{"docs":{},"a":{"docs":{},"s":{"docs":{},"s":{"docs":{},"e":{"docs":{},"n":{"docs":{},"g":{"docs":{},"e":{"docs":{},"r":{"docs":{},"s":{"docs":{},"的":{"docs":{},"默":{"docs":{},"认":{"docs":{},"值":{"docs":{},"对":{"docs":{},"自":{"docs":{},"行":{"docs":{},"车":{"docs":{},"来":{"docs":{},"说":{"docs":{},"已":{"docs":{},"经":{"docs":{},"是":{"docs":{},"正":{"docs":{},"确":{"docs":{},"的":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"在":{"docs":{},"b":{"docs":{},"i":{"docs":{},"c":{"docs":{},"y":{"docs":{},"c":{"docs":{},"l":{"docs":{},"e":{"docs":{},"的":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"中":{"docs":{},"并":{"docs":{},"没":{"docs":{},"有":{"docs":{},"改":{"docs":{},"变":{"docs":{},"它":{"docs":{},"。":{"docs":{},"而":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"l":{"docs":{},"s":{"docs":{},"原":{"docs":{},"来":{"docs":{},"的":{"docs":{},"值":{"docs":{},"对":{"docs":{},"自":{"docs":{},"行":{"docs":{},"车":{"docs":{},"来":{"docs":{},"说":{"docs":{},"是":{"docs":{},"不":{"docs":{},"正":{"docs":{},"确":{"docs":{},"的":{"docs":{},",":{"docs":{},"因":{"docs":{},"此":{"docs":{},"在":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"中":{"docs":{},"将":{"docs":{},"它":{"docs":{},"更":{"docs":{},"改":{"docs":{},"为":{"2":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"定":{"docs":{},"义":{"docs":{},"了":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"(":{"docs":{},"i":{"docs":{},"n":{"docs":{},"i":{"docs":{},"t":{"docs":{},"i":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}},"的":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"器":{"docs":{},"为":{"docs":{},"任":{"docs":{},"意":{"docs":{},"的":{"docs":{},"一":{"docs":{},"辆":{"docs":{},"车":{"docs":{},"设":{"docs":{},"置":{"docs":{},"一":{"docs":{},"些":{"docs":{},"初":{"docs":{},"始":{"docs":{},"化":{"docs":{},"属":{"docs":{},"性":{"docs":{},"值":{"docs":{},"(":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"w":{"docs":{},"h":{"docs":{},"e":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/13_Inheritance.html#gitbook_39":{"ref":"chapter2/13_Inheritance.html#gitbook_39","tf":0.004149377593360996}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"n":{"docs":{},"u":{"docs":{"chapter2/08_Enumerations.html#gitbook_57":{"ref":"chapter2/08_Enumerations.html#gitbook_57","tf":0.007352941176470588}}},"d":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"(":{"docs":{},"v":{"docs":{},"a":{"docs":{},"r":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}},"方":{"docs":{},"法":{"docs":{},"在":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"分":{"docs":{},"发":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"之":{"docs":{},"前":{"docs":{},"检":{"docs":{},"查":{"docs":{},"是":{"docs":{},"否":{"docs":{},"有":{"docs":{},"足":{"docs":{},"够":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"。":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"足":{"docs":{},"够":{"docs":{},"多":{"docs":{},"的":{"docs":{},"硬":{"docs":{},"币":{"docs":{},",":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"返":{"docs":{},"回":{"docs":{},"一":{"docs":{},"个":{"docs":{},"比":{"docs":{},"请":{"docs":{},"求":{"docs":{},"时":{"docs":{},"小":{"docs":{},"的":{"docs":{},"数":{"docs":{},"字":{"docs":{},"(":{"docs":{},"如":{"docs":{},"果":{"docs":{},"没":{"docs":{},"有":{"docs":{},"硬":{"docs":{},"币":{"docs":{},"留":{"docs":{},"在":{"docs":{},"b":{"docs":{},"a":{"docs":{},"n":{"docs":{},"k":{"docs":{},"中":{"docs":{},"就":{"docs":{},"返":{"docs":{},"回":{"0":{"docs":{},")":{"docs":{},"。":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"方":{"docs":{},"法":{"docs":{},"声":{"docs":{},"明":{"docs":{},"n":{"docs":{},"u":{"docs":{},"m":{"docs":{},"b":{"docs":{},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{},"f":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{},"s":{"docs":{},"t":{"docs":{},"o":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"为":{"docs":{},"一":{"docs":{},"个":{"docs":{},"变":{"docs":{},"量":{"docs":{},"参":{"docs":{},"数":{"docs":{},",":{"docs":{},"这":{"docs":{},"样":{"docs":{},"就":{"docs":{},"可":{"docs":{},"以":{"docs":{},"在":{"docs":{},"方":{"docs":{},"法":{"docs":{},"体":{"docs":{},"的":{"docs":{},"内":{"docs":{},"部":{"docs":{},"修":{"docs":{},"改":{"docs":{},"数":{"docs":{},"字":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"需":{"docs":{},"要":{"docs":{},"定":{"docs":{},"义":{"docs":{},"一":{"docs":{},"个":{"docs":{},"新":{"docs":{},"的":{"docs":{},"变":{"docs":{},"量":{"docs":{},"。":{"docs":{},"v":{"docs":{},"e":{"docs":{},"n":{"docs":{},"d":{"docs":{},"c":{"docs":{},"o":{"docs":{},"i":{"docs":{},"n":{"docs":{"chapter2/15_Deinitialization.html#gitbook_64":{"ref":"chapter2/15_Deinitialization.html#gitbook_64","tf":0.005917159763313609}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"docs":{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"o":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}},"。":{"docs":{},"在":{"docs":{},"s":{"docs":{},"w":{"docs":{},"i":{"docs":{},"f":{"docs":{},"t":{"docs":{},"中":{"docs":{},",":{"docs":{},"v":{"docs":{},"o":{"docs":{},"i":{"docs":{},"d":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453}}}}}}}}}}}}}}},"(":{"docs":{},"参":{"docs":{},"见":{"docs":{},"f":{"docs":{},"u":{"docs":{},"n":{"docs":{},"c":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}},"?":{"docs":{},",":{"docs":{},"而":{"docs":{},"不":{"docs":{},"是":{"docs":{},"v":{"docs":{},"o":{"docs":{},"i":{"docs":{},"d":{"docs":{},",":{"docs":{},"因":{"docs":{},"为":{"docs":{},"当":{"docs":{},"通":{"docs":{},"过":{"docs":{},"可":{"docs":{},"选":{"docs":{},"链":{"docs":{},"调":{"docs":{},"用":{"docs":{},"方":{"docs":{},"法":{"docs":{},"时":{"docs":{},"返":{"docs":{},"回":{"docs":{},"值":{"docs":{},"总":{"docs":{},"是":{"docs":{},"自":{"docs":{},"判":{"docs":{},"断":{"docs":{},"类":{"docs":{},"型":{"docs":{},"(":{"docs":{},"o":{"docs":{},"p":{"docs":{},"t":{"docs":{"chapter2/17_Optional_Chaining.html#gitbook_66":{"ref":"chapter2/17_Optional_Chaining.html#gitbook_66","tf":0.0033112582781456954}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.008344923504867872},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.014367816091954023}},"代":{"docs":{},"替":{"docs":{},"c":{"docs":{},"h":{"docs":{},"a":{"docs":{},"r":{"docs":{},"a":{"docs":{},"c":{"docs":{},"t":{"docs":{},"e":{"docs":{},"r":{"docs":{},".":{"docs":{},"k":{"docs":{},"i":{"docs":{},"n":{"docs":{},"d":{"docs":{},".":{"docs":{},"v":{"docs":{},"o":{"docs":{},"w":{"docs":{},"e":{"docs":{},"l":{"docs":{"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}}}}}}}}}}}}}}}}}}}}}}}}}}},"i":{"docs":{},"e":{"docs":{},"w":{"docs":{"chapter2/22_Generics.html#gitbook_72":{"ref":"chapter2/22_Generics.html#gitbook_72","tf":0.004484304932735426}}}}}},"y":{"docs":{"chapter1/02_a_swift_tour.html#gitbook_37":{"ref":"chapter1/02_a_swift_tour.html#gitbook_37","tf":0.0035252643948296123},"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.03217821782178218},"chapter2/02_Basic_Operators.html#gitbook_62":{"ref":"chapter2/02_Basic_Operators.html#gitbook_62","tf":0.011160714285714286},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0031620553359683794},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.014367816091954023}},"e":{"docs":{},"n":{"docs":{},"s":{"docs":{},"i":{"docs":{},"g":{"docs":{},"n":{"docs":{"chapter2/03_Strings_and_Characters.html#gitbook_41":{"ref":"chapter2/03_Strings_and_Characters.html#gitbook_41","tf":0.001941747572815534}}}}}}}}},"_":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0035842293906810036},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0027816411682892906},"chapter2/11_Methods.html#gitbook_60":{"ref":"chapter2/11_Methods.html#gitbook_60","tf":0.0024752475247524753},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}}},"z":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.0013908205841446453},"chapter2/20_Extensions.html#gitbook_69":{"ref":"chapter2/20_Extensions.html#gitbook_69","tf":0.0028735632183908046}},"e":{"docs":{},"r":{"docs":{},"o":{"docs":{"chapter2/01_The_Basics.html#gitbook_40":{"ref":"chapter2/01_The_Basics.html#gitbook_40","tf":0.0017921146953405018},"chapter2/06_Functions.html#gitbook_55":{"ref":"chapter2/06_Functions.html#gitbook_55","tf":0.005563282336578581},"chapter2/07_Closures.html#gitbook_56":{"ref":"chapter2/07_Closures.html#gitbook_56","tf":0.002631578947368421},"chapter2/18_Type_Casting.html#gitbook_67":{"ref":"chapter2/18_Type_Casting.html#gitbook_67","tf":0.0015810276679841897}}}}}}},"length":3043},"corpusTokens":["0","0,$1,$2","0..3","0..count","0..self","0..somecontainer.count","0..time","0.0","0.0125","0.0254","0.1","0.14159","0.25","0.5","0.914399970739201","000123.456","0746381295[9","0b","0b10001","0o","0o21","0x","0x11","0xc.3p0","0xfp-2","0xfp2","0x)。小数点两边必须有至少一个十进制数字(或者是十六进制的数字)。浮点原始值还有一个可选的指数,在十进制浮点数中通过大写或者小写的e来指定,在十六进制浮点数中通过大写或者小写的p","0为fals","0为true的时候代码运行才会继续,也就是说,当age的值非负的时候。如果age的值是负数,就像代码中那样,ag","0和maxpasseng","0是真的(true),这将使得choosestepfunction返回stepbackward函数。一个指向返回的函数的引用保存在了movenearertozero","0,这时闭包会将字符串输出,而map","1","1)都被锁定。每次有玩家完成一个等级,这个等级就对这个设备上的所有玩家解锁。leveltrack","1...5","1...amounttopad","1...digitindex","1.0","1.21875e1","1.25","1.25e-2","1.25e2","1.5","10","10.0","100","100.0","10000","103","107","10^-2","10^2","10_000","10中,如果number为16,则返回6,58返回8,510返回0","11","111","12","12.1875","123","123456789[0]返回9","123456789[1]返回8","125.0","128054","128054,是一个十六进制1f436","13","144","15","159","16","16,58,510","16变成了1,58变成了5,510变成了51","17","182","19","195.m","1_000.0","1_000_000","1_000_000.000_000_1","1千米等于1,000米,所以km计算属性要把值乘以1_000.00来转化成单位米下的数值。类似地,1米有3.28024英尺,所以ft计算属性要把对应的double值除以3.28024","1后变成2","1的比较结果是bool类型,所以第二个例子可以通过类型检查。类似i","2","2.0","2.5","20","200","2000","2001","2014","21","2100","240","25","25.4.mm","255","2^-2","2^2","2_000","3","3.0","3.1","3.14159","3.14159,0.1和-273.15","3.2","3.28084","3.59","3.69","3.75","3.79","3.ft","3.repetit","30","32位平台上,int和int32","32位平台上,uint和uint32","33","35.0","39","39;*'","3可以直接和原始值0.14159","3没有显式声明类型,而表达式中出现了一个浮点原始值,所以表达式会被推测为doubl","3的6倍是18","4","4.0","4.75会变成4,-3.9会变成-3","40","40.0","404","42","42.km","42495.0","42和-23","42和3.14159","42并且没有标明类型,swift","43","4个string","5","5.0","5.2","50","510","55357","56374","58","597","6","60.0","64位平台上,int和int64","64位平台上,uint和uint64","68","69105","7","7.5","7.simpledescript","70","70.0","746381295[0","746381295[1","746381295[2","746381295[8","746381295[9","75","7900","8","8590951226","85909_51226","87","8:09","8、16、32和64","8位无符号整数类型是uint8,32位有符号整数类型是int32","8除于2.5等于3余0.5","9","9.3","9.9","90","94","9900","9的行星,通过fromraw返回的可选planet值将是nil","_","a...b","a..b","a.adjust","a.simpledescript","aardvark","abcdefghijklmnop","abov","ac","access","ace.toraw","acerawvalu","act","act1scenecount","action","actual","actualnumb","actualnumber常量可以在if语句的第一个分支中使用。它已经被可选包含的值初始化过,所以不需要再使用!后缀来获取它的值。在这个例子中,actualnumb","ad","add","addit","addon","addone(numb","address","address。它有三个自判断属性他们额类型是string?。前面两个自判断属性buildingnam","address实例时的使用(john.residence.address)。john.residence属性是一个自判断类型,因此你需要在它获取address","address类中的buildingidentifi","address类还提供了一个buildingidentifier的方法,它的返回值类型为string?。这个方法检查buildingname和buildingnumber的属性,如果buildingname有值则将其返回,或者如果buildingnumb","address设定一个实例来作为john.residence.address的值,并为address的street","addtwoint","addtwoints(a","addtwoints和mathfunction有同样的类型,所以这个赋值过程在swift","addtwoints和multiplytwoints。这两个函数都传入两个int","adescript","adjust","adopt","advanc","advancetolevel(level","ag","again","alex","alia","alias","alien","alignright(originalstr","alignright(var","alignright函数将参数string定义为变量参数。这意味着str","alignright的函数,用来右对齐输入的字符串到一个长的输出字符串中。左侧空余的地方用指定的填充字符填充。这个例子中,字符串"hello"被转换成了"-----hello"","allitemsmatch","allitemsmatch(stackofstr","allitemsmatch的泛型函数,用来检查是否两个container单例包含具有相同顺序的相同items。如果匹配到所有的items,那么返回一个为true的boolean","allitemsmatch首先检查两个容器是否拥有同样数目的items,如果他们的items数目不同,没有办法进行匹配,函数就会fals","allow","allowedentri","allowentri","alow","alsoincrementbyten","alsominussix","alt","alwai","amarathon","amount","amounttopad","amount和numberoftimes。默认地,swift只把amount当作一个局部名称,但是把numberoftim","amp","amp;&","and/or","andrea","anna","anoth","anothercontain","anothercontainer.count","anothercontainer[i","anothercontainer中的item","anothercontainer是一个c2","anotheremptystr","anotherint","anothermathfunct","anotherpi","anotherproctocol","anotherproperti","anotherstr","answer1","answer2","ant","anycommonel","anycommonelements([1","anyobject","anyobjectanyobject类型ani","anyobject可以代表任何class","any可以表示任何类型,除了方法类型(funct","any和anyobject","apart","api","apis,它一般接收一个anyobject[]类型的数组,或者说“一个任何对象类型的数组”。这是因为oc没有明确的类型化数组。但是,你常常可以确定包含在仅从你知道的api","app","appear","append(item","append方法添加一个新item","appl","applese","applesummari","appli","approach","appropri","arbitrari","arc","arc为了能帮助你管理内存,需要更多的关于你的代码之间关系的信息。本章描述了这些情况,并且为你示范怎样启用arc","arc会分配一大块内存用来储存实例的信息。内存中会包含实例的类型信息,以及这个实例所有相关属性的值。此外,当实例不再被使用时,arc","arc会跟踪和计算每一个类实例正在被多少属性,常量和变量所引用。哪怕实例的引用数为一,arc","area","argument","argyrio","arithmet","arithmeticmean(1","arithmeticmean(3","arithmeticmean(numb","arrai","array(count","arrayofstr","array和dictionari","array性质的items存储值。stack提供两个方法:push和pop,从栈中压进一个值和移除一个值。这些方法标记为可变的,因为他们需要修改(或转换)结构体的item","artist","as)下转并解包到不可选的movie类型(p","as?)。可选形式的类型检查总是返回一个可选值(opt","ascii","asciicontrolcharact","asciicontrolcharacter的枚举的原始值类型被定义为字符型character,并被设置了一些比较常见的ascii控制字符。字符值的描述请详见字符串和字符str","assert(ag","assert(indexisvalidforrow(row","assert函数来写一个断言。给assert函数传入一个结果为true或者false的表达式以及一条信息,当表达式为fals","assign","associ","assum","assumedstr","astlei","attempt","attribut","attribute-argument-claus","attribute-argument-clauseopt","attribute-nam","attributesopt","audiosampl","audiosample.min","audiosample被定义为uint16的一个别名。因为它是别名,audiosample.min实际上是uint16.min,所以会给maxamplitudefound赋一个初值0","auto_closur","automat","automatic.descript","automatic.spe","automaticcar","automaticcar的speed属性,属性的didset观察器就会自动地设置gear属性,为新的速度选择一个合适的挡位。具体来说就是,属性观察器将新的速度值除以10,然后向下取得最接近的整数值,最后加1来得到档位gear的值。例如,速度为10.0时,挡位为1;速度为35.0时,挡位为4","automaticcar,它是car的子类。automaticcar表示自动挡汽车,它可以根据当前的速度自动选择合适的挡位。automaticcar也提供了定制的descript","avail","b","b.adjust","b.simpledescript","b>提示check","class_protocol","class前添加@final特性(@fin","class类型。它创建了一个可以存储ani","class)来将整个类标记为fin","closur","club","cm","cocoa","cocoa的基础上构建框架栈并将其标准化。objective-c","cocoa里的nslog函数一样,println","code","codeunit","coin","coinsinbank","coinsinpurs","col0","col1","collect","collection),列表(list)或序列(sequ","colspan=\"4\">4(arrai","equatable类型都可以安全的使用在findindex函数中,因为其保证支持等式操作。为了说明这个事实,当你定义一个函数时,你可以写一个equat","equatable,也就意味着“任何t类型都遵循equat","equilater","equilateraltriangl","equilateraltriangle(sidelength","equival","error","error(error","error(str","even","everyth","ewa","eww","exampl","exampleclass","exampleprotocol","exist","expect","explicitdoubl","explicitli","exponentdoubl","export","express","exp,那这个数相当于基数和10^exp","exp,那这个数相当于基数和2^exp","extens","extension][6","extension][7","extern","f","face","face,unicod","fail","failur","fals","false。同样的,item","feet","fibonacci","film","final","final方法,属性或下标,在编译时会报错。在扩展中,你添加到类里的方法,属性或下标也可以在扩展的定义里标记为fin","final来防止它们被重写,只需要在声明关键字前加上@final特性即可。(例如:@fin","find","findindex([\"mik","findindex([3.14159","findindex(arrai","findindex中这个单个类型参数写做:t","findindex函数现在则可以成功的编译过,并且作用于任何遵循equatable的类型,如double或str","findindex,用某个类型t","findstringindex","findstringindex(arrai","findstringindex(str","findstringindex的泛型版本findindex。请注意这个函数仍然返回int","findstringindex的非泛型函数,该函数功能是去查找包含一给定string值的数组。若查找到匹配的字符串,findstringindex函数返回该字符串在数组中的索引值(int),反之则返回nil","first","firstforloop","firstroomnam","five","fiveeight","fiveonezero","fixedpoint","fixedpoint.movebyx(2.0","float","float并指定初始值为4","float表示32","flow)中介绍,当考虑一个枚举的成员们时,一个switch语句必须全面。如果忽略了.west这种情况,上面那段代码将无法通过编译,因为它没有考虑到compasspoint","follow","for-in","for-in循环和半闭区间操作(..)来迭代somecontainer中的所有items。对于每个item,函数检查是否somecontainer中的item不等于对应的anothercontainer中的item,如果这两个items不等,则这两个容器不匹配,返回fals","forc","force-unwrap","forincr","form","for—that","found","found"","found")元组把一个int值和一个str","foundat","foundindex","four","friar","friendlywelcom","friendlywelcome的值从"hello!"改为了"bonjour!"","fromraw方法来试图找到具有特定原始值的枚举成员。这个例子通过原始值7识别uranu","fromthetop","fruit","fruitsummari","ft","func","function","functionality)。这包括在没有权限获取原始源代码的情况下扩展类型的能力(即逆向建模)。扩展和objective-c中的分类(categories)类似。(不过与objective-c不同的是,swift","functions)函数参数与返回值(funct","functions)函数的定义与调用(defin","functions),它们定义在全局域中。你也可以把函数定义在别的函数体中,称作嵌套函数(nest","func作为前缀。指定函数返回类型时,用返回箭头->","func关键字之前加上关键字class;声明结构体和枚举的类型方法,在方法的func关键字之前加上关键字stat","func来声明一个函数,使用名字和参数来调用函数。使用->","g","game","gear","gener","getgaspric","getter","getter-claus","getter-sett","getter-setter-block","getter-setter方法​​块可以由一个getter子句后跟一个可选的setter子句构成,用大括号括起来,或者由一个setter子句后跟一个gett","getters和sett","getter和sett","getter(或sett","get代码块中的代码写在subscript","get关键字表示。它们的返回值是double型,而且可以用于所有接受doubl","ghostbust","give","global","goe","gonna","good","goodby","grammar","great","greet","greet(\"bob","greet(nam","greeting被调用,该函数结束它的执行并返回greet","grid","grid[(row","gt","guide,即便你没有实现它。例如:swift的array和dictionary类型都是泛型集。你可以创建一个int数组,也可创建一个string数组,或者甚至于可以是任何其他swift的类型数据数组。同样的,你也可以创建存储任何指定类型的字典(dictionari","h","halfopenrangelength(start","hall","harmless","hasanymatches(list","hasanymatches(numb","hasdoorkei","hash","hashead","hashtabl","hasprefix","hasprefix/hassuffix","hawk","heart","hearts.simpledescript","heartsdescript","heartssymbol","hearts成员:给hearts常量赋值时,枚举成员suit.hearts需要用全名来引用,因为常量没有显式指定类型。在switch里,枚举成员使用缩写.hearts来引用,因为self的值已经知道是一个suit","height","height=\"120","height=\"169","hello","hello-world","help","here","here’","hexadecimaldoubl","hexadecimalinteg","hierarchi","high","highest","highestunlockedlevel","highland","horribl","hors","http","http200statu","http200status.descript","http200status.statuscod","http404error","http404error.0","http404error.1","human","iboutlet和ibinspectable用于修饰一个类的属性声明;ibaction特性用于修饰一个类的方法声明;ibdesign","identifi","if和let来处理值缺失的情况。有些变量的值是可选的。一个可选的值可能是一个具体的值或者是nil","if和switch来进行条件操作,使用for-in、for、while和do-whil","if和while语句中来对可选的值进行判断并把值赋给一个常量或者变量。if和whil","if语句中,条件必须是一个布尔表达式——这意味着像if","if语句来判断一个可选是否包含值。如果可选有值,结果是true;如果没有值,结果是fals","if语句的第一个分支中操作actualnumber的值,你可以改成if","img","implement","implicitdoubl","implicitinteg","implicitli","import","in-out","in-out参数交换a和b的值,这两个参数被描述为[in-out类型参数][1","inch","includ","incorrect","increment","increment(7","incrementbi","incrementby(amount","incrementbyseven","incrementbysevn","incrementbyten","incrementor","index","indexisvalidforrow(row","indic","individualscor","infer","inform","init","init(cent","init(coin","init(nam","init(row","init(s","init(sidelength","initi","initializers)和成员级构造器(memberwis","initializers),那么对于来自你的扩展构造器中的值类型,你可以调用默认构造器(default","inout","inout。如何使用assign","inout标记。如果你用inout标记一个参数,这个参数不能别var或者let","input","inspir","instanc","instead","instruct","int","int>。字典实例创建完成之后通过下标的方式将整型值2赋值到字典实例的索引为bird","int(pi","int(spe","int)或者(str","int8","int8.max","int8类型的常量或者变量可以存储的数字范围是-128~127,uint8类型的常量或者变量能存储的数字范围是0~255","integ","integerpi","interestingnumb","interfac","interpolation)的方式把常量名或者变量名当做占位符加入到长字符串中,swift会用当前常量或变量的值替换这些占位符。将常量或变量名放入反斜杠符加一对圆括号中"\\()"","intstack","intstack指定了container的实现,适用的itemtype被用作int类型。对于这个contain","intstack类型只能用于int值,不过,其对于定义一个泛型stack","intstack类型实现了container协议的所有三个要求,在intstack","intstack类型的非泛型版本,适用于遵循contain","intuint浮点数类型安全和类型推测数值类原始值数值类型转换整数转换整数和浮点数转换类型别名布尔值元组可选if","int值没有足够的位数,即下标越界,那么上述实现的下标会返回0,因为它会在数字左边自动补0","int值都可以找到一个匹配的行星。正因为如此,fromraw方法可以返回一个可选的枚举成员。在上面的例子中,possibleplanet是planet?类型,或“可选的planet","int值,不论使用了多少层链接返回的总是int","int型的变量来调用swaptwoints。需要注意的是,someint和anotherint在传入swaptwoints函数前,都加了&","int就够了。这可以提高代码一致性和可复用性。即使是在32位平台上,int可以存储的整数范围也可以达到-2147483648~2147483647","int或string的实际值,它只是定义了,当barcode常量和变量等于barcode.upca或barcode.qrcod","int是整型;double和float是浮点型;bool是布尔型;string是字符串。swift","int的函数。choosestepfunction根据布尔值backwards来返回stepforward函数或stepbackward","int的属性将会返回int","int类型更大或者更小的数字。swift","int类型添加一个名为repetit","int类型的合理值。然而,如上所述,当resid","int索引值下标可以检索到每一个item","int这一行,一切仍旧可以工作,因为它清楚的知道itemtyp","int,你可以传入任何这种类型的函数;第二个和第三个参数叫a和b,它们的类型都是int","int,可以读作“这个函数类型,它有两个int型的参数并返回一个int","int,将抽象的itemtype类型转换为具体的int","int?值,不论使用了多少层链接返回的总是int","io","isempti","isn't","issu","istotherightofx(x","item","items.append(item","items.count","items.removelast","items[i","items。这个需求通过一个类型约束和wher","items的属性,使用空的t","itemtyp","itemtype。th","item是如何存储的或何种类型是允许的。这个协议只指定三个任何遵循contain","item的push方法,该参数必须是t","item需要真正作为movi","iter","itself);类型方法与类型自身相关联。类型方法与objective-c中的类方法(class","it’","ivan","j","jack","john","john'","john.resid","john.residence!.address","john.residence!.numberofroom","john.residence?.address?.buildingidentifi","john.residence?.address?.buildingidentifier()?.uppercasestr","john.residence?.address?.street","john.residence?.numberofroom","john.residence?.printnumberofroom","john.residence?[0].nam","john.residence不是nil时,会运行通过,且会将roomcount","john.residence的值现在包含一个residence实例,然而john.residence.address现在是nil,因此john.residence?.address?.street","john.residence的后面,在子脚本括号的前面,因为john.resid","johnsaddress","johnsaddress.buildingnam","johnsaddress.street","johnshous","johnshouse.room","johnsstreet","john的residence属性里的address的street属性。这里使用了两层可选链来联系residence和address","join","join(\"hello","join(s1","join(str","joiner","joiner的值没有被指定,函数会使用默认值("","join函数一样,如果join","join函数中,第一个参数有一个叫string的外部参数名和s1的局部参数名,第二个参数有一个叫tostring的外部参数名和s2的局部参数名,第三个参数有一个叫withjoiner的外部参数名和join","join函数的另一个版本,这个版本中并没有为它的参数提供外部参数名,但是join","join函数,其中join","jone","jupit","justoveronemillion","justthestatuscod","k","kane","kayle","kei","keytyp","kind","king","kitchen","km","know","known","knowsoverridepassword","koala","kubrick","l","label","lambda","languag","languagenam","larch","larger","largest","last","laurel","lawrence'","lazi","left","length","less","lessthanten","lessthanten(numb","letter","let来声明常量,使用var","let来声明常量,用var","level","levelisunlocked(level","leveltrack","leveltracker.highestunlockedlevel","leveltracker.levelisunlocked(level","leveltracker.unlocklevel(level","leveltracker监测玩家的已解锁的最高等级。这个值被存储在静态属性highestunlockedlevel","leveltracker还定义了两个类型方法与highestunlockedlevel配合工作。第一个类型方法是unlocklevel:一旦新等级被解锁,它会更新highestunlockedlevel的值。第二个类型方法是levelisunlocked:如果某个给定的等级已经被解锁,他返回true。(注意:我们没用使用leveltracker.highestunlockedlevel,这个类型方法还是能够访问静态属性highestunlockedlevel","leveltracker还监测每个玩家的进度。它用实例属性currentlevel","lh","lhsitem","librari","library'","limitedcar","limitedcar.descript","limitedcar.spe","line","linefe","list","liter","live","llama","local","localparameternam","log","long","look","loop","low","lowercasestr","lt","m","made","main","make","makeincrement","makeincrementor","makeincrementor(forincr","malcolm","manag","mani","mansion","map","mar","marathon","match","mathfunct","mathfunction(2","mathfunction(a","mathfunction的变量,类型是‘一个有两个int型的参数并返回一个int型的值的函数’,并让这个新变量指向addtwoint","matrix","matrix(row","matrix[0","matrix[1","matrix[2","matrix下标的getter和setter中同时调用了下标入参的row和column是否有效的判断。为了方便进行断言,matrix包含了一个名为indexisvalid的成员方法,用来确认入参的row或column","matrix实例。在阅读顺序从左上到右下的matrix实例中的数组实例grid","matrix提供了一个两个入参的构造方法,入参分别是rows和columns,创建了一个足够容纳row","matrix的右上值为1.5,坐下值为3.2","matrix结构体,将呈现一个double类型的二维数组。matrix","maxamplitudefound","maximumnumberofloginattempt","maximumnumberofloginattempts或者welcomemessage)和一个指定类型的值(比如数字10或者字符串hello","maximumnumberofloginattempts的新常量,并给它一个值10。然后,声明一个名字是currentloginattempt的变量并将它的值初始化为0","maxpasseng","maxvalu","mean","meaningoflif","mechan","media","mediaitem","mediaitem。为了能够使用movi","mediaitem。因为不确定,a","member","memberwiserect","mercuri","messag","meter","method","method)movebyx,movebyx用来移动一个point。movebyx方法在被调用时修改了这个point,而不是返回一个新的point。方法定义是加上那个了mut","method)类型方法(typ","methods)self属性(th","methods)。在swift中,你可以为所有的类、结构体和枚举定义类型方法:each","methods)修改外部参数名称(modifi","methods)在变异方法中给self赋值(assign","methods)实例方法(inst","methods)方法的局部参数名称和外部参数名称(loc","methods),用于提供和枚举所代表的值相关联的功能。枚举也可以定义构造函数(initializers)来提供一个初始成员值;可以在原始的实现基础上扩展它们的功能;可以遵守协议(protocol","method),实例属性(inst","method),类方法(class","michael","min(newvalu","min(numberofcoinstovend","minussix","minusthre","minvalu","min和max","mix","mm","model","modifi","moon","more","morn","mostli","movebyx(deltax","movebyx创建了一个新的分支结构(他的x和i","movenearertozero","movenearertozero(currentvalu","movenearertozero指向了正确的函数,它可以被用来数到0","movi","movie(nam","movie.director","movie.nam","moviecount","movie实例和三个song实例。library的类型是在它被初始化时根据它的array标记符和里面的内容(p","movie的属性将用于打印一个movie实例的描述,包括它的导演的名字director。当song","movie真的包含一个值(这个是为了判断下转是否成功。)可选绑定是这样写的“if","mph","multilin","multipl","multipli","multiplytwoint","multiplytwoints(a","mutat","mutating)这个方法。方法可以从内部变异它的属性;并且它做的任何改变在方法结束时都会回写到原始结构。方法会给它隐含的self","myconst","myvari","myvariable是一个整数(integ","n","name","name(attribut","namedshap","namedshape的另一个子类circle,构造器接收两个参数,一个是半径一个是名称,实现area和describ","names.count","names[i","names)外部参数名(extern","names)简写外部参数名(shorthand","names)默认参数值(default","nativ","navig","necessari","need","neptun","nepturn","nest","never","new","newvalu","newvalue.sidelength","newvalue。你可以在set","newvalue的类型必须和下标定义的返回类型相同。与实例属性相同的是set的入参声明newvalue就算不写,在set代码块中依然可以使用newvalu","next","next方法时,开关在不同的电源状态(off,low,high","nil","nil不是指针——它是一个确定的值,用来表示值缺失。任何类型的可选都可以被设置为nil","nil了。如果你想使用和前面一样的可选链来获得numberofroooms,它将返回一个包含默认值1的int","nil的话请不要使用隐式解析可选。如果你需要在变量的生命周期中判断是否是nil","nil),不论你调用的属性、方法、子脚本等返回的值是不是自判断值,它的返回结果都是一个自判断值。你可以利用这个返回值来检测你的可选链是否调用成功,有返回值即成功,返回nil","nil,?后面的东西都会被忽略,并且整个表达式返回nil","nil,nil","nil,但是后面的代码运行需要一个非nil","nil,条件会判断为false,大括号中的代码会被跳过。如果不是nil,会将值赋给let","nine","nn","nnnn","nnnnnnnn","non-class","non-opt","non-specif","none","noreturn","noreturn特性标记的函数或方法,你可以将它重写(override)为用该特性标记的。相反,对于一个已经用noreturn特性标记的函数或方法,你则不可以将它重写为没使用该特性标记的。相同的规则试用于当你在一个comform","normal","normal.lowercasestr","normal.uppercasestr","north","north”。当它等于.south,打印“watch","north,south,east和west)是枚举的成员值(或者成员)。cas","note","now","nscopi","nscopying特性的行为与objective-c中的copi","nsmanag","nsmanagedobject子类中的存储型变量属性,表明属性的存储和实现由cor","nsmutablestr","nsnotfound)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,swift","nsstring","number","numberofcoinstovend","numberofleg","numberoflegs[\"bird","numberoflegs的变量并用一个字典表达式初始化出了包含三对键值的字典实例。numberoflegs的字典存放值类型推断为dictionary<str","numberofroom","numberofrooms是非自判断int(int?)时这一点也成立。只要是通过可选链的请求就意味着最后numberofrooms总是返回一个int?而不是int","numberofrooms的操作有可能失败,可选链会返回int?类型值,或者称作“自判断int”。当residence是空的时候(上例),选择int将会为空,因此会出先无法访问numberofroom","numberofsid","numberoftim","numberofwheel","numbers.map","numbersystem","numbers的double...型可变参数,在函数体内可以当做一个叫numbers的doubl","o","objc","objc(isen","objc特性修饰一个协议,class_protocol特性就会隐式地应用到该协议,因此无需显式地用class_protocol","objc特性应用于一个类或协议,它也会隐式地应用于那个类或协议的成员。对于标记了objc特性的类,编译器会隐式地为它的子类添加objc特性。标记了objc特性的协议不能继承自没有标记objc","objc特性有一个可选的参数,由标记符组成。当你想把objc所修饰的实体以一个不同的名字暴露给objective-c,你就可以使用这个特性参数。你可以使用这个参数来命名类,协议,方法,getters,setters,以及初始化器。下面的例子把exampleclass中enabled属性的getter暴露给objective-c,名字是isen","object","objective-c","objective-c中表示的声明,比如,非嵌套类,协议,类和协议中的属性和方法(包含getter和setter),初始化器,析构器,以下下标。objc特性告诉编译器该声明可以在objective-c","objective-c的方法时很相似。这个约定还让express","objective-c里面,你只能为objective-c的类定义类型方法(type-level","objective-c,在swift","observ","observer),这样一来,当属性值改变时,类就会被通知到。可以为任何属性添加属性观察器,无论它原本被定义为存储型属性(stor","occup","occupations[\"jayn","octalinteg","odyssei","ok","on","oneinch","onemillion","onesix","oper","opt","option","optionalnam","optionalname改成nil,greeting会是什么?添加一个else语句,当optionalname是nil时给greet","optionalsquar","optionalsquare?.sidelength","optionalstr","optionalvalue(item","repeatedvalu","repetit","repetitions(task","report","repres","represent","request","requir","reset","reset将计数器重置为0","resid","residence中也提供了一个printnumberofroom","residence具有一个int类型的numberofrooms,其值为1。person具有一个自判断residence属性,它的类型是resid","residence存储了一个room实例的数组,它的numberofrooms属性值不是一个固定的存储值,而是通过计算而来的。numberofrooms属性值是由返回rooms数组的count","residence定义了一个自判断属性叫address(address?)。address","residence实例给john.resid","residence实例给john.residence,且在他的rooms数组中有一个或多个room实例,那么你可以使用可选链通过residence子脚本来获取在room","residence属性numberofrooms属性值,将会引发运行时错误,因为这时没有可以供解析的resid","residence的printnumberofrooms方法会打印numberofroom","residence类中定义的子脚本来获取john.residence数组中第一个房间的名字。因为john.residence现在是nil","result","result(str","result(sunris","retriev","return","returnfifteen","returntyp","return参数名称缩写运算符函数trail","revers","rh","rhsitem","rick","ridlei","right","rise","romeoandjuliet","room","room(","room(nam","roomcount","rooms.count","rooms[i","rooms数组的room类是一个很简单的类,它只有一个name属性和一个设定room","rooms数组,resid","rooms,它被初始化为一个room","row","row0","row1","rowheight","row和column下标的matrix","row和column的数量来构造一个新的matrix","runingtot","runningtot","runtim","s","s1","s2","s2),backward","safe","same","samequot","sandwich","saturn","saygoodbye(\"dav","saygoodbye(personnam","saygoodbye函数依然返回了值。没有定义返回类型的函数会返回特殊的值,叫void。它其实是一个空的元组(tupl","sayhello(personnam","sayhelloagain(personnam","sayhelloworld","sayhello。上面的例子展示的是用"anna"和"brian"","sayhello函数时,在圆括号中传给它一个string类型的实参。因为这个函数返回一个string类型的值,sayhello可以被包含在println","sayhello函数的另一个版本,叫wavegoodbye,这个函数直接输出str","sayhello的函数体中,先定义了一个新的名为greeting的string常量,同时赋值了给personname的一个简单问候消息。然后用return关键字把这个问候返回出去。一旦return","scalar","scene","scene.hasprefix(\"act","scope","score","scott","second","secondforloop","see","self","self.artist","self.column","self.count","self.director","self.init(origin","self.nam","self.push(item","self.row","self.sidelength","self.toraw","self.x","self。不论何时,在一个方法中使用一个已知的属性或者方法名称,如果你没有明确的写self,swift假定你是指当前实例的属性或者方法。这种假定在上面的counter中已经示范了:counter中的三个实例方法中都使用的是count(而不是self.count","self一个全新的实例。上面point","self前缀,swift就认为两次使用的x都指的是名称为x","self属性(th","self或其属性的方法必须将该实例方法标注为mut","self消除方法参数x和实例属性x","self被用来区别实例变量。当你创建实例的时候,像传入函数参数一样给类传入构造器的参数。每个属性都需要赋值——无论是通过声明(就像numberofsides)还是通过构造器(就像nam","self赋值(assign","self,它完全等同于这个实力变量本身。你可以在一个实例的实例方法中使用这个隐含的self","sequenc","serverrespons","serverresponse.error(\"out","serverresponse.result(\"6:00","serverresponsecod","serverresponse和switch","set","set(newvalu","setter","setter-claus","setter-clause­opt","setter与属性值的一个副本合成,由copywithzone方法返回,而不是属性本身的值。该属性的类型必需遵循nscopi","setter,那么你也一定要提供getter。如果你不想在重写版本中的getter里修改继承来的属性值,你可以直接返回super.someproperty来返回继承来的值。正如下面的speedlimitedcar","seven","sever","shape","shape.numberofsid","shape.simpledescript","shapedescript","shape类缺少了一些重要的东西:一个构造函数来初始化类实例。使用init","shoe","shoppinglist","shoppinglist[1","shorter","shorthand","shouti","side","sidelength","similar","similarli","simpl","simpleclass","simpledescript","simplestructur","simplestructure时候mutating关键字用来标记一个会修改结构体的方法。simpleclass","simpli","singl","situat","six","size","size(width","size.height","size.width","ski","snail","snippet","some(100","some(t","somearray[index","someclass","someclass.sometypemethod","somecontain","somecontainer.count","somecontainer[i","somecontainer中item","somecontainer中的item","somecontainer和anothercontainer。somecontainer参数是类型c1,anothercontainer参数是类型c2。c1和c2","somecontainer和anothercontainer包含相同的item","somecontainer是一个c1","somedictionary[kei","somedoubl","someeumer","somefunction(externalparameternam","somefunction(parameternam","somefunction(somet","somestr","somesuperclass","sometyp","sometype(ofinitialvalu","sometypemethod","someu","somevalu","somevehicl","somewher","song","song(nam","song.artist","song.nam","songcount","songcount,用来计算数组librari","song检查item是否为song类型的实例。在循环末尾,moviecount","sort","sort([1","sort(nam","soup","south","space","spade","span","sparklingheart","special","specif","specifi","speed","speedlimitedcar","speedlimitedcar实例的speed属性时,属性setter的实现会去检查新值与限制值40mph的大小,它会将超类的speed设置为newvalue和40.0中较小的那个。这两个值哪个较小由min函数决定,它是swift标准库中的一个全局函数。min","speedlimitedcar实例的speed属性设置为一个大于40mph的数,然后打印description函数的输出,你会发现速度被限制在40mph","speedlimitedcar,它是car的子类。类speedlimitedcar表示安装了限速装置的车,它的最高速度只能达到40mph。你可以通过重写继承来的spe","spici","spider","squar","square(sidelength","square.sidelength","src=\"https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/art/barcode_qr_2x.png","src=\"https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/art/barcode_upc_2x.png","stack","stack(栈)。一个栈是一系列值域的集合,和array(数组)相似,但其是一个比swift的array类型更多限制的集合。一个数组可以允许其里面任何位置的插入/删除操作,而栈,只允许,只允许在集合的末端添加新的项(如同push一个新值进栈)。同样的一个栈也只能从末端移除项(如同pop","stack(inout","swaptwovalues例子中,节点类型t是一种类型参数的示例。类型参数指定并命名为一个节点类型,并且紧随在函数名后面,并用一对尖括号括起来(如)。这个尖括号告诉swift那个t是swaptwovalues函数所定义的一个节点类型。因为t是一个节点,swift不会去查找每一个命名为t","t.generatortype.el","tab","tabl","tandem","tandem.descript","tandem类也继承了descript","task","tast","tasti","td","td>1","td>1*2","td>3","td>4","td>5","td>6","td>7","td>8","td>9","tea","teamscor","temporari","temporarya","ten","terminolog","terrapin","test","test.area","test.simpledescript","theaceofspad","theaceofspades.descript","thing","things.append(\"hello","things.append((3.0","things.append(0","things.append(0.0","things.append(3.14159","things.append(42","things.append(movie(nam","things数组中的每一项的并用switch语句查找每一项的类型。这几种switch","those","three","threedescript","threefeet","threeofspad","threeofspades.simpledescript","threeofspadesdescript","threetimest","threetimestable[6]。这句话访问了threetimestable的第六个元素,返回18或者6的3","three的值被用来创建一个doubl","through","time","timest","timestable(multipli","timestable例子是基于一个固定的数学公式。它并不适合开放写权限来对threetimestable[someindex","timestable结构体中使用只读下标的用法,该结构体用来展示传入整数的n","timestable结构体创建了一个用来表示索引值三倍的实例。数值3作为结构体构造函数入参表示这个值将成为实例成员multipli","todai","toint方法可能会失败,所以它返回一个可选的int,而不是一个int。一个可选的int被写作int?而不是int。问号暗示包含的值是可选,也就是说可能包含int值也可能不包含值。(不能包含其他任何值比如bool值或者string值。只能是int","toint方法来尝试将一个string转换成int","toobig","top","toraw","toraw和fromraw","tostr","total","total.conson","touch","to那些包含可选成员需求的协议。更多关于如何使用optional特性以及如何访问可选协议成员的指导,例如,当你不确定一个conform","tr","tracker","tracker.advancetolevel(level","trail","travel","tre","treat","triagl","triangl","triangle.perimet","triangle.sidelength","triangleandsquar","triangleandsquare(s","triangleandsquare.squar","triangleandsquare.square.sidelength","triangleandsquare.triangle.sidelength","trigger","tristateswitch","tristateswitch.low","true","true。从字面意思来说,断言“断言”一个条件是否为真。你可以使用断言来保证在运行其他代码之前,某些重要的条件已经被满足。如果条件判断为true,代码运行会继续进行;如果条件判断为fals","true和fals","try","tuesdai","tulip","tupl","turnip","turnipsaredelici","two","twothousand","twothousandandon","twothousand类型是uint16,然而常量one类型是uint8。它们不能直接相加,因为它们类型不同。所以要调用uint16(one)来创建一个新的uint16数字并用on","type","type-saf","typealia","types中知道结构体有默认的成员构造函数,所以你可以用默认的initializer去初始化新的常量theaceofspad","types)使用函数类型(us","types)函数类型作为参数类型(funct","types)函数类型作为返回类型(funct","types)嵌套函数(nest","type)。,即使是这个方法本是没有定义返回值,你也可以使用if语句来检查是否能成功调用printnumberofrooms方法:如果方法通过可选链调用成功,printnumberofrooms的隐式返回值将会是void,如果没有成功,将返回nil","t分别代表tnt和string","t定义了一个名为“某种类型t”的节点提供给后来用。这种将来类型可以在结构体的定义里任何地方表示为“t”。在这种情况下,t","t来表示)来代替实际类型名(如int、string或double)。节点类型名并不是表示t必须是任何类型,但是其规定a和b必须是同一类型的t,而不管t表示任何类型。只有swaptwovalues函数在每次调用时所传入的实际类型决定了t","t被用作append方法的item参数和下标的返回类型。swift因此可以推断出被用作这个特定容器的itemtype的t","t,是@noreturn","t,有一个需要t必须是someclass子类的类型约束;第二个类型参数u,有一个需要u必须遵循someprotocol","u","u+0024","u+0061","u+1f436","u+1f496","u+2665","u+d83d","u+dc36","u.generatortype.el","u0001f496","u2665","uinavigationcontrol","uint","uint16","uint16(on","uint16有一个构造器,可以接受一个uint8类型的值,所以这个构造器可以用现有的uint8来创建一个新的uint16。注意,你并不能传入任意类型的值,只能传入uint16","uint16,可以进行相加。目标常量twothousandandone的类型被推测为uint16,因为它是两个uint16","uint32","uint8","uint8.max","uint8.min","uint,除非你真的需要存储一个和当前平台原生字长相同的无符号整数。除了这种情况,最好使用int,即使你要存储的值已知是非负的。统一使用int","unabl","uncertainti","uncom","undefinedundefin","underli","unicod","unicodescalar","unicodescalarview","unions)和变体(vari","unions),或者变体(vari","unions),标签联合(tag","unlock","unlocklevel(level","unnnn","unnnnnnnn","uno","unown","unusualmenageri","unwrap","up","upc-a格式的一维码,它使用数字0到9.每一个条形码都有一个代表“数字系统”的数字,该数字后接10","upc-a码作为三个整型值的元组,和把qr","upca(int","upca(let","upca(numbersystem","upper","uppercamelcas","uppercas","uppercasestr","uranu","us","utf-16","utf-8","utf-8utf-16unicod","utf16","utf16count","utf16view","utf8","utf8view","v","valu","values(first","values)函数参数名(funct","values)原始值(raw","values)可变参数(variad","values)多重输入参数(multipl","values)多重返回值函数(funct","values)默认值参数的外部参数名(extern","valuetofind","valuetofind”。不是所有的swift中的类型都可以用等式符(==)进行比较。例如,如果你创建一个你自己的类或结构体来表示一个复杂的数据模型,那么swift没法猜到对于这个类或结构体而言“等于”的意思。正因如此,这部分代码不能可能保证工作于每个可能的类型t","value),因为这些量是不能被修改的。当传入的参数作为输入输出参数时,需要在参数前加&","var","variabl","variablestr","variad","var或者let","veget","vegetablecom","vehicl","vehicle的一个新的子类,叫car,它重写了从vehicle类继承来的'description'","vehicle的基类。这个基类声明了两个对所有车辆都通用的属性(numberofwheels和maxpassengers)。这些属性在description方法中使用,这个方法返回一个str","vehicle类中maxpassengers的默认值对自行车来说已经是正确的,因此在bicycle的初始化器中并没有改变它。而numberofwheels原来的值对自行车来说是不正确的,因此在初始化器中将它更改为2","vehicle类定义了初始化器(initi","vehicle类的初始化器为任意的一辆车设置一些初始化属性值(numberofwheel","vendcoins(var","vendcoins方法在bank分发硬币之前检查是否有足够的硬币。如果没有足够多的硬币,bank返回一个比请求时小的数字(如果没有硬币留在bank中就返回0)。vendcoins方法声明numberofcoinstovend为一个变量参数,这样就可以在方法体的内部修改数字,而不需要定义一个新的变量。vendcoin","venu","veri","verona","version","view","void","void。在swift中,void","void(参见funct","void?,而不是void,因为当通过可选链调用方法时返回值总是自判断类型(opt","vowel","vowel代替character.kind.vowel","w","wai","want","watch","water","watercress","web","welcom","welcomemessag","welcomemessage变量添加了类型标注,表示这个变量可以存储str","well","west","wheel","whenev","where语句作为一个类型参数队列的一部分。一个where语句使你能够要求一个关联类型遵循一个特定的协议,以及(或)那个特定的类型参数和关联类型可以是相同的。你可写一个where语句,通过紧随放置wher","where语句的一部分,写在关键字wher","where,只在冒号后面写接口或者类名。<t","whether","whisper","width","width=\"169","width=\"252","widthlabel","willset","willset和didset","willset或didset实现是不恰当。此外还要注意,你不可以同时提供重写的setter和重写的属性观察器。如果你想观察属性值的变化,并且你已经为那个属性提供了定制的setter,那么你在sett","win","wincoins(coin","wiseword","within","withjoin","without","won","word","work","world","world"","written","wwdc","x","x.hassuffix(\"pepp","x24","xcode","xnn","y","yensign","z","zero"],"pipeline":["trimmer","stopWordFilter","stemmer"]} \ No newline at end of file diff --git a/source/README.md b/source/README.md index 36f0e772..f8057c65 100644 --- a/source/README.md +++ b/source/README.md @@ -2,5 +2,11 @@ Swift 是苹果在 WWDC 2014 上发布的一款全新的编程语言,本书译自苹果官方的 Swift 教程《The Swift Programming Language》。 -感谢您的阅读。 +翻译正在进行中,翻译完成的部分会实时同步到这里。您可以到[项目首页](https://github.com/numbbbbb/the-swift-programming-language-in-chinese)查看当前进度。 + +由于是多人协同翻译,可能会有些术语或者句子翻译不太恰当,如果您在阅读过程中发现此类问题,请直接给我们提 issue 或者 pull request。翻译完成后我们会进行认真的校对,给大家提供一本高质量的 Swift 教程。 + +如果您愿意加入进来,帮助我们进行翻译和校对,请阅读[项目首页](https://github.com/numbbbbb/the-swift-programming-language-in-chinese)中的说明并加入QQ群:364279588,我们期待您的加入,在 Swift 的历史上留下您的足迹! + +最后,非常感谢您的阅读,如果您觉得本文不错的话请分享给其他人,您的支持就是我们最大的动力! diff --git a/source/SUMMARY.md b/source/SUMMARY.md index 4168533e..fd35f40f 100644 --- a/source/SUMMARY.md +++ b/source/SUMMARY.md @@ -17,14 +17,14 @@ * [方法](chapter2/11_Methods.md) * [下标](chapter2/12_Subscripts.md) * [继承](chapter2/13_Inheritance.md) - * [构造函数](chapter2/14_Initialization.md) - * [析构函数](chapter2/15_Deinitialization.md) + * [构造过程](chapter2/14_Initialization.md) + * [析构过程](chapter2/15_Deinitialization.md) * [自动引用计数](chapter2/16_Automatic_Reference_Counting.md) * [可选链](chapter2/17_Optional_Chaining.md) * [类型检查](chapter2/18_Type_Casting.md) * [嵌套类型](chapter2/19_Nested_Types.md) * [扩展](chapter2/20_Extensions.md) - * [接口](chapter2/21_Protocols.md) + * [协议](chapter2/21_Protocols.md) * [泛型](chapter2/22_Generics.md) * [高级操作符](chapter2/23_Advanced_Operators.md) * [语言参考](chapter3/chapter3.md) @@ -32,8 +32,9 @@ * [词法结构](chapter3/02_Lexical_Structure.md) * [类型](chapter3/03_Types.md) * [表达式](chapter3/04_Expressions.md) + * [语句](chapter3/10_Statements.md) * [声明](chapter3/05_Declarations.md) - * [属性](chapter3/06_Attributes.md) + * [特性](chapter3/06_Attributes.md) * [模式](chapter3/07_Patterns.md) * [泛型参数](chapter3/08_Generic_Parameters_and_Arguments.md) * [语法总结](chapter3/09_Summary_of_the_Grammar.md) diff --git a/source/chapter1/01_swift.md b/source/chapter1/01_swift.md index bb96138e..41859503 100644 --- a/source/chapter1/01_swift.md +++ b/source/chapter1/01_swift.md @@ -1,6 +1,6 @@ # 关于 Swift -Swift 是一种新的编程语言,用于编写 iOS 和 OS X 应用程序。Swift 结合了 C 和 Objective-C 的优点并且不受C的兼容性的限制。Swift 使用安全的编程模式并添加了很多新特性,这将使编程更简单,扩展性更强,也更有趣。除此之外,Swift 还支持人见人爱的 Cocoa 和 Cocoa Touch 框架。拥有了这些特性,Swift将重新定义软件开发。 +Swift 是一种新的编程语言,用于编写 iOS 和 OS X 应用。Swift 结合了 C 和 Objective-C 的优点并且不受C的兼容性的限制。Swift 使用安全的编程模式并添加了很多新特性,这将使编程更简单,扩展性更强,也更有趣。除此之外,Swift 还支持人见人爱的 Cocoa 和 Cocoa Touch 框架。拥有了这些特性,Swift将重新定义软件开发。 Swift 的开发从很久之前就开始了。为了给 Swift 打好基础,苹果公司改进了编译器,调试器和框架结构。我们使用自动引用计数(Automatic Reference Counting, ARC)来简化内存管理。我们在 Foundation 和 Cocoa的基础上构建框架栈并将其标准化。Objective-C 本身支持块、集合语法和模块,所以框架可以轻松支持现代编程语言技术。得益于这些基础工作,我们现在可以发布一个新语言,用于未来的苹果软件的开发。 diff --git a/source/chapter2/01_The_Basics.md b/source/chapter2/01_The_Basics.md index 8c474de2..c69238b4 100644 --- a/source/chapter2/01_The_Basics.md +++ b/source/chapter2/01_The_Basics.md @@ -1,21 +1,5 @@ # 基础部分 -本页包含内容: - -- 常量与变量 -- 注释 -- 分号 -- 整数 -- 浮点数 -- 类型安全和类型推导 -- 数值类原始值 -- 数值类型转换 -- 类型别名 -- 布尔值 -- 元组 -- 可选 -- 断言 - Swift 是 iOS 和 OS X 应用开发的一门新语言。然而,如果你有 C 或者 Objective-C 开发经验的话,你会发现 Swift 的很多内容都是你熟悉的。 Swift 的类型是在 C 和 Objective-C 的基础上提出的,`Int`是整型;`Double`和`Float`是浮点型;`Bool`是布尔型;`String`是字符串。Swift 还有两个有用的集合类型,`Array`和`Dictionary`,详情参见`集合类型(待添加链接)`。 @@ -176,7 +160,7 @@ Swift 也提供了一个特殊的无符号类型`UInt`,长度与当前平台 * 在32位平台上,`UInt`和`UInt32`长度相同。 * 在64位平台上,`UInt`和`UInt64`长度相同。 -> 注意:尽量不要使用`UInt`,除非你真的需要存储一个和当前平台原生字长相同的无符号整数。除了这种情况,最好使用`Int`,即使你要存储的值已知是非负的。统一使用`Int`可以提高代码的可复用性,避免不同类型数字之间的转换,并且匹配数字的类型推导,详情参见[类型安全和类型推导](## 类型安全和类型推导)。 +> 注意:尽量不要使用`UInt`,除非你真的需要存储一个和当前平台原生字长相同的无符号整数。除了这种情况,最好使用`Int`,即使你要存储的值已知是非负的。统一使用`Int`可以提高代码的可复用性,避免不同类型数字之间的转换,并且匹配数字的类型推测,详情参见[类型安全和类型推测](## 类型安全和类型推测)。 ## 浮点数 @@ -189,36 +173,36 @@ Swift 也提供了一个特殊的无符号类型`UInt`,长度与当前平台 > 注意:`Double`精确度很高,至少有15位数字,而`Float`最少只有6位数字。选择哪个类型取决于你的代码需要处理的数字大小。 -## 类型安全和类型推导 +## 类型安全和类型推测 Swift 是一个类型安全的语言。类型安全的语言可以让你清楚地知道代码要处理的值的类型。如果你的代码需要一个`String`,你绝对不可能不小心传进去一个`Int`。 Swift 是类型安全的,会在编译你的代码时进行类型检查,如果遇到不匹配的类型会报错。这可以让你在开发的时候尽早发现并修复错误。 -当你要处理不同类型的值时,类型检查可以帮你避免错误。然而,这并不是说你每次声明常量和变量的时候都需要显式指定类型。如果你没有显式指定类型,Swift 会使用类型推导来选择合适的类型。有了类型推导,编译器可以在编译代码的时候自动推导出表达式的类型。原理很简单,判断你赋的值即可。 +当你要处理不同类型的值时,类型检查可以帮你避免错误。然而,这并不是说你每次声明常量和变量的时候都需要显式指定类型。如果你没有显式指定类型,Swift 会使用类型推测来选择合适的类型。有了类型推测,编译器可以在编译代码的时候自动推测出表达式的类型。原理很简单,判断你赋的值即可。 -因为有类型推导,和 C 或者 Objc 比起来 Swift 很少需要声明类型。常量和变量虽然需要明确类型,但是大部分工作并不需要你自己来完成。 +因为有类型推测,和 C 或者 Objc 比起来 Swift 很少需要声明类型。常量和变量虽然需要明确类型,但是大部分工作并不需要你自己来完成。 -当你声明常量或者变量并赋初值的时候类型推导非常有用。当你在声明常量或者变量的时候赋给它们一个原始值即可触发类型推导。(原始值就是会直接出现在你代码中的值,比如`42`和`3.14159`。) +当你声明常量或者变量并赋初值的时候类型推测非常有用。当你在声明常量或者变量的时候赋给它们一个原始值即可触发类型推测。(原始值就是会直接出现在你代码中的值,比如`42`和`3.14159`。) -举个例子,如果你给一个新常量赋值`42`并且没有标明类型,Swift 可以推导出常量类型是`Int`,因为你给它赋的初值看起来很像一个整数: +举个例子,如果你给一个新常量赋值`42`并且没有标明类型,Swift 可以推测出常量类型是`Int`,因为你给它赋的初值看起来很像一个整数: let meaningOfLife = 42 - // meaningOfLife 会被推导为 Int 类型 + // meaningOfLife 会被推测为 Int 类型 -同理,如果你没有给浮点原始值标明类型,Swift 会推导你想要的是`Double`: +同理,如果你没有给浮点原始值标明类型,Swift 会推测你想要的是`Double`: let pi = 3.14159 - // pi 会被推导为 Double 类型 + // pi 会被推测为 Double 类型 -当推导浮点数的类型时,Swift 总是会选择`Double`而不是`Float`。 +当推测浮点数的类型时,Swift 总是会选择`Double`而不是`Float`。 -如果表达式中同时出现了整数和浮点数,会被推导为`Double`类型: +如果表达式中同时出现了整数和浮点数,会被推测为`Double`类型: let anotherPi = 3 + 0.14159 - // anotherPi 会被推导为 Double 类型 + // anotherPi 会被推测为 Double 类型 -原始值`3`没有显式声明类型,而表达式中出现了一个浮点原始值,所以表达式会被推导为`Double`类型。 +原始值`3`没有显式声明类型,而表达式中出现了一个浮点原始值,所以表达式会被推测为`Double`类型。 ## 数值类原始值 @@ -260,8 +244,7 @@ Swift 是类型安全的,会在编译你的代码时进行类型检查,如 ## 数值类型转换 -通常来讲,即使代码中的整数常量和变量已知非负,也请使用`Int`类型。总是使用默认的整数类型可以保证你的整数常量和变量可以直接被复用并且可以匹配整数类原始值的类型推导。 - +通常来讲,即使代码中的整数常量和变量已知非负,也请使用`Int`类型。总是使用默认的整数类型可以保证你的整数常量和变量可以直接被复用并且可以匹配整数类原始值的类型推测。 只有在必要的时候才使用其他整数类型,比如要处理外部的长度明确的数据或者为了优化性能、内存占用等等。使用显式指定长度的类型可以及时发现值溢出并且可以暗示正在处理特殊数据。 ### 整数转换 @@ -281,7 +264,7 @@ Swift 是类型安全的,会在编译你的代码时进行类型检查,如 let one: UInt8 = 1 let twoThousandAndOne = twoThousand + UInt16(one) -现在两个数字的类型都是`UInt16`,可以进行相加。目标常量`twoThousandAndOne`的类型被推导为`UInt16`,因为它是两个`UInt16`值的合。 +现在两个数字的类型都是`UInt16`,可以进行相加。目标常量`twoThousandAndOne`的类型被推测为`UInt16`,因为它是两个`UInt16`值的合。 `SomeType(ofInitialValue)`是调用 Swift 构造器并传入一个初始值的默认方法。在语言内部,`UInt16`有一个构造器,可以接受一个`UInt8`类型的值,所以这个构造器可以用现有的`UInt8`来创建一个新的`UInt16`。注意,你并不能传入任意类型的值,只能传入`UInt16`内部有对应构造器的值。不过你可以扩展现有的类型来让它可以接收其他类型的值(包括自定义类型),详情参见`扩展(链接待添加)`. @@ -292,18 +275,18 @@ Swift 是类型安全的,会在编译你的代码时进行类型检查,如 let three = 3 let pointOneFourOneFiveNine = 0.14159 let pi = Double(three) + pointOneFourOneFiveNine - // pi 等于 3.14159,所以被推导为 Double 类型 + // pi 等于 3.14159,所以被推测为 Double 类型 这个例子中,常量`three`的值被用来创建一个`Double`类型的值,所以加号两边的数类型相同。如果不进行转换,两者无法相加。 浮点数转换为整数也一样,整数类型可以用`Double`或者`Float`类型来初始化: let integerPi = Int(pi) - // integerPi 等于 3,所以被推导为 Int 类型 + // integerPi 等于 3,所以被推测为 Int 类型 -当用这种方式来初始化一个新的整数值时,浮点值会被截断。也就是说`4.75`会变成`4`,`-3.9`会变成`3`。 +当用这种方式来初始化一个新的整数值时,浮点值会被截断。也就是说`4.75`会变成`4`,`-3.9`会变成`-3`。 -> 注意:结合数字类常量和变量不同于结合数字类原始值。原始值`3`可以直接和原始值`0.14159`相加,因为数字原始值本身没有明确的类型。它们的类型只在编译器需要求值的时候被推导。 +> 注意:结合数字类常量和变量不同于结合数字类原始值。原始值`3`可以直接和原始值`0.14159`相加,因为数字原始值本身没有明确的类型。它们的类型只在编译器需要求值的时候被推测。 ## 类型别名 @@ -327,7 +310,7 @@ Swift 有一个基本的布尔类型,叫做`Bool`。布尔值是指逻辑, let orangesAreOrange = true let turnipsAreDelicious = false -`orangesAreOrange`和`turnipsAreDelicious`的类型会被推导为`Bool`,因为它们的初值是布尔原始值。就像之前提到的`Int`和`Double`一样,如果你创建变量的时候给它们赋值`true`或者`false`,那你不需要给常量或者变量标明`Bool`类型。初始化常量或者变量的时候如果所赋的值类型已知,就可以触发类型推导,这让 Swift 代码更加简洁并且可读性更高。 +`orangesAreOrange`和`turnipsAreDelicious`的类型会被推测为`Bool`,因为它们的初值是布尔原始值。就像之前提到的`Int`和`Double`一样,如果你创建变量的时候给它们赋值`true`或者`false`,那你不需要给常量或者变量标明`Bool`类型。初始化常量或者变量的时候如果所赋的值类型已知,就可以触发类型推测,这让 Swift 代码更加简洁并且可读性更高。 当你编写条件语句比如`if`语句的时候,布尔值非常有用: @@ -417,7 +400,7 @@ Swift 有一个基本的布尔类型,叫做`Bool`。布尔值是指逻辑, * 没有值 -> 注意:C 和 Objective-C 中并没有可选这个概念。最接近的是 Objective-C 中的一个特性,一个方法要不返回一个对象要不返回`nil`,`nil`表示“缺少一个合法的对象”。然而,这只对对象起作用——对于结构体,基本的 C 类型或者美剧类型不起作用。对于这些类型,Objective-C 方法一般会返回一个特殊值(比如`NSNotFound`)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,Swift 的可选可以让你暗示任意类型的值缺失,并不需要一个特殊值。 +> 注意:C 和 Objective-C 中并没有可选这个概念。最接近的是 Objective-C 中的一个特性,一个方法要不返回一个对象要不返回`nil`,`nil`表示“缺少一个合法的对象”。然而,这只对对象起作用——对于结构体,基本的 C 类型或者枚举类型不起作用。对于这些类型,Objective-C 方法一般会返回一个特殊值(比如`NSNotFound`)来暗示值缺失。这种方法假设方法的调用者知道并记得对特殊值进行判断。然而,Swift 的可选可以让你暗示任意类型的值缺失,并不需要一个特殊值。 来看一个例子。Swift 的`String`类型有一个叫做`toInt`的方法,作用是将一个`String`值转换成一个`Int`值。然而,并不是所有的字符串都可以转换成一个整数。字符串`"123"`可以被转换成数字`123`,但是字符串`"hello, world"`不行。 @@ -425,7 +408,7 @@ Swift 有一个基本的布尔类型,叫做`Bool`。布尔值是指逻辑, let possibleNumber = "123" let convertedNumber = possibleNumber.toInt() - // convertedNumber 被推导为类型 "Int?", 或者类型 "optional Int" + // convertedNumber 被推测为类型 "Int?", 或者类型 "optional Int" 因为`toInt`方法可能会失败,所以它返回一个可选的`Int`,而不是一个`Int`。一个可选的`Int`被写作`Int?`而不是`Int`。问号暗示包含的值是可选,也就是说可能包含`Int`值也可能不包含值。(不能包含其他任何值比如`Bool`值或者`String`值。只能是`Int`或者什么都没有。) diff --git a/source/chapter2/03_Strings_and_Characters.md b/source/chapter2/03_Strings_and_Characters.md index 3f32ea8b..83080b7f 100644 --- a/source/chapter2/03_Strings_and_Characters.md +++ b/source/chapter2/03_Strings_and_Characters.md @@ -14,31 +14,36 @@ - 字符串大小写 - Unicode -**String** 是一个有序的字符集合,例如 "hello, world", "albatross"。 -Swift 字符串通过 **String** 类型来表示,也可以表示为 **Character** 类型值的集合。 +--- + +**String** 是例如 "hello, world", "海贼王" 这样的有序的 **Character** (字符) 类型的值的集合,通过 **String** 类型来表示。 Swift 的 **String** 和 **Character** 类型提供了一个快速的,兼容 Unicode 的方式来处理代码中的文本信息。 -创建和操作字符串的语法与 C的操作方式相似,轻量并且易读。 +创建和操作字符串的语法与 C 语言中字符串操作相似,轻量并且易读。 字符串连接操作只需要简单地通过 `+` 号将两个字符串相连即可。 与 Swift 中其他值一样,能否更改字符串的值,取决于其被定义为常量还是变量。 尽管语法简易,但 **String** 类型是一种快速、现代化的字符串实现。 -每一个字符串都是由独立编码的 Unicode 字符组成,并提供了用于访问这些字符在不同的Unicode表示的支持。 +每一个字符串都是由独立编码的 Unicode 字符组成,并提供了以不同 Unicode 表示 (representations) 来访问这些字符的支持。 -**String** 也可以用于在常量、变量、字面量和表达式中进行字符串插值,这使得创建用于展示、存储和打印的字符串变得轻松自如。 +Swift可以在常量、变量、字面量和表达式中进行字符串插值操作,可以轻松创建用于展示、存储和打印的自定义字符串。 > 注意: > > Swift 的 **String** 类型与 Foundation NSString 类进行了无缝桥接。 -> 如果您利用 Cocoa 或 Cocoa Touch 中的 Foundation 框架进行工作,整个 NSString API 都可以调用您创建的任意 String 类型的值,您额外还可以在任意 API 中使用本章介绍的 **String** 特性。 -> 您也可以在任意要求传入NSString 实例作为参数的 API 中使用 **String** 类型的值进行替换。 +> 如果您利用 Cocoa 或 Cocoa Touch 中的 Foundation 框架进行工作。 +> 所有 **NSString** API 都可以调用您创建的任意 **String** 类型的值。 +> 除此之外,还可以使用本章介绍的 **String** 特性。 +> 您也可以在任意要求传入 **NSString** 实例作为参数的 API 中使用 **String** 类型的值作为替代。 > >更多关于在 Foundation 和 Cocoa 中使用 **String** 的信息请查看 [Using Swift with Cocoa and Objective-C](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/index.html#//apple_ref/doc/uid/TP40014216)。 +--- + ### 字符串字面量 您可以在您的代码中包含一段预定义的字符串值作为字符串字面量。 -字符串字面量是由双引号包裹着的具有固定顺序的文本字符集。 +字符串字面量是由双引号 ("") 包裹着的具有固定顺序的文本字符集。 字符串字面量可以用于为常量和变量提供初始值。 @@ -48,47 +53,51 @@ let someString = "Some string literal value" > 注意: > -> `someString` 变量通过字符串字面量进行初始化,Swift 因此推断其为 **String** 类型。 +> `someString` 变量通过字符串字面量进行初始化,Swift 因此推断该变量为 **String** 类型。 字符串字面量可以包含以下特殊字符: -* 转移特殊字符 `\0` (空字符)、`\\`(反斜线)、`\t` (水平制表符)、`\n` (换行符)、`\r` (回车符)、`\"` (双引号)、`\'` (单引号)。 -* 单字节 Unicode 标量,写成 `\xnn`,其中 nn 为两位十六进制数。 -* 双字节 Unicode 标量,写成 `\unnnn`,其中 nnnn 为四位十六进制数。 -* 四字节 Unicode 标量,写成 `\Unnnnnnnn`,其中 nnnnnnnn 为八位十六进制数。 +* 转义字符 `\0` (空字符)、`\\`(反斜线)、`\t` (水平制表符)、`\n` (换行符)、`\r` (回车符)、`\"` (双引号)、`\'` (单引号)。 +* 单字节 Unicode 标量,写成 `\xnn`,其中 `nn` 为两位十六进制数。 +* 双字节 Unicode 标量,写成 `\unnnn`,其中 `nnnn` 为四位十六进制数。 +* 四字节 Unicode 标量,写成 `\Unnnnnnnn`,其中 `nnnnnnnn` 为八位十六进制数。 下面的代码为各种特殊字符的使用示例。 - -`wiseWords` 常量包含了两个转移特殊字符 (双括号);`dollarSign`、`blackHeart` 和 `sparklingHeart` 常量演示了三种不同格式的 Unicode 标量: +`wiseWords` 常量包含了两个转移特殊字符 (双括号); +`dollarSign`、`blackHeart` 和 `sparklingHeart` 常量演示了三种不同格式的 Unicode 标量: ``` -let wiseWords = "\"Imagination is more important than knowledge\" - Einstein" -// "Imagination is more important than knowledge" - Einstein -let dollarSign = "\x24" // $, Unicode scalar U+0024 -let blackHeart = "\u2665" // ♥, Unicode scalar U+2665 -let sparklingHeart = "\U0001F496" // 💖, Unicode scalar U+1F496 +let wiseWords = "\"我是要成为海贼王的男人\" - 路飞" +// "我是要成为海贼王的男人" - 路飞 +let dollarSign = "\x24" // $, Unicode 标量 U+0024 +let blackHeart = "\u2665" // ♥, Unicode 标量 U+2665 +let sparklingHeart = "\U0001F496" // 💖, Unicode 标量 U+1F496 ``` +--- + ### 初始化空字符串 为了构造一个很长的字符串,可以创建一个空字符串作为初始值。 可以将空的字符串字面量赋值给变量,也可以初始化一个新的 **String** 实例: ``` -var emptyString = "" // empty string literal -var anotherEmptyString = String() // initializer syntax -// 这两个字符串都为空,并且两者等价 +var emptyString = "" // 空字符串字面量 +var anotherEmptyString = String() // 初始化 String 实例 +// 两个字符串均为空并等价。 ``` 您可以通过检查其 **Boolean** 类型的 `isEmpty` 属性来判断该字符串是否为空: ``` if emptyString.isEmpty { - println("Nothing to see here") + println("什么都没有") } -// 打印 "Nothing to see here" +// 输出 "什么都没有" ``` +--- + ### 字符串可变性 您可以通过将一个特定字符串分配给一个变量来对其进行修改,或者分配给一个常量来保证其不会被修改: @@ -99,32 +108,37 @@ variableString += " and carriage" // variableString 现在为 "Horse and carriage" let constantString = "Highlander" constantString += " and another Highlander" -// 这会报告一个编译错误(compile-time error) - 常量不可以被修改。 +// 这会报告一个编译错误 (compile-time error) - 常量不可以被修改。 ``` > 注意: > -> 在 Objective-C 和 Cocoa 中,您通过选择两个不同的类( NSString 和 NSMutableString )来指定该字符串是否可以被修改,Swift中的字符串是否可以修改仅通过定义的是变量还是常量来决定,实现了多种类型可变性操作的统一。 +> 在 Objective-C 和 Cocoa 中,您通过选择两个不同的类( `NSString` 和 `NSMutableString` )来指定该字符串是否可以被修改,Swift 中的字符串是否可以修改仅通过定义的是变量还是常量来决定,实现了多种类型可变性操作的统一。 + +--- ### 字符串是值类型 Swift 的 **String** 类型是值类型。 如果您创建了一个新的字符串,那么当其进行常量、变量赋值操作或在函数/方法中传递时,会进行值拷贝。 -任何情况下,都会对已有字符串值创建新副本,并对该新副本进行传递或赋值。 +任何情况下,都会对已有字符串值创建新副本,并对该新副本进行传递或赋值操作。 值类型在 [Structures and Enumerations Are Value Types](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ClassesAndStructures.html#//apple_ref/doc/uid/TP40014097-CH13-XID_104) 中进行了说明。 > 注意: > -> 与 Cocoa 中的 NSString 不同,当您在 Cocoa 中创建了一个 NSString 实例,并将其传递给一个函数/方法,或者赋值给一个变量,您永远都是传递或赋值同一个 NSString 实例的一个引用,除非您特别要求其进行值拷贝,否则字符串不会进行赋值新副本操作。 +> 与 Cocoa 中的 NSString 不同,当您在 Cocoa 中创建了一个 NSString 实例,并将其传递给一个函数/方法,或者赋值给一个变量,您传递或赋值的是该 NSString 实例的一个引用,除非您特别要求进行值拷贝,否则字符串不会生成新的副本来进行赋值操作。 -Swift 默认字符串拷贝的方式保证了在函数/方法中传递的是字符串的值,其明确了无论该值来自于哪里,都是您独自拥有的。 +Swift 默认字符串拷贝的方式保证了在函数/方法中传递的是字符串的值。 +很明显无论该值来自于哪里,都是您独自拥有的。 您可以放心您传递的字符串本身不会被更改。 -在实际编译时,Swift编译器会优化字符串的使用,使实际的复制只发生在绝对必要的情况下,这意味着您始终可以将字符串作为值类型的同时获得极高的性能。 +在实际编译时,Swift 编译器会优化字符串的使用,使实际的复制只发生在绝对必要的情况下,这意味着您将字符串作为值类型的同时可以获得极高的性能。 -#### 使用字符(Characters) +--- -Swift 的 **String** 类型表示特定序列的字符值的集合。 +### 使用字符(Characters) + +Swift 的 **String** 类型表示特定序列的 **Character** (字符) 类型值的集合。 每一个字符值代表一个 Unicode 字符。 您可利用 for-in 循环来遍历字符串中的每一个字符: @@ -147,9 +161,11 @@ for-in 循环在[For Loops](https://developer.apple.com/library/prerelease/ios/d let yenSign: Character = "¥" ``` +--- + ### 计算字符数量 -通过调用全局 `countElements` 函数并将字符串作为参数进行传递可以获取该字符串的字符数量。 +通过调用全局 `countElements` 函数,并将字符串作为参数进行传递,可以获取该字符串的字符数量。 ``` let unusualMenagerie = "Koala 🐨, Snail 🐌, Penguin 🐧, Dromedary 🐪" @@ -168,9 +184,11 @@ println("unusualMenagerie has \(countElements(unusualMenagerie)) characters") > NSString 的 `length` 属性是基于利用 UTF-16 表示的十六位代码单元数字,而不是基于 Unicode 字符。 > 为了解决这个问题,NSString 的 `length` 属性在被 Swift的 **String** 访问时会成为 `utf16count`。 +--- + ### 连接字符串和字符 -字符串和字符的值可以通过加法运算符 (+) 相加在一起并创建一个新的字符串值: +字符串和字符的值可以通过加法运算符 (`+`) 相加在一起并创建一个新的字符串值: ``` let string1 = "hello" @@ -200,15 +218,17 @@ welcome += character1 > >您不能将一个字符串或者字符添加到一个已经存在的字符变量上,因为字符变量只能包含一个字符。 +--- + ### 字符串插值 -字符串插值是一种全新的构建字符串的方式,可以在其中包含常量、变量、字面量和表达式。 +字符串插值是一种构建新字符串的方式,可以在其中包含常量、变量、字面量和表达式。 您插入的字符串字面量的每一项都被包裹在以反斜线为前缀的圆括号中: ``` let multiplier = 3 -let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)" -// message is "3 times 2.5 is 7.5" +let message = "\(multiplier) 乘以 2.5 是 \(Double(multiplier) * 2.5)" +// message is "3 乘以 2.5 是 7.5" ``` 在上面的例子中,`multiplier` 作为 `\(multiplier)` 被插入到一个字符串字面量中。 @@ -220,7 +240,9 @@ let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)" >注意: > ->您插值字符串中写在括号中的表达式不能包含非转义双引号 (") 和反斜杠 (\\),并且不能包含回车或换行符。 +>您插值字符串中写在括号中的表达式不能包含非转义双引号 (`"`) 和反斜杠 (`\`),并且不能包含回车或换行符。 + +--- ### 比较字符串 @@ -231,12 +253,12 @@ Swift 提供了三种方式来比较字符串的值:字符串相等,前缀 如果两个字符串以同一顺序包含完全相同的字符,则认为两者字符串相等: ``` -let quotation = "We're a lot alike, you and I." -let sameQuotation = "We're a lot alike, you and I." +let quotation = "我们是一样一样滴." +let sameQuotation = "我们是一样一样滴." if quotation == sameQuotation { - println("These two strings are considered equal") + println("这两个字符串被认为是相同的") } -// prints "These two strings are considered equal" +// prints "这两个字符串被认为是相同的" ``` ##### 前缀/后缀相等 @@ -278,7 +300,7 @@ println("There are \(act1SceneCount) scenes in Act 1") ##### 大写和小写字符串 -您可以通过字符串的 `uppercaseString` 和 `lowercaseString` 属性来访问一个字符串的大写/小写版本。 +您可以通过字符串的 `uppercaseString` 和 `lowercaseString` 属性来访问大写/小写版本的字符串。 ``` let normal = "Could you help me, please?" @@ -288,12 +310,14 @@ let whispered = normal.lowercaseString // whispered 值为 "could you help me, please?" ``` +--- + ### Unicode -Unicode 是文本编码和表示的国际标准。 +Unicode 是一个国际标准,用于文本的编码和表示。 它使您可以用标准格式表示来自任意语言几乎所有的字符,并能够对文本文件或网页这样的外部资源中的字符进行读写操作。 -Swift 的字符串和字符类型是完全兼容 Unicode 的,它支持如下所述的一系列不同的 Unicode 编码。 +Swift 的字符串和字符类型是完全兼容 Unicode 标准的,它支持如下所述的一系列不同的 Unicode 编码。 ###### Unicode 术语(Terminology) @@ -315,7 +339,7 @@ Swift 提供了几种不同的方式来访问字符串的 Unicode 表示。 * UTF-16 代码单元集合 (利用字符串的 `utf16` 属性进行访问) * 21位的 Unicode 标量值集合 (利用字符串的 `unicodeScalars` 属性进行访问) -下面由 `D` `o` `g` `!` 和 `🐶` (狗脸表情,Unicode 标量为 `U+1F436`)组成的字符串中的每一个字符代表着一种不同的表示: +下面由 `D` `o` `g` `!` 和 `🐶` (`DOG FACE`,Unicode 标量为 `U+1F436`)组成的字符串中的每一个字符代表着一种不同的表示: ``` let dogString = "Dog!🐶" @@ -324,7 +348,7 @@ let dogString = "Dog!🐶" ##### UTF-8 您可以通过遍历字符串的 `utf8` 属性来访问它的 `UTF-8` 表示。 -其为 **UTF8View** 类型的属性,**UTF8View** 是无符号8位 (`UInt8`) 值的集合,每一个 `UIn8` 都是一个字符的 UTF-8 表示: +其为 **UTF8View** 类型的属性,**UTF8View** 是无符号8位 (`UInt8`) 值的集合,每一个 `UInt8` 值都是一个字符的 UTF-8 表示: ``` for codeUnit in dogString.utf8 { @@ -335,7 +359,7 @@ print("\n") ``` 上面的例子中,前四个10进制代码单元值 (68, 111, 103, 33) 代表了字符 `D` `o` `g` 和 `!` ,他们的 UTF-8 表示与 ASCII 表示相同。 -后四个代码单元值 (240, 159, 144, 182) 是 `狗脸表情` 的4位 UTF-8 表示。 +后四个代码单元值 (240, 159, 144, 182) 是 `DOG FACE` 的4位 UTF-8 表示。 ##### UTF-16 @@ -352,7 +376,7 @@ print("\n") 同样,前四个代码单元值 (68, 111, 103, 33) 代表了字符 `D` `o` `g` 和 `!` ,他们的 UTF-16 代码单元和 UTF-8 完全相同。 -第五和第六个代码单元值 (55357 and 56374) 是 `狗脸表情` 字符的UTF-16 表示。 +第五和第六个代码单元值 (55357 and 56374) 是 `DOG FACE` 字符的UTF-16 表示。 第一个值为 `U+D83D` (十进制值为 55357),第二个值为 `U+DC36` (十进制值为 56374)。 ##### Unicode 标量 (Scalars) @@ -373,7 +397,7 @@ print("\n") 同样,前四个代码单元值 (68, 111, 103, 33) 代表了字符 `D` `o` `g` 和 `!` 。 第五位数值,128054,是一个十六进制1F436的十进制表示。 -其等同于 `狗脸表情` 的Unicode 标量 U+1F436。 +其等同于 `DOG FACE` 的Unicode 标量 U+1F436。 作为查询字符值属性的一种替代方法,每个 `UnicodeScalar` 值也可以用来构建一个新的字符串值,比如在字符串插值中使用: diff --git a/source/chapter2/06_Functions.md b/source/chapter2/06_Functions.md index 18b56160..9ae8edac 100644 --- a/source/chapter2/06_Functions.md +++ b/source/chapter2/06_Functions.md @@ -14,7 +14,7 @@ Swift统一的函数语法足够灵活,可以用来表示任何函数,包括 在Swift中,每个函数都有一种类型,包括函数的参数值类型和返回值类型。你可以把函数类型当做任何其他普通变量类型一样处理,这样就可以更简单地把函数当做别的函数的参数,也可以从其他函数中返回函数。函数的定义可以写在在其他函数定义中,这样可以在嵌套函数范围内实现功能封装。 -## 函数的定义与调用 +## 函数的定义与调用(Defining and Calling Functions) 当你定义一个函数时,你可以定义一个或多个有名字和类型的值,作为函数的输入(称为参数,parameters),也可以定义某种类型的值作为函数执行结束的输出(称为返回类型)。 @@ -50,4 +50,440 @@ Swift统一的函数语法足够灵活,可以用来表示任何函数,包括 println(sayHelloAgain("Anna")) // prints "Hello again, Anna! -## 函数参数与返回值 \ No newline at end of file +## 函数参数与返回值(Function Parameters and Return Values) + +函数参数与返回值在Swift中极为灵活。你可以定义任何类型的函数,包括从只带一个未名参数的简单函数到复杂的带有表达性参数名和不同参数选项的复杂函数。 + +### 多重输入参数(Multiple Input Parameters) + +函数可以有多个输入参数,写在圆括号中,用逗号分隔。 + +下面这个函数用一个半开区间的开始点和结束点,计算出这个范围内包含多少数字: + + func halfOpenRangeLength(start: Int, end: Int) -> Int { + return end - start + } + println(halfOpenRangeLength(1, 10)) + // prints "9 + +### 无参函数(Functions Without Parameters) + +函数可以没有参数。下面这个函数就是一个无参函数,当被调用时,它返回固定的`String`消息: + + func sayHelloWorld() -> String { + return "hello, world" + } + println(sayHelloWorld()) + // prints "hello, world + +尽管这个函数没有参数,但是定义中在函数名后还是需要一对圆括号。当被调用时,也需要在函数名后写一对圆括号。 + +### 无返回值函数(Functions Without Return Values) + +函数可以没有返回值。下面是`sayHello`函数的另一个版本,叫`waveGoodbye`,这个函数直接输出`String`值,而不是返回它: + + func sayGoodbye(personName: String) { + println("Goodbye, \(personName)!") + } + sayGoodbye("Dave") + // prints "Goodbye, Dave! + +因为这个函数不需要返回值,所以这个函数的定义中没有返回箭头(->)和返回类型。 + +> 注意: +> 严格上来说,虽然没有返回值被定义,`sayGoodbye`函数依然返回了值。没有定义返回类型的函数会返回特殊的值,叫`Void`。它其实是一个空的元组(tuple),没有任何元素,可以写成`()`。 + +被调用时,一个函数的返回值可以被忽略: + + func printAndCount(stringToPrint: String) -> Int { + println(stringToPrint) + return countElements(stringToPrint) + } + func printWithoutCounting(stringToPrint: String) { + printAndCount(stringToPrint) + } + printAndCount("hello, world") + // prints "hello, world" and returns a value of 12 + printWithoutCounting("hello, world") + // prints "hello, world" but does not return a value + +第一个函数`printAndCount`,输出一个字符串并返回`Int`类型的字符数。第二个函数`printWithoutCounting`调用了第一个函数,但是忽略了它的返回值。当第二个函数被调用时,消息依然会由第一个函数输出,但是返回值不会被用到。 + +> 注意: +> 返回值可以被忽略,但定义了有返回值的函数必须返回一个值,如果在函数定义底部没有返回任何值,这叫导致编译错误(compile-time error)。 + +### 多重返回值函数(Functions with Multiple Return Values) + +你可以用元组(tuple)类型让多个值作为一个复合值从函数中返回。 + +下面的这个例子中,`count`函数用来计算一个字符串中元音,辅音和其他字母的个数(基于美式英语的标准)。 + + func count(string: String) -> (vowels: Int, consonants: Int, others: Int) { + var vowels = 0, consonants = 0, others = 0 + for character in string { + switch String(character).lowercaseString { + case "a", "e", "i", "o", "u": + ++vowels + case "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", + "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z": + ++consonants + default: + ++others + } + } + return (vowels, consonants, others) + } + +你可以用`count`函数来处理任何一个字符串,返回的值将是一个包含三个`Int`型值的元组(tuple): + + let total = count("some arbitrary string!") + println("\(total.vowels) vowels and \(total.consonants) consonants") + // prints "6 vowels and 13 consonants + +需要注意的是,元组的成员不需要在函数中返回时命名,因为它们的名字已经在函数返回类型有有了定义。 + +## 函数参数名(Function Parameter Names) + +以上所有的函数都给它们的参数定义了`参数名(parameter name)`: + + func someFunction(parameterName: Int) { + // function body goes here, and can use parameterName + // to refer to the argument value for that parameter + } + +但是,这些参数名仅在函数体中使用,不能在函数调用时使用。这种类型的参数名被称作`局部参数名(local parameter name)`,因为它们只能在函数体中使用。 + +### 外部参数名(External Parameter Names) + +有时候,调用函数时,给每个参数命名是非常有用的,因为这些参数名可以指出各个实参的用途是什么。 + +如果你希望函数的使用者在调用函数时提供参数名字,那就需要给每个参数除了局部参数名外再定义一个`外部参数名`。外部参数名写在局部参数名之前,用空格分隔。 + + func someFunction(externalParameterName localParameterName: Int) { + // function body goes here, and can use localParameterName + // to refer to the argument value for that parameter + } + +> 注意: +> 如果你提供了外部参数名,那么函数在被调用时,必须使用外部参数名。 + +以下是个例子,这个函数使用一个`结合者(joiner)`把两个字符串联在一起: + + func join(s1: String, s2: String, joiner: String) -> String { + return s1 + joiner + s2 + } + +当你调用这个函数时,这三个字符串的用途是不清楚的: + + join("hello", "world", ", ") + // returns "hello, world + +为了让这些字符串的用途更为明显,我们为`join`函数添加外部参数名: + + func join(string s1: String, toString s2: String, withJoiner joiner: String) -> String { + return s1 + joiner + s2 + } + +在这个版本的`join`函数中,第一个参数有一个叫`string`的外部参数名和`s1`的局部参数名,第二个参数有一个叫`toString`的外部参数名和`s2`的局部参数名,第三个参数有一个叫`withJoiner`的外部参数名和`joiner`的局部参数名。 + +现在,你可以使用这些外部参数名以一种清晰地方式来调用函数了: + + join(string: "hello", toString: "world", withJoiner: ", ") + // returns "hello, world + +使用外部参数名让第二个版本的`join`函数的调用更为有表现力,更为通顺,同时还保持了函数体是可读的和有明确意图的。 + +> 注意: +> 当其他人在第一次读你的代码,函数参数的意图显得不明显时,考虑使用外部参数名。如果函数参数名的意图是很明显的,那就不需要定义外部参数名了。 + +### 简写外部参数名(Shorthand External Parameter Names) + +如果你需要提供外部参数名,但是局部参数名已经定义好了,那么你不需要写两次这些参数名。相反,只写一次参数名,并用`井号(#)`作为前缀就可以了。这告诉Swift使用这个参数名作为局部和外部参数名。 + +下面这个例子定义了一个叫`containsCharacter`的函数,使用`井号(#)`的方式定义了外部参数名: + + func containsCharacter(#string: String, #characterToFind: Character) -> Bool { + for character in string { + if character == characterToFind { + return true + } + } + return false + } + +这样定义参数名,使得函数体更为可读,清晰,同时也可以以一个不含糊的方式被调用: + + let containsAVee = containsCharacter(string: "aardvark", characterToFind: "v") + // containsAVee equals true, because "aardvark" contains a "v” + + +### 默认参数值(Default Parameter Values) + +你可以在函数体中为每个参数定义`默认值`。当默认值被定义后,调用这个函数时可以略去这个参数。 + +> 注意: +> 将带有默认值的参数放在函数参数表的最后。这样可以保证在函数调用时,非默认参数的顺序是一致的,同时使得相同的函数在不同情况下调用时显得更为清晰。 + +以下是另一个版本的`join`函数,其中`joiner`有了默认参数值: + + func join(string s1: String, toString s2: String, withJoiner joiner: String = " ") -> String { + return s1 + joiner + s2 + } + +像第一个版本的`join`函数一样,如果`joiner`被幅值时,函数将使用这个字符串值来连接两个字符串: + + join(string: "hello", toString: "world", withJoiner: "-") + // returns "hello-world + +当这个函数被调用时,如果`joiner`的值没有被指定,函数会使用默认值(" "): + + join(string: "hello", toString: "world", withJoiner: "-") + // returns "hello-world + +### 默认值参数的外部参数名(External Names for Parameters with Default Values) + +在大多数情况下,给带默认值的参数起一个外部参数名是很有用的。这样可以保证当函数被调用且带默认值的参数被提供值时,实参的意图是明显的。 + +为了使定义外部参数名更加简单,当你未给带默认值的参数提供外部参数名时,Swift会自动提供外部名字。此时外部参数名与局部名字是一样的,就像你已经在局部参数名前写了`井号(#)`一样。 + +下面是`join`函数的另一个版本,这个版本中并没有为它的参数提供外部参数名,但是`joiner`参数依然有外部参数名: + + func join(s1: String, s2: String, joiner: String = " ") -> String { + return s1 + joiner + s2 + } + +在这个例子中,Swift自动为`joiner`提供了外部参数名。因此,当函数调用时,外部参数名必须使用,这样使得参数的用途变得清晰。 + + func join(s1: String, s2: String, joiner: String = " ") -> String { + return s1 + joiner + s2 + } + +> 注意: +> 你可以使用`下划线(_)`作为默认值参数的外部参数名,这样可以在调用时不用提供外部参数名。但是给带默认值的参数命名总是更加合适的。 + +### 可变参数(Variadic Parameters) + +一个`可变参数(variadic parameter)`可以接受一个或多个值。函数调用时,你可以用可变参数来传入不确定数量的输入参数。通过在变量类型名后面加入`(...)`的方式来定义可变参数。 + +传入可变参数的值在函数体内当做这个类型的一个数组。例如,一个叫做`numbers`的`Double...`型可变参数,在函数体内可以当做一个叫`numbers`的`Double[]`型的数组常量。 + +下面的这个函数用来计算一组任意长度数字的算术平均数: + + func arithmeticMean(numbers: Double...) -> Double { + var total: Double = 0 + for number in numbers { + total += number + } + return total / Double(numbers.count) + } + arithmeticMean(1, 2, 3, 4, 5) + // returns 3.0, which is the arithmetic mean of these five numbers + arithmeticMean(3, 8, 19) + // returns 10.0, which is the arithmetic mean of these three numbers + +> 注意: +> 一个函数至多能有一个可变参数,而且它必须是参数表中最后的一个。这样做是为了避免函数调用时出现歧义。 + +如果函数有一个或多个带默认值的参数,而且还有一个可变参数,那么把可变参数放在参数表的最后。 + +### 常量参数和变量参数(Constant and Variable Parameters) + +函数参数默认是常量。试图在函数体中更改参数值将会导致编译错误。这意味着你不能错误地更改参数值。 + +但是,有时候,如果函数中有传入参数的变量值副本将是很有用的。你可以通过指定一个或多个参数为变量参数,从而避免自己在函数中定义新的变量。变量参数不是常量,你可以在函数中把它当做新的可修改副本来使用。 + +通过在参数名前加关键字`var`来定义变量参数: + + func alignRight(var string: String, count: Int, pad: Character) -> String { + let amountToPad = count - countElements(string) + for _ in 1...amountToPad { + string = pad + string + } + return string + } + let originalString = "hello" + let paddedString = alignRight(originalString, 10, "-") + // paddedString is equal to "-----hello" + // originalString is still equal to "hello” + +这个例子中定义了一个新的叫做`alignRight`的函数,用来右对齐输入的字符串到一个长的输出字符串中。左侧空余的地方用指定的填充字符填充。这个例子中,字符串`"hello"`被转换成了`"-----hello"`。 + +`alignRight`函数将参数`string`定义为变量参数。这意味着`string`现在可以作为一个局部变量,用传入的字符串值初始化,并且可以在函数体中进行操作。 + +该函数首先计算出多少个字符需要被添加到`string`的左边,以右对齐到总的字符串中。这个值存在局部常量`amountToPad`中。这个函数然后将`amountToPad`多的填充(pad)字符填充到`string`左边,并返回结果。它使用了`string`这个变量参数来进行所有字符串操作。 + +> 注意: +> 对变量参数所进行的修改在函数调用结束后变消息了,并且对于函数体外是不可见的。变量参数仅仅存在于函数调用的生命周期中。 + +### 输入输出参数(In-Out Parameters) + +变量参数,正如上面所述,仅仅能在函数体内被更改。如果你想要一个函数可以修改参数的值,并且想要在这些修改在函数调用结束后仍然存在,那么就应该把这个参数定义为输入输出参数(In-Out Parameters)。 + +定义一个输入输出参数时,在参数定以前加`inout`关键字。一个输入输出参数有传入函数的值,这个值被函数修改,然后被传出函数,替换原来的值。 + +你只能传入一个变量作为输入输出参数。你不能传入常量或者字面量(literal value),因为这些量是不能被修改的。当传入的参数作为输入输出参数时,需要在参数前加`&`符,表示这个值可以被函数修改。 + +> 注意: +> 输入输出参数不能有默认值,而且变量参数不能用`inout`标记。如果你用`inout`标记一个参数,这个参数不能别`var`或者`let`标记。 + +下面是例子,`swapTwoInts`函数,有两个分别叫做`a`和`b`的输出输出参数: + + func swapTwoInts(inout a: Int, inout b: Int) { + let temporaryA = a + a = b + b = temporaryA + } + +这个`swapTwoInts`函数仅仅交换`a`与`b`的值。该函数先将`a`的值存到一个暂时常量`temporaryA`中,然后将`b`的值赋给`a`,最后将`temporaryA`幅值给`b`。 + +你可以用两个`Int`型的变量来调用`swapTwoInts`。需要注意的是,`someInt`和`anotherInt`在传入`swapTwoInts`函数前,都加了`&`的前缀: + + var someInt = 3 + var anotherInt = 107 + swapTwoInts(&someInt, &anotherInt) + println("someInt is now \(someInt), and anotherInt is now \(anotherInt)") + // prints "someInt is now 107, and anotherInt is now 3” + +从上面这个例子中,我们可以看到`someInt`和`anotherInt`的原始值在`swapTwoInts`函数中被修改,尽管它们的定义在函数体外。 + +> 注意: +> 输出输出参数和返回值是不一样的。上面的`swapTwoInts`函数并没有定义任何返回值,但仍然修改了`someInt`和`anotherInt`的值。输入输出参数是函数对函数体外产生影响的另一种方式。 + +## 函数类型(Function Types) + +每个函数都有种特定的函数类型,由函数的参数类型和返回类型组成。 + +例如: + + func addTwoInts(a: Int, b: Int) -> Int { + return a + b + } + func multiplyTwoInts(a: Int, b: Int) -> Int { + return a * b + } + +这个例子中定义了两个简单的数学函数:`addTwoInts`和`multiplyTwoInts`。这两个函数都传入两个`Int`类型, 返回一个合适的`Int`值。 + +这两个函数的类型是`(Int, Int) -> Int`,可以读作“这个函数类型,它有两个`Int`型的参数并返回一个`Int`型的值。”。 + +下面是另一个例子,一个没有参数,也没有返回值的函数: + + func printHelloWorld() { + println("hello, world") + } + +这个函数的类型是:`() -> ()`,或者叫“没有参数,并返回`Void`类型的函数。”。没有指定返回类型的函数总返回 `Void`。在Swift中,`Void`与空的元组是一样的。 + +### 使用函数类型(Using Function Types) + +在Swift中,使用函数类型就像使用其他类型一样。例如,你可以定义一个常量或变量,它的类型是函数,并且可以幅值为一个函数: + + var mathFunction: (Int, Int) -> Int = addTwoInts + +这个可以读作: + +“定义一个叫做`mathFunction`的变量,类型是‘一个有两个`Int`型的参数并返回一个`Int`型的值的函数’,并让这个新变量指向`addTwoInts`函数”。 + +`addTwoInts`和`mathFunction`有同样的类型,所以这个赋值过程在Swift类型检查中是允许的。 + +现在,你可以用`mathFunction`来调用被赋值的函数了: + + println("Result: \(mathFunction(2, 3))") + // prints "Result: 5 + +有相同匹配类型的不同函数可以被赋值给同一个变量,就像非函数类型的变量一样: + + mathFunction = multiplyTwoInts + println("Result: \(mathFunction(2, 3))") + // prints "Result: 6" + +就像其他类型一样,当赋值一个函数给常量或变量时,你可以让Swift来推测其函数类型: + + let anotherMathFunction = addTwoInts + // anotherMathFunction is inferred to be of type (Int, Int) -> Int + +### 函数类型作为参数类型(Function Types as Parameter Types) + +你可以用`(Int, Int) -> Int`这样的函数类型作为另一个函数的参数类型。这样你可以将函数的一部分实现交由给函数的调用者。 + +下面是另一个例子,正如上面的函数一样,同样是输出某种数学运算结果: + + func printMathResult(mathFunction: (Int, Int) -> Int, a: Int, b: Int) { + println("Result: \(mathFunction(a, b))") + } + printMathResult(addTwoInts, 3, 5) + // prints "Result: 8” + +这个例子定义了`printMathResult`函数,它有三个参数:第一个参数叫`mathFunction`,类型是`(Int, Int) -> Int`,你可以传入任何这种类型的函数;第二个和第三个参数叫`a`和`b`,它们的类型都是`Int`,这两个值作为已给的函数的输入值。 + +当`printMathResult`被调用时,它被传入`addTwoInts`函数和整数`3`和`5`。它用传入`3`和`5`调用`addTwoInts`,并输出结果:`8`。 + +`printMathResult`函数的作用就是输出另一个合适类型的数学函数的调用结果。它不关心传入函数是如何实现的,它只关心这个传入的函数类型是正确的。这使得`printMathResult`可以以一种类型安全(type-safe)的方式来保证传入函数的调用是正确的。 + +### 函数类型作为返回类型(Function Type as Return Types) + +你可以用函数类型作为另一个函数的返回类型。你需要做的是在返回箭头(`->`)后写一个完整的函数类型。 + +下面的这个例子中定义了两个简单函数,分别是`stepForward`和`stepBackward`。`stepForward`函数返回一个比输入值大一的值。`stepBackward`函数返回一个比输入值小一的值。这两个函数的类型都是`(Int) -> Int`: + + func stepForward(input: Int) -> Int { + return input + 1 + } + func stepBackward(input: Int) -> Int { + return input - 1 + } + +下面这个叫做`chooseStepFunction`的函数,它的返回类型是`(Int) -> Int`的函数。`chooseStepFunction`根据布尔值`backwards`来返回`stepForward`函数或`stepBackward`函数: + + func chooseStepFunction(backwards: Bool) -> (Int) -> Int { + return backwards ? stepBackward : stepForward + } + +你现在可以用`chooseStepFunction`来获得一个函数,不管是那个方向: + + var currentValue = 3 + let moveNearerToZero = chooseStepFunction(currentValue > 0) + // moveNearerToZero now refers to the stepBackward() function + +上面这个例子中计算出从`currentValue`逐渐接近到`0`是需要向正数走还是向负数走。`currentValue`的初始值是`3`,这意味着`currentValue > 0`是真的(`true`),这将使得`chooseStepFunction`返回`stepBackward`函数。一个指向返回的函数的引用保存在了`moveNearerToZero`常量中。 + +现在,`moveNearerToZero`指向了正确的函数,它可以被用来数到`0`: + + println("Counting to zero:") + // Counting to zero: + while currentValue != 0 { + println("\(currentValue)... ") + currentValue = moveNearerToZero(currentValue) + } + println("zero!") + // 3... + // 2... + // 1... + // zero! + +## 嵌套函数(Nested Functions) + +这章中你所见到的所有函数都叫全局函数(global functions),它们定义在全局域中。你也可以把函数定义在别的函数体中,称作嵌套函数(nested functions)。 + +默认情况下,嵌套函数是对外界不可见的,但是可以被他们封闭函数(enclosing function)来调用。一个封闭函数也可以返回它的某一个嵌套函数,使得这个函数可以在其他域中被使用。 + +你可以用返回嵌套函数的方式重写`chooseStepFunction`函数: + + func chooseStepFunction(backwards: Bool) -> (Int) -> Int { + func stepForward(input: Int) -> Int { return input + 1 } + func stepBackward(input: Int) -> Int { return input - 1 } + return backwards ? stepBackward : stepForward + } + var currentValue = -4 + let moveNearerToZero = chooseStepFunction(currentValue > 0) + // moveNearerToZero now refers to the nested stepForward() function + while currentValue != 0 { + println("\(currentValue)... ") + currentValue = moveNearerToZero(currentValue) + } + println("zero!") + // -4... + // -3... + // -2... + // -1... + // zero! \ No newline at end of file diff --git a/source/chapter2/08_Enumerations.md b/source/chapter2/08_Enumerations.md index e69de29b..7f0c19d8 100644 --- a/source/chapter2/08_Enumerations.md +++ b/source/chapter2/08_Enumerations.md @@ -0,0 +1,208 @@ +# 枚举 + +本页内容包含: + +- 枚举语法 +- 匹配枚举值与`Swith`语句 +- 实例值(associated values) +- 原始值(raw values) + +枚举(enumeration)定义了一个通用类型的一组相关的值,使你可以在你的代码中以一个安全的方式来使用这些值。 + +如果你熟悉C语言,你就会知道,在C语言中枚举指定相关名称为一组整型值。Swift中的枚举更加灵活,不必给每一个枚举成员(enumeration member)提供一个值。如果一个值(被认为是“原始”值)被提供给每个枚举成员,则该值可以是一个字符串,一个字符,或是一个整型值或浮点值。 + +此外,枚举成员可以指定任何类型的实例值存储到枚举成员值中,就像其他语言中的联合体(unions)和变体(variants)。你可以定义一组通用的相关成员作为枚举的一部分,每一组都有不同的一组与它相关的适当类型的数值。 + +在Swift中,枚举类型是一等(first-class)类型。它们采用了很多传统上只被类(class)所支持的特征,例如计算型属性(computed properties),用于提供关于枚举当前值的附加信息, 实例方法(instance methods),用于提供和枚举所代表的值相关联的功能。枚举也可以定义构造函数(initializers)来提供一个初始成员值;可以在原始的实现基础上扩展它们的功能;可以遵守协议(protocols)来提供标准的功能。 + +欲了解更多相关功能,请参见属性(Properties),方法(Methods),构造过程(Initialization),扩展(Extensions),和协议(Protocols)。 + +## 枚举语法 + +使用`enum`关键词并且把它们的整个定义放在一对大括号内: + + enum SomeEumeration { + // enumeration definition goes here + } + +以下是指南针四个方向的一个例子: + + enum CompassPoint { + case North + case South + case East + case West + } + +一个枚举中被定义的值(例如 `North`,`South`,`East`和`West`)是枚举的***成员值***(或者***成员***)。`case`关键词表明新的一行成员值将被定义。 + +> 注意: +> 不像C和Objective-C一样,Swift的枚举成员在被创建时不会被赋予一个默认的整数值。在上面的`CompassPoints`例子中,`North`,`South`,`East`和`West`不是隐式得等于`0`,`1`,`2`和`3`。相反的,这些不同的枚举成员在`CompassPoint`的一种显示定义中拥有各自不同的值。 + +多个成员值可以出现在同一行上,用逗号隔开: + + enum Planet { + case Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Nepturn + } + +每个枚举定义了一个全新的类型。像Swift中其他类型一样,它们的名字(例如`CompassPoint`和`Planet`)必须以一个大写字母开头。给枚举类型起一个单数名字而不是复数名字,以便于读起来更加容易理解: + + var directionToHead = CompassPoint.West + +`directionToHead`的类型被推断当它被`CompassPoint`的一个可能值初始化。一旦`directionToHead`被声明为一个`CompassPoint`,你可以使用更短的点(.)语法将其设置为另一个`CompassPoint`的值: + + directionToHead = .East + +`directionToHead`的类型已知时,当设定它的值时,你可以不再写类型名。使用显示类型的枚举值可以让代码具有更好的可读性。 + +## 匹配枚举值和`Switch`语句 + +你可以匹配单个枚举值和`switch`语句: + + directionToHead = .South + switch directionToHead { + case .North: + println("Lots of planets have a north") + case .South: + println("Watch out for penguins") + case .East: + println("Where the sun rises") + case .West: + println("Where the skies are blue") + } + // prints "Watch out for penguins” + +你可以如此理解这段代码: + +“考虑`directionToHead`的值。当它等于`.North`,打印`“Lots of planets have a north”`。当它等于`.South`,打印`“Watch out for penguins”`。” + +等等依次类推。 + +正如在控制流(Control Flow)中介绍,当考虑一个枚举的成员们时,一个`switch`语句必须全面。如果忽略了`.West`这种情况,上面那段代码将无法通过编译,因为它没有考虑到`CompassPoint`的全部成员。全面性的要求确保了枚举成员不会被意外遗漏。 + +当不需要匹配每个枚举成员的时候,你可以提供一个默认`default`分支来涵盖所有未明确被提出的任何成员: + + let somePlanet = Planet.Earth + switch somePlanet { + case .Earth: + println("Mostly harmless") + default: + println("Not a safe place for humans") + } + // prints "Mostly harmless” + +## 实例值(Associated Values) + +上一小节的例子演示了一个枚举的成员是如何被定义(分类)的。你可以为`Planet.Earth`设置一个常量或则变量,并且在之后查看这个值。然而,有时候会很有用如果能够把其他类型的实例值和成员值一起存储起来。这能让你随着成员值存储额外的自定义信息,并且当每次你在代码中利用该成员时允许这个信息产生变化。 + +你可以定义Swift的枚举存储任何类型的实例值,如果需要的话,每个成员的数据类型可以是各不相同的。枚举的这种特性跟其他语言中的可辨识联合(discriminated unions),标签联合(tagged unions),或者变体(variants)相似。 + +例如,假设一个库存跟踪系统需要利用两种不同类型的条形码来跟踪商品。有些商品上标有UPC-A格式的一维码,它使用数字0到9.每一个条形码都有一个代表“数字系统”的数字,该数字后接10个代表“标识符”的数字。最后一个数字是“检查”位,用来验证代码是否被正确扫描: + + + +其他商品上标有QR码格式的二维码,它可以使用任何ISO8859-1字符,并且可以编码一个最多拥有2,953字符的字符串: + + + +对于库存跟踪系统来说,能够把UPC-A码作为三个整型值的元组,和把QR码作为一个任何长度的字符串存储起来是方便的。 + +在Swift中,用来定义两种商品条码的枚举是这样子的: + + enum Barcode { + case UPCA(Int, Int, Int) + case QRCode(String) + } + +以上代码可以这么理解: + +“定义一个名为`Barcode`的枚举类型,它可以是`UPCA`的一个实例值(`Int`,`Int`,`Int`),或者`QRCode`的一个字符串类型(`String`)实例值。” + +这个定义不提供任何`Int`或`String`的实际值,它只是定义了,当`Barcode`常量和变量等于`Barcode.UPCA`或`Barcode.QRCode`时,实例值的类型。 + +然后可以使用任何一种条码类型创建新的条码,如: + + var productBarcode = Barcode.UPCA(8, 85909_51226, 3) + +以上例子创建了一个名为`productBarcode`的新变量,并且赋给它一个`Barcode.UPCA`的实例元组值`(8, 8590951226, 3)`。提供的“标识符”值在整数字中有一个下划线,使其便于阅读条形码。 + +同一个商品可以被分配给一个不同类型的条形码,如: + + productBarcode = .QRCode("ABCDEFGHIJKLMNOP") + +这时,原始的`Barcode.UPCA`和其整数值被新的`Barcode.QRCode`和其字符串值所替代。条形码的常量和变量可以存储一个`.UPCA`或者一个`.QRCode`(连同它的实例值),但是在任何指定时间只能存储其中之一。 + +像以前那样,不同的条形码类型可以使用一个switch语句来检查,然而这次实例值可以被提取作为switch语句的一部分。你可以在`switch`的case分支代码中提取每个实例值作为一个常量(用`let`前缀)或者作为一个变量(用`var`前缀)来使用: + + switch productBarcode { + case .UPCA(let numberSystem, let identifier, let check): + println("UPC-A with value of \(numberSystem), \(identifier), \(check).") + case .QRCode(let productCode): + println("QR code with value of \(productCode).") + } + // prints "QR code with value of ABCDEFGHIJKLMNOP.” + +如果一个枚举成员的所有实例值被提取为常量,或者它们全部被提取为变量,为了简洁,你可以只放置一个`var`或者`let`标注在成员名称前: + + switch productBarcode { + case let .UPCA(numberSystem, identifier, check): + println("UPC-A with value of \(numberSystem), \(identifier), \(check).") + case let .QRCode(productCode): + println("QR code with value of \(productCode).") + } + // prints "QR code with value of ABCDEFGHIJKLMNOP." + +## 原始值(Raw Values) + +在实例值小节的条形码例子中演示了一个枚举的成员如何声明它们存储不同类型的实例值。作为实例值的替代,枚举成员可以被默认值(称为原始值)预先填充,其中这些原始值具有相同的类型。 + +这里是一个枚举成员存储原始ASCII值的例子: + + enum ASCIIControlCharacter: Character { + case Tab = "\t" + case LineFeed = "\n" + case CarriageReturn = "\r" + } + +在这里,称为`ASCIIControlCharacter`的枚举的原始值类型被定义为字符型`Character`,并被设置了一些比较常见的ASCII控制字符。字符值的描述请详见字符串和字符`Strings and Characters`部分。 + +注意,原始值和实例值是不相同的。当你开始在你的代码中定义枚举的时候原始值是被预先填充的值,像上述三个ASCII码。对于一个特定的枚举成员,它的原始值始终是相同的。实例值是当你在创建一个基于枚举成员的新常量或变量时才会被设置,并且每次当你这么做得时候,它的值可以是不同的。 + +原始值可以是字符串,字符,或者任何整型值或浮点型值。每个原始值在它的枚举声明中必须是唯一的。当整型值被用于原始值,如果其他枚举成员没有值时,它们会自动递增。 + +下面的枚举是对之前`Planet`这个枚举的一个细化,利用原始整型值来表示每个planet在太阳系中的顺序: + + enum Planet: Int { + case Mercury = 1, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune + } + +自动递增意味着`Planet.Venus`的原始值是`2`,依次类推。 + +使用枚举成员的`toRaw`方法可以访问该枚举成员的原始值: + + let earthsOrder = Planet.Earth.toRaw() + // earthsOrder is 3 + +使用枚举的`fromRaw`方法来试图找到具有特定原始值的枚举成员。这个例子通过原始值`7`识别`Uranus`: + + let possiblePlanet = Planet.fromRaw(7) + // possiblePlanet is of type Planet? and equals Planet.Uranus + +然而,并非所有可能的`Int`值都可以找到一个匹配的行星。正因为如此,`fromRaw`方法可以返回一个***可选***的枚举成员。在上面的例子中,`possiblePlanet`是`Planet?`类型,或“可选的`Planet`”。 + +如果你试图寻找一个位置为9的行星,通过`fromRaw`返回的可选`Planet`值将是`nil`: + + let positionToFind = 9 + if let somePlanet = Planet.fromRaw(positionToFind) { + switch somePlanet { + case .Earth: + println("Mostly harmless") + default: + println("Not a safe place for humans") + } + } else { + println("There isn't a planet at position \(positionToFind)") + } + // prints "There isn't a planet at position 9 + +这个范例使用可选绑定(optional binding),通过原始值`9`试图访问一个行星。`if let somePlanet = Planet.fromRaw(9)`语句获得一个可选`Planet`,如果可选`Planet`可以被获得,把`somePlanet`设置成该可选`Planet`的内容。在这个范例中,无法检索到位置为`9`的行星,所以`else`分支被执行。 \ No newline at end of file diff --git a/source/chapter2/11_Methods.md b/source/chapter2/11_Methods.md index e69de29b..46848f82 100644 --- a/source/chapter2/11_Methods.md +++ b/source/chapter2/11_Methods.md @@ -0,0 +1,296 @@ +# 方法(Methods) + +**方法**是与某些特定类型相关联的功能/函数。类、结构体、枚举都可以定义实例方法;实例方法为指定类型的实例封装了特定的任务与功能。类、结构体、枚举也可以定义类(型)方法(type itself);类型方法与类型自身相关联。类型方法与Objective-C中的类方法(class methods)相似。 + +在Swift中,结构体和枚举能够定义方法;事实上这是Swift与C/Objective-C的主要区别之一。在Objective-C中,类是唯一能定义方法的类型。在Swift中,你能够选择是否定义一个类/结构体/枚举,并且你仍然享有在你创建的类型(类/结构体/枚举)上定义方法的灵活性。 + +### 实例方法(Instance Methods) + +**实例方法**是某个特定类、结构体或者枚举类型的实例的方法。实例方法支撑实例的功能: 或者提供方法,以访问和修改实例属性;或者提供与实例的目的相关的功能。实例方法的语法与函数完全一致,参考[函数说明](functions.md "函数说明")。 + +实例方法要写在它所属的类型的前后括号之间。实例方法能够访问他所属类型的所有的其他实例方法和属性。实例方法只能被它所属的类的特定实例调用。实例方法不能被孤立于现存的实例而被调用。 + +下面是定义一个很简单的类`Counter`的例子(`Counter`能被用来对一个动作发生的次数进行计数): + +``` +class Counter { + var count = 0 + func increment() { + count++ + } + func incrementBy(amount: Int) { + count += amount + } + func reset() { + count = 0 + } +} +``` + +`Counter`类定理了三个实例方法: +- `increment`让计数器按一递增; +- `incrementBy(amount: Int)`让计数器按一个指定的整数值递增; +- `reset`将计数器重置为0。 + +`Counter`这个类还声明了一个可变属性`count`,用它来保持对当前计数器值的追踪。 + +和调用属性一样,用点语法(dot syntax)调用实例方法: + +``` + let counter = Counter() + // the initial counter value is 0 + counter.increment() + // the counter's value is now 1 + counter.incrementBy(5) + // the counter's value is now 6 + counter.reset() + // the counter's value is now 0 +``` + +### 方法的局部参数名称和外部参数名称(Local and External Parameter Names for Methods) + +函数参数有一个局部名称(在函数体内部使用)和一个外部名称(在调用函数时使用),参考[External Parameter Names](external_parameter_names.md)。对于方法参数也是这样,因为方法就是函数(只是这个函数与某个类型相关联了)。但是,方法和函数的局部名称和外部名称的默认行为是不一样的。 + +Swift中的方法和Objective-C中的方法极其相似。像在Objective-C中一样,Swift中方法的名称通常用一个介词指向方法的第一个参数,比如:`with`,`for`,`by`等等。前面的`Counter`类的例子中`incrementBy`方法就是这样的。介词的使用让方法在被调用时能像一个句子一样被解读。Swift这种方法命名约定很容易落实,因为它是用不同的默认处理方法参数的方式,而不是用函数参数(来实现的)。 + +具体来说,Swift默认仅给方法的第一个参数名称一个局部参数名称;但是默认同时给第二个和后续的参数名称局部参数名称和外部参数名称。 +这个约定与典型的命名和调用约定相匹配,这与你在写Objective-C的方法时很相似。这个约定还让expressive method调用不需要再检查/限定参数名。 + +看看下面这个`Counter`的替换版本(它定义了一个更复杂的`incrementBy`方法): + +``` +class Counter { + var count: Int = 0 + func incrementBy(amount: Int, numberOfTimes: Int) { + count += amount * numberOfTimes + } +} +``` + +`incrementBy`方法有两个参数: `amount`和`numberOfTimes`。默认地,Swift只把`amount`当作一个局部名称,但是把`numberOfTimes`即看作本地名称又看作外部名称。下面调用这个方法: + +``` +let counter = Counter() +counter.incrementBy(5, numberOfTimes: 3) +// counter value is now 15 +``` + +你不必为第一个参数值再定义一个外部变量名:因为从函数名`incrementBy`已经能很清楚地看出它的目的/作用。但是第二个参数,就要被一个外部参数名称所限定,以便在方法被调用时让他目的/作用明确。 + +这种默认的行为能够有效的检查方法,比如你在参数numberOfTimes前写了个井号( `#` )时: + +``` +func incrementBy(amount: Int, #numberOfTimes: Int) { + count += amount * numberOfTimes +} +``` + +这种默认行为使上面代码意味着:在Swift中定义方法使用了与Objective-C同样的语法风格,并且方法将以自然表达式的方式被调用。 + +### 修改外部参数名称(Modifying External Parameter Name Behavior for Methods) + +有时为方法的第一个参数提供一个外部参数名称是非常有用的,尽管这不是默认的行为。你可以自己添加一个明确的外部名称;你也可以用一个hash符号作为第一个参数的前缀,然后用这个局部名字作为外部名字。 + +相反,如果你不想为方法的第二个及后续的参数提供一个外部名称,你可以通过使用下划线(`_`)作为该参数的显式外部名称来覆盖默认行为。 + +### `self`属性(The self Property) + +类型的每一个实例都有一个隐含属性叫做`self`,它完全等同于这个实力变量本身。你可以在一个实例的实例方法中使用这个隐含的`self`属性来引用当前实例。 + +上面例子中的`increment`方法可以被写成这样: +``` +func increment() { + self.count++ +} +``` + +实际上,你不必在你的代码里面经常写`self`。不论何时,在一个方法中使用一个已知的属性或者方法名称,如果你没有明确的写`self`,Swift假定你是指当前实例的属性或者方法。这种假定在上面的`Counter`中已经示范了:`Counter`中的三个实例方法中都使用的是`count`(而不是`self.count`) + +这条规则的主要例外发生在当实例方法的某个参数名称与实例的某个属性名称相同时。 +在这种情况下,参数名称享有优先权,并且在引用属性时必须使用一种更恰当(被限定更严格)的方式。 +你可以使用隐藏的`self`属性来区分参数名称和属性名称。 + +下面的例子演示了`self`消除方法参数`x`和实例属性`x`之间的歧义: + +``` +struct Point { + var x = 0.0, y = 0.0 + func isToTheRightOfX(x: Double) -> Bool { + return self.x > x + } +} +let somePoint = Point(x: 4.0, y: 5.0) +if somePoint.isToTheRightOfX(1.0) { + println("This point is to the right of the line where x == 1.0") +} +// prints "This point is to the right of the line where x == 1.0" +``` + +如果不使用`self`前缀,Swift就认为两次使用的`x`都指的是名称为`x`的函数参数。 + +### 在实例方法中修改值类型(Modifying Value Types from Within Instance Methods) + +结构体和枚举是**值类型**[Structures and Enumerations Are Value Types]("#")。一般情况下,值类型的属性不能在他的实例方法中被修改。 + +但是,如果你确实需要在某个具体的方法中修改结构体或者枚举的属性,你可以选择`变异(mutating)`这个方法。方法可以从内部变异它的属性;并且它做的任何改变在方法结束时都会回写到原始结构。方法会给它隐含的`self`属性赋值一个全新的实例,这个新实例在方法结束后将替换原来的实例。 + +要`变异`方法, 将关键字`mutating` 放到方法的`func`关键字之前就可以了: + +``` +struct Point { + var x = 0.0, y = 0.0 + mutating func moveByX(deltaX: Double, y deltaY: Double) { + x += deltaX + y += deltaY + } +} +var somePoint = Point(x: 1.0, y: 1.0) +somePoint.moveByX(2.0, y: 3.0) +println("The point is now at (\(somePoint.x), \(somePoint.y))") +// prints "The point is now at (3.0, 4.0)" +``` + +上面的Point结构体定义了一个变异方法(mutating method)`moveByX`,`moveByX`用来移动一个point。`moveByX`方法在被调用时修改了这个point,而不是返回一个新的point。方法定义是加上那个了`mutating`关键字,所以方法可以修改值类型的属性了。 + +注意:不能在结构体类型的常量上调用变异方法,因为常量的属性不能被改变,就算你想改变的是常量的可变属性也不行,参考[Stored Properties of Constant Structure Instances]("#") + +``` +let fixedPoint = Point(x: 3.0, y: 3.0) +fixedPoint.moveByX(2.0, y: 3.0) +// this will report an error +``` +### 在变异方法中给self赋值(Assigning to self Within a Mutating Method) + +变异方法能够赋给隐含属性`self`一个全新的实例。上面`Point`的例子可以用下面的方式改写: + +``` +struct Point { + var x = 0.0, y = 0.0 + mutating func moveByX(deltaX: Double, y deltaY: Double) { + self = Point(x: x + deltaX, y: y + deltaY) + } +} +``` + +新版的变异方法`moveByX`创建了一个新的分支结构(他的x和y的值都被设定为目标值了)。调用这个版本的方法和调用上个版本的最终结果是一样的。 + +枚举的变异方法可以让`self`从相同的枚举设置为不同的成员。 + +``` +enum TriStateSwitch { + case Off, Low, High + mutating func next() { + switch self { + case Off: + self = Low + case Low: + self = High + case High: + self = Off + } + } +} +var ovenLight = TriStateSwitch.Low +ovenLight.next() +// ovenLight is now equal to .High +ovenLight.next() +// ovenLight is now equal to .Off +``` + +上面的例子中定义了一个三态开关的枚举。每次调用`next`方法时,开关在不同的电源状态(`Off`,`Low`,`High`)之前循环切换。 + +### 类型方法(Type Methods) + +实例方法是被类型的某个实例调用的方法。你也可以定义类列本身调用的方法,这种方法就叫做**类型方法**。声明类的类型方法,在方法的`func`关键字之前加上关键字`class`;声明结构体和枚举的类型方法,在方法的`func`关键字之前加上关键字`static`。 + +> 注意: + +> 在Objective-C里面,你只能为Objective-C的类定义类型方法(type-level methods)。在Swift中,你可以为所有的类、结构体和枚举定义类型方法:Each type method is explicitly scoped to the type it supports. + +类型方法和实例方法一样用点语法调用。但是,你是在类型上调用这个方法,而不是在实例上调用。下面是如何在SomeClass类上调用类型方法的例子: + +``` +class SomeClass { + class func someTypeMethod() { + // type method implementation goes here + } +} +SomeClass.someTypeMethod() +``` + +在类型方法的方法体(body)中,`self`指向这个类型本身,而不是类型的某个实例。对于结构体和枚举来说,这意味着你可以用`self`来消除静态属性和静态方法参数之间的二意性(类似于我们在前面处理实例属性和实例方法参数时做的那样)。 + +一般地,在类型方法里面所使用的任何未限定的方法和属性名称,将会指向其他的类型级别的方法和属性。一个类型方法可以用另一个类型方法的名称调用踏,而无需在方法名称前面加上类型名称的前缀。同样,结构体和枚举的类型方法也能够直接通过静态属性的名称访问静态属性,而不需要类型名称前缀。 + +下面的例子定义了一个名为`LevelTracker`结构体。它监测玩家的发展情况(游戏的不同层次或阶段)。这是一个单人游戏,但也可以用作多玩家游戏中单个设备上的信息存储。 + +游戏初始时,所有的游戏等级(除了等级1)都被锁定。每次有玩家完成一个等级,这个等级就对这个设备上的所有玩家解锁。`LevelTracker`结构体用静态属性和方法监测游戏的哪个等级已经被解锁。他还监测每个玩家的当前等级。 + +``` +struct LevelTracker { + static var highestUnlockedLevel = 1 + static func unlockLevel(level: Int) { + if level > highestUnlockedLevel { highestUnlockedLevel = level } + } + static func levelIsUnlocked(level: Int) -> Bool { + return level <= highestUnlockedLevel + } + var currentLevel = 1 + mutating func advanceToLevel(level: Int) -> Bool { + if LevelTracker.levelIsUnlocked(level) { + currentLevel = level + return true + } else { + return false + } + } +} +``` + +`LevelTracker`监测玩家的已解锁的最高等级。这个值被存储在静态属性`highestUnlockedLevel`中。 + +`LevelTracker`还定义了两个类型方法与`highestUnlockedLevel`配合工作。第一个类型方法是`unlockLevel`:一旦新等级被解锁,它会更新`highestUnlockedLevel`的值。第二个类型方法是`levelIsUnlocked`:如果某个给定的等级已经被解锁,他返回`true`。(注意:我们没用使用`LevelTracker.highestUnlockedLevel`,这个类型方法还是能够访问静态属性`highestUnlockedLevel`) + +除了静态属性和类型方法,`LevelTracker`还监测每个玩家的进度。它用实例属性`currentLevel`来监测玩家当前正在进行的等级。 + +为了便于管理`currentLevel`属性,`LevelTracker`定义了实例方法`advanceToLevel`。这个方法会在更新`currentLevel`之前检查所请求的新等级是否已经解锁。`advanceToLevel`方法返回布尔值以指示是否确实能够设置`currentLevel`了。 + +下面,`Player`类使用`LevelTracker`来监测和更新每个玩家的发展进度: + +``` +class Player { + var tracker = LevelTracker() + let playerName: String + func completedLevel(level: Int) { + LevelTracker.unlockLevel(level + 1) + tracker.advanceToLevel(level + 1) + } + init(name: String) { + playerName = name + } +} +``` + +`Player`类创建一个新的`LevelTracker`实例来检测这个用户的发展进度。他提供了`completedLevel`方法:一旦玩家完成某个指定等级就调用它。这个方法为所有玩家解锁下一等级,并且将当前玩家的进度更新为下一等级。(我们忽略了`advanceToLevel`返回的布尔值,因为之前调用`LevelTracker.unlockLevel`时就知道了这个等级已经被解锁了) + +你还可以为一个新的玩家创建一个`Player`的实例,然后看这个玩家完成等级一时发生了什么: + +``` +var player = Player(name: "Argyrios") +player.completedLevel(1) +println("highest unlocked level is now \(LevelTracker.highestUnlockedLevel)") +// prints "highest unlocked level is now 2" +``` + +如果你创建了第二个玩家,并尝试让他开始一个没有被任何玩家解锁的等级,你试图去设置玩家当前等级时会失败的: + +``` +player = Player(name: "Beto") +if player.tracker.advanceToLevel(6) { +println("player is now on level 6") +} else { +println("level 6 has not yet been unlocked") +} +// prints "level 6 has not yet been unlocked" +``` + diff --git a/source/chapter2/12_Subscripts.md b/source/chapter2/12_Subscripts.md index e69de29b..078d7e0b 100644 --- a/source/chapter2/12_Subscripts.md +++ b/source/chapter2/12_Subscripts.md @@ -0,0 +1,161 @@ +# 下标 (Subscripts) + +下标可以定义在类(Class)、结构体(structures)和枚举(enumerations)这些目标中,可以认为是访问对象、集合或序列的快捷方式。举例来说,用下标访问一个数组(Array)实例中的元素可以这样写 `someArray[index]` ,访问字典(Dictionary)实例中的元素可以这样写 `someDictionary[key]`,而不需要再调用实例的某个方法来获得元素的值。 + +对于同一个目标可以定义多个下标,通过索引值类型的不同来进行重载,而且索引值的个数可以是多个。 + +> 译者:这里下标重载在本小节中原文并没有任何演示 + + +## 下标语法 + +下标允许你通过在实例后面的方括号中传入一个或者多个的索引值来对实例进行访问和赋值。语法类似于实例方法和实例属性的混合。与定义实例方法类似,定义下标使用`subscript`关键字,显式声明入参(一个或多个)和返回类型。与实例方法不同的是下标可以设定为读写或只读。这种方式又有点像实例属性的getter和setter: + +``` +subscript(index: Int) -> Int { + get { + // 返回与入参匹配的Int类型的值 + } + + set(newValue) { + // 执行赋值操作 + } +} +``` + +`newValue`的类型必须和下标定义的返回类型相同。与实例属性相同的是set的入参声明`newValue`就算不写,在set代码块中依然可以使用`newValue`这个变量来访问新赋的值。 + +与只读实例属性一样,可以直接将原本应该写在get代码块中的代码写在subscript中即可: + +``` +subscript(index: Int) -> Int { + // 返回与入参匹配的Int类型的值 +} +``` + +下面代码演示了一个在TimesTable结构体中使用只读下标的用法,该结构体用来展示传入整数的N倍。 + +``` +struct TimesTable { + let multiplier: Int + subscript(index: Int) -> Int { + return multiplier * index + } +} +let threeTimesTable = TimesTable(multiplier: 3) +println("3的6倍是\(threeTimesTable[6])") +// 输出 "3的6倍是18" +``` + +在上例中,通过TimesTable结构体创建了一个用来表示索引值三倍的实例。数值3作为结构体构造函数入参表示这个值将成为实例成员multiplier的值。 + +你可以通过下标来来得到结果,比如`threeTimesTable[6]`。这句话访问了threeTimesTable的第六个元素,返回18或者6的3倍。 + +> 提示 +> +> TimesTable例子是基于一个固定的数学公式。它并不适合开放写权限来对threeTimesTable[someIndex]进行赋值操作,这也是为什么下标只定义为只读的原因。 + + +## 下标用法 + +下标根据使用场景不同也具有不同的含义。通常下标是用来访问集合(collection),列表(list)或序列(sequence)中元素的快捷方式。你可以为特定的类或结构体中自由的实现下标来提供合适的功能。 + +例如,Swift的字典(Dictionary)实现了通过下标来对其实例中存放的值进行存取操作。在字典中设值可以通过给字典提供一个符合字典索引类型的索引值的表达式赋一个与字典存放值类型匹配的值来做到: + +``` +var numberOfLegs = ["spider": 8, "ant": 6, "cat": 4] +numberOfLegs["bird"] = 2 +``` + +上例定义一个名为numberOfLegs的变量并用一个字典表达式初始化出了包含三对键值的字典实例。numberOfLegs的字典存放值类型推断为`Dictionary`。字典实例创建完成之后通过下标的方式将整型值`2`赋值到字典实例的索引为`bird`的位置中。 + +更多关于字典(Dictionary)下标的信息请参考[字典的访问与修改](#) + +> 提示 +> +> Swift中Dictionary的下标实现中,在get部分返回值是`Int?`,也就是说不是每个字典的索引都能得到一个整型值,对于没有设过值的索引的访问返回的结果就是`nil`;同样想要从字典实例中删除某个索引下的值也只需要给这个索引赋值为`nil`即可。 + + +## 下标选项 + +下标允许任意数量的入参索引,并且每个入参类型也没有限制。下标的返回值也可以是任何类型。下标可以使用变量参数和可变参数,但使用in-out参数或给参数设置默认值都是不允许的。 + +一个类或结构体可以根据自身需要提供多个下标实现,在定义下标时通过入参个类型进行区分,使用下标时会自动匹配合适的下标实现运行,这就是下标的重载。 + +一个下标入参是最常见的情况,但只要有合适的场景也可以定义多个下标入参。如下例定义了一个Matrix结构体,将呈现一个Double类型的二维数组。Matrix结构体的下标需要两个整型参数: + +``` +struct Matrix { + let rows: Int, columns: Int + var grid: Double[] + init(rows: Int, columns: Int) { + self.rows = rows + self.columns = columns + grid = Array(count: rows * columns, repeatedValue: 0.0) + } + func indexIsValidForRow(row: Int, column: Int) -> Bool { + return row >= 0 && row < rows && column >= 0 && column < columns + } + subscript(row: Int, column: Int) -> Double { + get { + assert(indexIsValidForRow(row, column: column), "Index out of range") + return grid[(row * columns) + column] + } + set { + assert(indexIsValidForRow(row, column: column), "Index out of range") + grid[(row * columns) + columns] = newValue + } + } +} +``` + +Matrix提供了一个两个入参的构造方法,入参分别是`rows`和`columns`,创建了一个足够容纳rows * columns个数的Double类型数组。为了存储,将数组的大小和数组每个元素初始值0.0,都传入数组的构造方法中来创建一个正确大小的新数组。关于数组的构造方法和析构方法请参考[Creating and Initializing an Array](#)。 + +你可以通过传入合适的row和column的数量来构造一个新的Matrix实例: + +``` +var matrix = Matrix(rows: 2, columns: 2) +``` + +上例中创建了一个新的两行两列的Matrix实例。在阅读顺序从左上到右下的Matrix实例中的数组实例grid是矩阵二维数组的扁平化存储: + +``` +// 示意图 +grid = [0.0, 0.0, 0.0, 0.0] + + col0 col1 +row0 [0.0, 0.0, +row1 0.0, 0.0] +``` + +将值赋给带有row和column下标的matrix实例表达式可以完成赋值操作,下标入参使用逗号分割 + +``` +matrix[0, 1] = 1.5 +matrix[1, 0] = 3.2 +``` + +上面两句话分别让matrix的右上值为1.5,坐下值为3.2: + +``` +[0.0, 1.5, + 3.2, 0.0] +``` + +Matrix下标的getter和setter中同时调用了下标入参的row和column是否有效的判断。为了方便进行断言,Matrix包含了一个名为indexIsValid的成员方法,用来确认入参的row或column值是否会造成数组越界: + +``` +func indexIsValidForRow(row: Int, column: Int) -> Bool { + return row >= 0 && row < rows && column >= 0 && column < columns +} +``` + +断言在下标越界时触发: + +``` +let someValue = matrix[2, 2] +// 断言将会触发,因为 [2, 2] 已经超过了matrix的最大长度 +``` + +> 译者:这里有个词Computed Properties 这里统一翻译为实例属性了 微软术语引擎里没有这个词 + diff --git a/source/chapter2/13_Inheritance.md b/source/chapter2/13_Inheritance.md index e69de29b..7532056f 100644 --- a/source/chapter2/13_Inheritance.md +++ b/source/chapter2/13_Inheritance.md @@ -0,0 +1,247 @@ +# 继承 + +一个类可以继承另一个类的方法,属性和其它特性。当一个类继承其它类,继承类叫子类,被继承类叫超类(或父类)。在Swift中,继承是区分「类」与其它类型的一个基本特征。 + +在Swift中,类可以调用和访问超类的方法,属性和下标,并且可以重写(override)这些方法,属性和下标来优化或修改它们的行为。Swift会检查你的重写定义在超类中是否有匹配的定义,以此确保你的重写行为是正确的。 + +可以为类中继承来的属性添加属性观察器(property observer),这样一来,当属性值改变时,类就会被通知到。可以为任何属性添加属性观察器,无论它原本被定义为存储型属性(stored property)还是计算型属性(computed property)。 + +## 定义一个基类 + +不继承于其它类的类,称之为基类。 + +> 注意:Swift中的类并不是从一个通用的基类继承而来。如果你不为你定义的类指定一个超类的话,这个类就自动成为基类。 + +下面的例子定义了一个叫`Vehicle`的基类。这个基类声明了两个对所有车辆都通用的属性(`numberOfWheels`和`maxPassengers`)。这些属性在`description`方法中使用,这个方法返回一个`String`类型的,对车辆特征的描述: + +``` +class Vehicle { + var numberOfWheels: Int + var maxPassengers: Int + func description() -> String { + return "\(numberOfWheels) wheels; up to \(maxPassengers) passengers" + } + init() { + numberOfWheels = 0 + maxPassengers = 1 + } +} +``` + +`Vehicle`类定义了初始化器(initializer)来设置属性的值。初始化器会在[构造函数]()一节中详细介绍,这里我们做一下简单介绍,以便于讲解子类中继承来的属性可以如何被修改。 + +初始化器用于创建某个类型的一个新实例。尽管初始化器并不是方法,但在语法上,两者很相似。初始化器的工作是准备新实例以供使用,并确保实例中的所有属性都拥有有效的初始化值。 + +初始化器的最简单形式就像一个没有参数的实例方法,使用`init`关键字: + +``` +init() { + // perform some initialization here +} +``` + +如果要创建一个`Vehicle`类的新实例,使用初始化器语法调用上面的初始化器,即类名后面跟一个空的小括号: + +``` +let someVehicle = Vehicle() +``` + +这个`Vehicle`类的初始化器为任意的一辆车设置一些初始化属性值(`numberOfWheels = 0 `和`maxPassengers = 1`)。 + +`Vehicle`类定义了车辆的共同特性,但这个类本身并没太大用处。为了使它更为实用,你需要进一步细化它来描述更具体的车辆。 + +## Subclassing(子类化?待定) + +subclassing指的是在一个已有类的基础上创建一个新的类。子类继承超类的特性,并且你可以优化或改变它。你还可以为子类添加新的特性。 + +为了指明某个类的超类,将超类名写在子类名的后面,用冒号分隔: + +``` +class SomeClass: SomeSuperclass { + // class definition goes here +} +``` +下一个例子,定义一个更具体的车辆类叫`Bicycle`。这个新类是在`Vehicle`类的基础上创建起来。因此你需要将`Vehicle`类放在`Bicycle`类后面,用冒号分隔。 + +我们可以将这读作: + +“定义一个新的类叫`Bicycle`,它继承了`Vehicle`的特性”; + +``` +class Bicycle: Vehicle { + init() { + super.init() + numberOfWheels = 2 + } +} +``` +`Bicycle`是`Vehicle`的子类,`Vehicle`是`Bicycle`的超类。新的`Bicycle`类自动获得`Vehicle`类的特性,比如`maxPassengers`和`numberOfWheels`属性。你可以在子类中定制这些特性,或添加新的特性来更好地描述`Bicycle`类。 + +`Bicycle`类定义了一个初始化器来设置它定制的特性(自行车只有2个轮子)。`Bicycle`的初始化器调用了它父类`Vehicle`的初始化器`super.init()`,以此确保在`Bicycle`类试图修改那些继承来的属性前,`Vehicle`类已经初始化过它们了。 + +> 注意:不像Objective-C,在Swift中,初始化器默认是不继承的,见[初始化器的继承与重写]() + +`Vehicle`类中`maxPassengers`的默认值对自行车来说已经是正确的,因此在`Bicycle`的初始化器中并没有改变它。而`numberOfWheels`原来的值对自行车来说是不正确的,因此在初始化器中将它更改为2。 + +`Bicycle`不仅可以继承`Vehicle`的属性,还可以继承它的方法。如果你创建了一个`Bicycle`类的实例,你就可以调用它继承来的`description`方法,并且可以看到,它输出的属性值已经发生了变化: + +``` +let bicycle = Bicycle() +println("Bicycle: \(bicycle.description())") +// Bicycle: 2 wheels; up to 1 passengers +``` + +子类还可以继续被其它类继承: + +``` +class Tandem: Bicycle { + init() { + super.init() + maxPassengers = 2 + } +} +``` + +上面的例子创建了`Bicycle`的一个子类:双人自行车(tandem)。`Tandem`从`Bicycle`继承了两个属性,而这两个属性是`Bicycle`从`Vehicle`继承而来的。`Tandem`并不修改轮子的数量,因为它仍是一辆自行车,有2个轮子。但它需要修改`maxPassengers`的值,因为双人自行车可以坐两个人。 + +> 注意:子类只允许修改从超类继承来的变量属性,而不能修改继承来的常量属性。 + +创建一个`Tandem`类的实例,打印它的描述,即可看到它的属性已被更新: + +``` +let tandem = Tandem() +println("Tandem: \(tandem.description())") +// Tandem: 2 wheels; up to 2 passengers +``` + +注意,`Tandem`类也继承了`description`方法。一个类的实例方法会被这个类的所有子类继承。 + +## 重写(Overriding) + +子类可以为继承来的实例方法(instance method),类方法(class method),实例属性(instance property),或下标(subscript)提供自己定制的实现(implementation)。我们把这种行为叫重写(overriding)。 + +如果要重写某个特性,你需要在重写定义的前面加上`override`关键字。这么做,你就表明了你是想提供一个重写版本,而非错误地提供了一个相同的定义。意外的重写行为可能会导致不可预知的错误,任何缺少`override`关键字的重写都会在编译时被诊断为错误。 + +`override`关键字会提醒Swift编译器去检查该类的超类(或其中一个父类)是否有匹配重写版本的声明。这个检查可以确保你的重写定义是正确的。 + +### 访问超类的方法,属性及下标 + +当你在子类中重写超类的方法,属性或下标时,有时在你的重写版本中使用已经存在的超类实现会大有裨益。比如,你可以优化已有实现的行为,或在一个继承来的变量中存储一个修改过的值。 + +在合适的地方,你可以通过使用`super`前缀来访问超类版本的方法,属性或下标: + +* 在方法`someMethod`的重写实现中,可以通过`super.someMethod()`来调用超类版本的`someMethod`方法。 +* 在属性`someProperty`的getter或setter的重写实现中,可以通过`super.someProperty`来访问超类版本的`someProperty`属性。 +* 在下标的重写实现中,可以通过`super[someIndex]`来访问超类版本中的相同下标。 + +### 重写方法 + +在子类中,你可以重写继承来的实例方法或类方法,提供一个定制或替代的方法实现。 + +下面的例子定义了`Vehicle`的一个新的子类,叫`Car`,它重写了从`Vehicle`类继承来的'description'方法: + +``` +class Car: Vehicle { + var speed: Double = 0.0 + init() { + super.init() + maxPassengers = 5 + numberOfWheels = 4 + } + override func description() -> String { + return super.description() + "; " + + "traveling at \(speed) mph" + } +} +``` + +`Car`声明了一个新的存储型属性`speed`,它是`Double`类型的,默认值是`0.0`,表示“时速是0英里”。'Car'有自己的初始化器,它将乘客的最大数量设为5,轮子数量设为4。 + +`Car`重写了继承来的`description`方法,它的声明与`Vehicle`中的`description`方法一致,声明前面加上了`override`关键字。 + +`Car`中的`description`方法并非完全自定义,而是通过`super.description`使用了超类`Vehicle`中的`description`方法,然后再追加一些额外的信息,比如汽车的当前速度。 + +如果你创建一个`Car`的新实例,并打印`description`方法的输出,你就会发现描述信息已经发生了改变: + +``` +let car = Car() +println("Car: \(car.description())") +// Car: 4 wheels; up to 5 passengers; traveling at 0.0 mph +``` + +### 重写属性 + +你可以重写继承来的实例属性或类属性,提供自己定制的getter和setter,或添加属性观察器使重写的属性观察属性值什么时候发生改变。 + +#### 重写属性的Getters和Setters + +你可以提供定制的getter(或setter)来重写任意继承来的属性,无论继承来的属性是存储型的还是计算型的属性。子类并不知道继承来的属性是存储型的还是计算型的,它只知道继承来的属性会有一个名字和类型。你在重写一个属性时,必需将它的名字和类型都写出来。这样才能使编译器去检查你重写的属性是与超类中同名同类型的属性相匹配的。 + +你可以将一个继承来的只读属性重写为一个读写属性,只需要你在重写版本的属性里提供getter和setter即可。但是,你不可以将一个继承来的读写属性重写为一个只读属性。 + +> 注意:如果你在重写属性中提供了setter,那么你也一定要提供getter。如果你不想在重写版本中的getter里修改继承来的属性值,你可以直接返回`super.someProperty`来返回继承来的值。正如下面的`SpeedLimitedCar`的例子所示。 + +以下的例子定义了一个新类,叫`SpeedLimitedCar`,它是`Car`的子类。类`SpeedLimitedCar`表示安装了限速装置的车,它的最高速度只能达到40mph。你可以通过重写继承来的`speed`属性来实现这个速度限制: + +``` +class SpeedLimitedCar: Car { + override var speed: Double { + get { + return super.speed + } + set { + super.speed = min(newValue, 40.0) + } + } +} +``` + +当你设置一个`SpeedLimitedCar`实例的`speed`属性时,属性setter的实现会去检查新值与限制值40mph的大小,它会将超类的`speed`设置为`newValue`和`40.0`中较小的那个。这两个值哪个较小由`min`函数决定,它是Swift标准库中的一个全局函数。`min`函数接收两个或更多的数,返回其中最小的那个。 + +如果你尝试将`SpeedLimitedCar`实例的`speed`属性设置为一个大于40mph的数,然后打印`description`函数的输出,你会发现速度被限制在40mph: + +``` +let limitedCar = SpeedLimitedCar() +limitedCar.speed = 60.0 +println("SpeedLimitedCar: \(limitedCar.description())") +// SpeedLimitedCar: 4 wheels; up to 5 passengers; traveling at 40.0 mph +``` + +#### 重写属性观察器(Property Observer) + +你可以在属性重写中为一个继承来的属性添加属性观察器。这样一来,当继承来的属性值发生改变时,你就会被通知到,无论那个属性原本是如何实现的。关于属性观察器的更多内容,请看[属性观察器]()。 + +> 注意:你不可以为继承来的常量存储型属性或继承来的只读计算型属性添加属性观察器。这些属性的值是不可以被设置的,所以,为它们提供willSet或didSet实现是不恰当。此外还要注意,你不可以同时提供重写的setter和重写的属性观察器。如果你想观察属性值的变化,并且你已经为那个属性提供了定制的setter,那么你在setter中就可以观察到任何值变化了。 + +下面的例子定义了一个新类叫`AutomaticCar`,它是`Car`的子类。`AutomaticCar`表示自动挡汽车,它可以根据当前的速度自动选择合适的挡位。`AutomaticCar`也提供了定制的`description`方法,可以输出当前挡位。 + +``` +class AutomaticCar: Car { + var gear = 1 + override var speed: Double { + didSet { + gear = Int(speed / 10.0) + 1 + } + } + override func description() -> String { + return super.description() + " in gear \(gear)" + } +} +``` + +当你设置`AutomaticCar`的`speed`属性,属性的didSet观察器就会自动地设置`gear`属性,为新的速度选择一个合适的挡位。具体来说就是,属性观察器将新的速度值除以10,然后向下取得最接近的整数值,最后加1来得到档位`gear`的值。例如,速度为10.0时,挡位为1;速度为35.0时,挡位为4: + +``` +let automatic = AutomaticCar() +automatic.speed = 35.0 +println("AutomaticCar: \(automatic.description())") +// AutomaticCar: 4 wheels; up to 5 passengers; traveling at 35.0 mph in gear 4 +``` + +## 防止重写 + +你可以通过把方法,属性或下标标记为`final`来防止它们被重写,只需要在声明关键字前加上`@final`特性即可。(例如:`@final var`, `@final func`, `@final class func`, 以及 `@final subscript`) + +如果你重写了final方法,属性或下标,在编译时会报错。在扩展中,你添加到类里的方法,属性或下标也可以在扩展的定义里标记为final。 + +你可以通过在关键字`class`前添加`@final`特性(`@final class`)来将整个类标记为final的,这样的类是不可被继承的,否则会报编译错误。 diff --git a/source/chapter2/15_Deinitialization.md b/source/chapter2/15_Deinitialization.md index e69de29b..796ea4c9 100644 --- a/source/chapter2/15_Deinitialization.md +++ b/source/chapter2/15_Deinitialization.md @@ -0,0 +1,88 @@ +#析构过程 + +在一个类的实例被释放之前,析构函数被立即调用。用关键字deinit来标示析构函数,类似于初始化函数用init来标示。析构函数只适用于类类型。 + + +##析构过程原理 + +Swift会自动释放不再需要的实例以释放资源。如自动引用计数那一章描述,Swift通过自动引用计数(ARC)处理实例的内存管理。通常当你的实例被释放时不需要手动的去清理。但是,当使用自己的资源时,你可能需要进行一些额外的清理。例如,如果创建了一个自定义的类来打开一个文件,并写入一些数据,你可能需要在类实例被释放之前关闭该文件。 + +在类的定义中,每个类最多只能有一个析构函数。析构函数不带任何参数,在写法上不带括号: + + 1 deinit { + 2 // 执行析构过程 + 3 } + +析构函数是在实例释放发生前一步被自动调用。不允许主动调用自己的析构函数。子类继承了父类的析构函数,并且在子类析构函数实现的最后,父类的析构函数被自动调用。即使子类没有提供自己的析构函数,父类的析构函数也总是被调用。 + +因为直到实例的析构函数被调用时,实例才会被释放,所以析构函数可以访问所有请求实例的属性,并且根据那些属性可以修改它的行为(比如查找一个需要被关闭的文件的名称)。 + +##析构函数操作 + +这里是一个析构函数操作的例子。这个例子是一个简单的游戏,定义了两种新类型,Bank和Player。Bank结构体管理一个虚拟货币的流通,在这个流通中Bank永远不可能拥有超过10,000的硬币。在这个游戏中有且只能有一个Bank存在,因此Bank由带有静态属性和静态方法的结构体实现,从而存储和管理其当前的状态。 + + 1 struct Bank { + 2 static var coinsInBank = 10_000 + 3 static func vendCoins(var numberOfCoinsToVend: Int) -> Int { + 4 numberOfCoinsToVend = min(numberOfCoinsToVend, coinsInBank) + 5 coinsInBank -= numberOfCoinsToVend + 6 return numberOfCoinsToVend + 7 } + 8 static func receiveCoins(coins: Int) { + 9 coinsInBank += coins + 10 } + 11 } + +Bank根据它的coinsInBank属性来跟踪当前它拥有的硬币数量。银行还提供两个方法—vendCoins和receiveCoins,用来处理硬币的分发和收集。 + +vendCoins方法在bank分发硬币之前检查是否有足够的硬币。如果没有足够多的硬币,bank返回一个比请求时小的数字(如果没有硬币留在bank中就返回0)。vendCoins方法声明numberOfCoinsToVend为一个变量参数,这样就可以在方法体的内部修改数字,而不需要定义一个新的变量。vendCoins方法返回一个整型值,表明了提供的硬币的实际数目。 + +receiveCoins方法只是将bank的硬币存储和接收到的硬币数目相加,再保存回bank。 + +Player类描述了游戏中的一个玩家。每一个player在任何时刻都有一定数量的硬币存储在他们的钱包中。这通过player的coinsInPurse属性来体现: + + 1 class Player { + 2 var coinsInPurse: Int + 3 init(coins: Int) { + 4 coinsInPurse = Bank.vendCoins(coins) + 5 } + 6 func winCoins(coins: Int) { + 7 coinsInPurse += Bank.vendCoins(coins) + 8 } + 9 deinit { + 10 Bank.receiveCoins(coinsInPurse) + 11 } + 12 } + + +每个Player实例都由一个指定数目硬币组成的启动额度初始化,这些硬币在bank初始化的过程中得到。如果没有足够的硬币可用,Player实例可能收到比指定数目少的硬币。 + +Player类定义了一个winCoins方法,该方法从bank获取一定数量的硬币,并把它们添加到player的钱包。Player类还实现了一个析构函数,这个析构函数在Player实例释放前一步被调用。这里析构函数只是将player的所有硬币都返回给bank: + + 1 var playerOne: Player? = Player(coins: 100) + 2 println("A new player has joined the game with \ (playerOne!.coinsInPurse) coins") + 3 // 输出 "A new player has joined the game with 100 coins" + 4 println("There are now \(Bank.coinsInBank) coins left in the bank") + 5 // 输出 "There are now 9900 coins left in the bank" + +一个新的Player实例随着一个100个硬币(如果有)的请求而被创建。这个Player实例存储在一个名为playerOne的可选Player变量中。这里使用一个可选变量,是因为players可以随时离开游戏。设置为可选使得你可以跟踪当前是否有player在游戏中。 + +因为playerOne是可选的,所以由一个感叹号(!)来修饰,每当其winCoins方法被调用时,coinsInPurse属性被访问并打印出它的默认硬币数目。 + + 1 playerOne!.winCoins(2_000) + 2 println("PlayerOne won 2000 coins & now has \ (playerOne!.coinsInPurse) coins") + 3 // 输出 "PlayerOne won 2000 coins & now has 2100 coins" + 4 println("The bank now only has \(Bank.coinsInBank) coins left") + 5 // 输出 "The bank now only has 7900 coins left" + +这里,player已经赢得了2,000硬币。player的钱包现在有2,100硬币,bank只剩余7,900硬币。 + + 1 playerOne = nil + 2 println("PlayerOne has left the game") + 3 // 输出 "PlayerOne has left the game" + 4 println("The bank now has \(Bank.coinsInBank) coins") + 5 // 输出 "The bank now has 10000 coins" + +player现在已经离开了游戏。这表明是要将可选的playerOne变量设置为nil,意思是"没有Player实例"。当这种情况发生的时候,playerOne变量对Player实例的引用被破坏了。没有其它属性或者变量引用Player实例,因此为了清空它占用的内存从而释放它。在这发生前一步,其析构函数被自动调用,其硬币被返回到bank。 + + diff --git a/source/chapter2/17_Optional_Chaining.md b/source/chapter2/17_Optional_Chaining.md index e69de29b..1fc7100b 100644 --- a/source/chapter2/17_Optional_Chaining.md +++ b/source/chapter2/17_Optional_Chaining.md @@ -0,0 +1,270 @@ +#Optional Chaining + +可选链(Optional Chaining)是一种可以请求和调用属性、方法及子脚本的过程,它的自判断性体现于请求或调用的目标当前可能为空(`nil`)。如果自判断的目标有值,那么调用就会成功;相反,如果选择的目标为空(`nil`),则这种调用将返回空(`nil`)。多次请求或调用可以被链接在一起形成一个链,如果任何一个节点为空(`nil`)将导致整个链失效。 + +> 笔记: +`Swift`的自判断链和Objective-C中的消息为空有些相像,但是`Swift`可以使用在任意类型中,并且失败与否可以被检测到。 + +## 可选链可替代强制解析 + +通过在想调用的属性、方法、或子脚本的自判断值(`optional value`)(非空)后面放一个问号,可以定义一个可选链。这一点很像在自判断值后面放一个声明符号来强制拆得其封包内的值。他们的主要的区别在于当自判断值为空时可选链即刻失败,然而一般的强制解析将会引发运行时错误。 + +为了反映可选链可以调用空(`nil`),不论你调用的属性、方法、子脚本等返回的值是不是自判断值,它的返回结果都是一个自判断值。你可以利用这个返回值来检测你的可选链是否调用成功,有返回值即成功,返回nil则失败。 + +调用可选链的返回结果与原本的返回结果具有相同的类型,但是原本的返回结果被包装成了一个自判断值,当可选链调用成功时,一个应该返回`Int`的属性将会返回`Int?`。 + +下面几段代码将解释可选链和强制解析的不同。 + +首先定义两个类`Person`和`Residence`。 + + class Person { + var residence: Residence? + } + + class Residence { + var numberOfRooms = 1 + } + +`Residence`具有一个`Int`类型的`numberOfRooms`,其值为1。`Person`具有一个自判断`residence`属性,它的类型是`Residence?`。 + +如果你创建一个新的Person实例,它的residence属性由于是被定义为自判断型的,此属性将默认初始化为空: + + let john = Person() + +如果你想使用声明符!强制解析获得这个人`residence`属性`numberOfRooms`属性值,将会引发运行时错误,因为这时没有可以供解析的`residence`值。 + + let roomCount = john.residence!.numberOfRooms + // this triggers a runtime error” + //将导致运行时错误 +当`john.residence`不是`nil`时,会运行通过,且会将`roomCount` 设置为一个`int`类型的合理值。然而,如上所述,当`residence`为空时,这个代码将会导致运行时错误。 + +可选链提供了一种另一种获得numberOfRooms的方法。利用可选链,使用问号来代替原来`!`的位置: + + if let roomCount = john.residence?.numberOfRooms { + println("John's residence has \(roomCount) room(s).") + } else { + println("Unable to retrieve the number of rooms.") + } + // 打印 "Unable to retrieve the number of rooms. + + +这告诉Swift来链接自判断`residence?`属性,如果`residence`存在则取回`numberOfRooms`的值。 + +因为这种尝试获得`numberOfRooms`的操作有可能失败,可选链会返回`Int?`类型值,或者称作“自判断`Int`”。当`residence`是空的时候(上例),选择`Int`将会为空,因此会出先无法访问`numberOfRooms`的情况。 + +要注意的是,即使numberOfRooms是非自判断`Int`(`Int?`)时这一点也成立。只要是通过可选链的请求就意味着最后`numberOfRooms`总是返回一个`Int?`而不是`Int`。 + +你可以自己定义一个`Residence`实例给`john.residence`,这样它就不再为空了: + + john.residence = Residence() + +`john.residence` 现在有了实际存在的实例而不是nil了。如果你想使用和前面一样的可选链来获得`numberOfRoooms`,它将返回一个包含默认值1的`Int?`: + + if let roomCount = john.residence?.numberOfRooms { + println("John's residence has \(roomCount) room(s).") + } else { + println("Unable to retrieve the number of rooms.") + } + // 打印 "John's residence has 1 room(s)"。 + + +##为可选链定义模型类 + +你可以使用可选链来多层调用属性,方法,和子脚本。这让你可以利用它们之间的复杂模型来获取更底层的属性,并检查是否可以成功获取此类底层属性。 + +后面的代码定义了四个将在后面使用的模型类,其中包括多层可选链。这些类是由上面的`Person`和`Residence`模型通过添加一个`Room`和一个`Address`类拓展来。 + +`Person`类定义与之前相同。 + + class Person { + var residence: Residence? + } + +`Residence`类比之前复杂些。这次,它定义了一个变量 `rooms`,它被初始化为一个`Room[]`类型的空数组: + + class Residence { + var rooms = Room[]() + var numberOfRooms: Int { + return rooms.count + } + subscript(i: Int) -> Room { + return rooms[i] + } + func printNumberOfRooms() { + println("The number of rooms is \(numberOfRooms)") + } + var address: Address? + } + +因为`Residence`存储了一个`Room`实例的数组,它的`numberOfRooms`属性值不是一个固定的存储值,而是通过计算而来的。`numberOfRooms`属性值是由返回`rooms`数组的`count`属性值得到的。 + +为了能快速访问`rooms`数组,`Residence`定义了一个只读的子脚本,通过插入数组的元素角标就可以成功调用。如果该角标存在,子脚本则将该元素返回。 + +`Residence`中也提供了一个`printNumberOfRooms`的方法,即简单的打印房间个数。 + +最后,`Residence`定义了一个自判断属性叫`address`(`address?`)。`Address`类的属性将在后面定义。 +用于`rooms`数组的`Room`类是一个很简单的类,它只有一个`name`属性和一个设定`room`名的初始化器。 + + class Room { + let name: String + init(name: String) { self.name = name } + } + + +这个模型中的最终类叫做`Address`。它有三个自判断属性他们额类型是`String?`。前面两个自判断属性`buildingName`和 `buildingNumber`作为地址的一部分,是定义某个建筑物的两种方式。第三个属性`street`,用于命名地址的街道名: + + class Address { + var buildingName: String? + var buildingNumber: String? + var street: String? + func buildingIdentifier() -> String? { + if buildingName { + return buildingName + } else if buildingNumber { + return buildingNumber + } else { + return nil + } + } + } + +`Address`类还提供了一个`buildingIdentifier`的方法,它的返回值类型为`String?`。这个方法检查`buildingName`和`buildingNumber`的属性,如果`buildingName`有值则将其返回,或者如果`buildingNumber`有值则将其返回,再或如果没有一个属性有值,返回空。 + +##通过可选链调用属性 + +正如上面“ [可选链可替代强制解析]()”中所述,你可以利用可选链的自判断值获取属性,并且检查属性是否获取成功。然而,你不能使用可选链为属性赋值。 + +使用上述定义的类来创建一个人实例,并再次尝试后去它的`numberOfRooms`属性: + + let john = Person() + if let roomCount = john.residence?.numberOfRooms { + println("John's residence has \(roomCount) room(s).") + } else { + println("Unable to retrieve the number of rooms.") + } + // 打印 "Unable to retrieve the number of rooms。 + +由于`john.residence`是空,所以这个可选链和之前一样失败了,但是没有运行时错误。 + +##通过可选链调用方法 + +你可以使用可选链的来调用自判断值的方法并检查方法调用是否成功。即使这个方法没有返回值,你依然可以使用可选链来达成这一目的。 + +Residence的printNumberOfRooms方法会打印numberOfRooms的当前值。方法如下: + + func printNumberOfRooms(){ + println(“The number of rooms is \(numberOfRooms)”) + } + +这个方法没有返回值。但是,没有返回值类型的函数和方法有一个隐式的返回值类型`Void`(参见Function Without Return Values)。 + +如果你利用可选链调用此方法,这个方法的返回值类型将是`Void?`,而不是`Void`,因为当通过可选链调用方法时返回值总是自判断类型(optional type)。,即使是这个方法本是没有定义返回值,你也可以使用`if`语句来检查是否能成功调用`printNumberOfRooms`方法:如果方法通过可选链调用成功,`printNumberOfRooms`的隐式返回值将会是`Void`,如果没有成功,将返回`nil`: + + if john.residence?.printNumberOfRooms() { + println("It was possible to print the number of rooms.") + } else { + println("It was not possible to print the number of rooms.") + } + // 打印 "It was not possible to print the number of rooms."。 + +##使用可选链调用子脚本 + +你可以使用可选链来尝试从子脚本获取值并检查子脚本的调用是否成功,然而,你不能通过可选链来设置子代码。 + +> 注意: +当你使用可选链来获取子脚本的时候,你应该将问号放在子脚本括号的前面而不是后面。可选链的问号一般直接跟在自判断表达语句的后面。 + +下面这个例子用在`Residence`类中定义的子脚本来获取`john.residence`数组中第一个房间的名字。因为`john.residence`现在是`nil`,子脚本的调用失败了。 + + if let firstRoomName = john.residence?[0].name { + println("The first room name is \(firstRoomName).") + } else { + println("Unable to retrieve the first room name.") + } + // 打印 "Unable to retrieve the first room name."。 + +在子代码调用中可选链的问号直接跟在`john.residence`的后面,在子脚本括号的前面,因为`john.residence`是可选链试图获得的自判断值。 + +如果你创建一个`Residence`实例给`john.residence`,且在他的`rooms`数组中有一个或多个`Room`实例,那么你可以使用可选链通过`Residence`子脚本来获取在`rooms`数组中的实例了: + + let johnsHouse = Residence() + johnsHouse.rooms += Room(name: "Living Room") + johnsHouse.rooms += Room(name: "Kitchen") + john.residence = johnsHouse + + if let firstRoomName = john.residence?[0].name { + println("The first room name is \(firstRoomName).") + } else { + println("Unable to retrieve the first room name.") + } + // 打印 "The first room name is Living Room."。 + +##连接多层链接 + +你可以将多层可选链连接在一起,可以掘取模型内更下层的属性方法和子脚本。然而多层可选链不能再添加比已经返回的自判断值更多的层。 +也就是说: + +如果你试图获得的类型不是自判断类型,由于使用了可选链它将变成自判断类型。 +如果你试图获得的类型已经是自判断类型,由于可选链它也不会提高自判断性。 + +因此: + +如果你试图通过可选链获得`Int`值,不论使用了多少层链接返回的总是`Int?`。 +相似的,如果你试图通过可选链获得`Int?`值,不论使用了多少层链接返回的总是`Int?`。 + +下面的例子试图获取`john`的`residence`属性里的`address`的`street`属性。这里使用了两层可选链来联系`residence`和`address`属性,他们两者都是自判断类型: + + if let johnsStreet = john.residence?.address?.street { + println("John's street name is \(johnsStreet).") + } else { + println("Unable to retrieve the address.") + } + // 打印 "Unable to retrieve the address.”。 + +`john.residence`的值现在包含一个`Residence`实例,然而`john.residence.address`现在是`nil`,因此`john.residence?.address?.street`调用失败。 + +从上面的例子发现,你试图获得`street`属性值。这个属性的类型是`String?`。因此尽管在自判断类型属性前使用了两层可选链,`john.residence?.address?.street`的返回值类型也是`String?`。 + +如果你为`Address`设定一个实例来作为`john.residence.address`的值,并为`address`的`street`属性设定一个实际值,你可以通过多层可选链来得到这个属性值。 + + let johnsAddress = Address() + johnsAddress.buildingName = "The Larches" + johnsAddress.street = "Laurel Street" + john.residence!.address = johnsAddress + + if let johnsStreet = john.residence?.address?.street { + println("John's street name is \(johnsStreet).") + } else { + println("Unable to retrieve the address.") + } + // 打印 "John's street name is Laurel Street."。 + +值得注意的是,“`!`”符的在定义`address`实例时的使用(`john.residence.address`)。`john.residence`属性是一个自判断类型,因此你需要在它获取`address`属性之前使用`!`解析以获得它的实际值。 + +##链接自判断返回值的方法 + +前面的例子解释了如何通过可选链来获得自判断类型属性值。你也可以通过调用返回自判断类型值的方法并按需链接方法的返回值。 + +下面的例子通过可选链调用了`Address`类中的`buildingIdentifier` 方法。这个方法的返回值类型是`String?`。如上所述,这个方法在可选链调用后最终的返回值类型依然是`String?`: + + if let buildingIdentifier = john.residence?.address?.buildingIdentifier() { + println("John's building identifier is \(buildingIdentifier).") + } + // 打印 "John's building identifier is The Larches."。 + +如果你还想进一步对方法返回值执行可选链,将可选链问号符放在方法括号的后面: + + if let upper = john.residence?.address?.buildingIdentifier()?.uppercaseString { + println("John's uppercase building identifier is \(upper).") + } + // 打印 "John's uppercase building identifier is THE LARCHES."。 + +> 注意: +在上面的例子中,你将可选链问号符放在括号后面是因为你想要链接的自判断值是`buildingIdentifier`方法的返回值,不是`buildingIdentifier`方法本身。 + + + + + + + diff --git a/source/chapter2/18_Type_Casting.md b/source/chapter2/18_Type_Casting.md index e69de29b..b93c45fe 100644 --- a/source/chapter2/18_Type_Casting.md +++ b/source/chapter2/18_Type_Casting.md @@ -0,0 +1,293 @@ +#类型检查(Type Casting) + +(ps:为了方便各位检验所以保留了英文,可删。) + _类型检查_是一种检查类实例的方式,并且哦或者也是让实例作为它的父类或者子类的一种方式。 + + _Type casting_ is a way to check the type of an instance, and/or to treat that instance as if it is a different superclass or subclass from somewhere else in its own class hierarchy. + + 类型检查在Swift中使用`is` 和 `as`操作符实现。这两个操作符提供了一种简单达意的方式去检查值的类型或者转换它的类型。 + + Type casting in Swift is implemented with the `is` and `as` operators. These two operators provide a simple and expressive way to check the type of a value or cast a value to a different type. + + 你也可以用来检查一个类是否实现了某个协议,就像在 [Protocols》Checking for Protocol Conformance](Protocols.html#//apple_ref/doc/uid/TP40014097-CH25-XID_363)部分讲述的一样。 + + You can also use type casting to check whether a type conforms to a protocol, as described in [Checking for Protocol Conformance](Protocols.html#//apple_ref/doc/uid/TP40014097-CH25-XID_363). +### 定义一个类层次作为例子Defining a Class Hierarchy for Type Casting + + 你可以将它用在类和子类的层次结构上,检查特定类实例的类型并且转换这个类实例的类型成为这个层次结构中的其他类型。这下面的三个代码段定义了一个类层次和一个array包含了几个这些类的实例,作为类型检查的例子。 + + You can use type casting with a hierarchy of classes and subclasses to check the type of a particular class instance and to cast that instance to another class within the same hierarchy. The three code snippets below define a hierarchy of classes and an array containing instances of those classes, for use in an example of type casting. + + 第一个代码片段定义了一个新的基础类`MediaItem`。这个类为任何出现在数字媒体库的项提供基础功能。特别的,它声明了一个 `String` 类型的 `name` 属性,和一个`init name`初始化器。(它假定所有的媒体项都有个名称。) + + The first snippet defines a new base class called `MediaItem`. This class provides basic functionality for any kind of item that appears in a digital media library. Specifically, it declares a `name` property of type `String`, and an `init name` initializer. (It is assumed that all media items, including all movies and songs, will have a name.) + + class MediaItem { + var name: String + init(name: String) { + self.name = name + } + } + + 下一个代码段定义了 `MediaItem` 的两个子类。第一个子类`Movie`,在父类(或者说基类)的基础上增加了一个 `director`(导演) 属性,和相应的初始化器。第二个类在父类的基础上增加了一个 `artist`(艺术家) 属性,和相应的初始化器: + + The next snippet defines two subclasses of `MediaItem`. The first subclass, `Movie`, encapsulates additional information about a movie or film. It adds a `director` property on top of the base `MediaItem` class, with a corresponding initializer. The second subclass, `Song`, adds an `artist` property and initializer on top of the base class: + + class Movie: MediaItem { + var director: String + init(name: String, director: String) { + self.director = director + super.init(name: name) + } + } + + class Song: MediaItem { + var artist: String + init(name: String, artist: String) { + self.artist = artist + super.init(name: name) + } + } + + 最后一个代码段创建了一个array常量 `library` ,包含两个`Movie`实例和三个`Song`实例。`library`的类型是在它被初始化时根据它的array标记符和里面的内容(ps: literal: 标记符其实就是指“[”和“]”,虽然苹果官方的翻译里翻译为字面当总感觉不好理解,有点奇怪。不如翻译为标记符)推断来的。Swift的类型检测器能够演绎出`Movie` 和 `Song` 有共同的父类 `MediaItem` ,所以它推断出 `MediaItem[]` 类作为 `library` 的类型。 + + The final snippet creates a constant array called `library`, which contains two `Movie` instances and three `Song` instances. The type of the `library` array is inferred by initializing it with the contents of an array literal. Swift’s type checker is able to deduce that `Movie` and `Song` have a common superclass of `MediaItem`, and so it infers a type of `MediaItem[]` for the `library` array: + + let library = [ + Movie(name: "Casablanca", director: "Michael Curtiz"), + Song(name: "Blue Suede Shoes", artist: "Elvis Presley"), + Movie(name: "Citizen Kane", director: "Orson Welles"), + Song(name: "The One And Only", artist: "Chesney Hawkes"), + Song(name: "Never Gonna Give You Up", artist: "Rick Astley") + ] + // the type of "library" is inferred to be MediaItem[] + + 在幕后`library` 里存储的项依然是 `Movie` 和 `Song` 类型的,但是,若你迭代它,取出的实例会是 `MediaItem` 类型的,而不是 `Movie` 和 `Song` 类型的。为了让它们作为它们本来的类型工作,你需要检查它们的类型或者向下转换它们的类型到其它类型,就像下面描述的一样。 + + The items stored in `library` are still `Movie` and `Song` instances behind the scenes. However, if you iterate over the contents of this array, the items you receive back are typed as `MediaItem`, and not as `Movie` or `Song`. In order to work with them as their native type, you need to _check_ their type, or _downcast_ them to a different type, as described below. + +### 检查类型 Checking Type + + 用类型检查操作符(`is`)来检查一个实例是否属于特定子类型。类型检查操作符返回 `true` 若实例属于那个子类型,若不属于返回 `false` 。 + + Use the _type check operator_ (`is`) to check whether an instance is of a certain subclass type. The type check operator returns `true` if the instance is of that subclass type and `false` if it is not. + + 下面的例子定义了连个变量,`movieCount` 和 `songCount`,用来计算数组`library` 中 `Movie` 和 `Song` 类型的实例数量。 + + The example below defines two variables, `movieCount` and `songCount`, which count the number of `Movie` and `Song` instances in the `library` array: + + var movieCount = 0 + var songCount = 0 + + for item in library { + if item is Movie { + ++movieCount + } else if item is Song { + ++songCount + } + } + + println("Media library contains \(movieCount) movies and \(songCount) songs") + // prints "Media library contains 2 movies and 3 songs" + + 示例迭代了数组 `library` 中的所有项。每一次, `for`-`in` 循环设置 + `item` 常量的值为数组中的下一个 `MediaItem`。 + + This example iterates through all items in the `library` array. On each pass, the `for`-`in` loop sets the `item` constant to the next `MediaItem` in the array. + + 若当前 `MediaItem` 是一个 `Movie` 类型的实例, `item is Movie` 返回 `true`,相反返回 `false`。同样的,`item is Song`检查item是否为`Song`类型的实例。在循环末尾,`movieCount` 和 `songCount`的值就是被找到属于各自的类型的实例数量。 + + `item is Movie` returns `true` if the current `MediaItem` is a `Movie` instance and `false` if it is not. Similarly, `item is Song` checks whether the item is a `Song` instance. At the end of the `for`-`in` loop, the values of `movieCount` and `songCount` contain a count of how many `MediaItem` instances were found of each type. + +### 向下转型(简称下转) Downcasting + + 某类型的一个常量或变量可能在幕后实际上属于一个子类。你可以相信,上面就是这种情况。你可以尝试向下转到它的子类型,用类型检查操作符(`as`) + + A constant or variable of a certain class type may actually refer to an instance of a subclass behind the scenes. Where you believe this is the case, you can try to _downcast_ to the subclass type with the _type cast operator_ (`as`). + + 因为向下转型可能会失败,类型检查操作符带有两种不同形式。可选形式( optional form) `as?` 返回一个你试图下转成的类型的可选值(optional value)。强制形式 `as` 把试图向下转型和强制解包(force-unwraps)结果作为一个混合动作。 + + Because downcasting can fail, the type cast operator comes in two different forms. The optional form, `as?`, returns an optional value of the type you are trying to downcast to. The forced form, `as`, attempts the downcast and force-unwraps the result as a single compound action. + + 当你不确定下转可以成功时,用类型检查的可选形式(`as?`)。可选形式的类型检查总是返回一个可选值(optional value),并且若下转是不可能的,可选值将是 `nil` 。这使你能够检查下转是否成功。 + + Use the optional form of the type cast operator (`as?`) when you are not sure if the downcast will succeed. This form of the operator will always return an optional value, and the value will be `nil` if the downcast was not possible. This enables you to check for a successful downcast. + + 只有你可以确定下转一定会成功时,才使用强制形式。当你试图下转为一个不正确的类型时,强制形式的类型检查会触发一个runtime error。 + + Use the forced form of the type cast operator (`as`) only when you are sure that the downcast will always succeed. This form of the operator will trigger a runtime error if you try to downcast to an incorrect class type. + + 下面的例子,迭代了`library`里的每一个 `MediaItem` ,并打印出适当的描述。要这样做,item需要真正作为`Movie` 或 `Song`的类型来使用。不仅仅是作为 `MediaItem`。为了能够使用`Movie` 或 `Song`的 `director` 或 `artist`属性,这是必要的。 + + The example below iterates over each `MediaItem` in `library`, and prints an appropriate description for each item. To do this, it needs to access each item as a true `Movie` or `Song`, and not just as a `MediaItem`. This is necessary in order for it to be able to access the `director` or `artist` property of a `Movie` or `Song` for use in the description. + + 在这个示例中,数组中的每一个item可能是 `Movie` 或 `Song`。 事前你不知道每个item的真实类型,所以这里使用可选形式的类型检查 (`as?`)去检查循环里的每次下转。 + + In this example, each item in the array might be a `Movie`, or it might be a `Song`. You don’t know in advance which actual class to use for each item, and so it is appropriate to use the optional form of the type cast operator (`as?`) to check the downcast each time through the loop: + + for item in library { + if let movie = item as? Movie { + println("Movie: '\(movie.name)', dir. \(movie.director)") + } else if let song = item as? Song { + println("Song: '\(song.name)', by \(song.artist)") + } + } + + // Movie: 'Casablanca', dir. Michael Curtiz + // Song: 'Blue Suede Shoes', by Elvis Presley + // Movie: 'Citizen Kane', dir. Orson Welles + // Song: 'The One And Only', by Chesney Hawkes + // Song: 'Never Gonna Give You Up', by Rick Astley + + 示例首先试图将 `item` 下转为 `Movie`。因为 `item` 是一个 `MediaItem` 类型的实例,它可能是一个`Movie`;同样,它可能是一个 `Song`,或者仅仅是基类 `MediaItem`。因为不确定,`as?`形式试图下转时返还一个可选值。 `item as Movie` 的返回值是`Movie?`类型或 “optional `Movie`”。 + + The example starts by trying to downcast the current `item` as a `Movie`. Because `item` is a `MediaItem` instance, it’s possible that it _might_ be a `Movie`; equally, it’s also possible that it might a `Song`, or even just a base `MediaItem`. Because of this uncertainty, the `as?` form of the type cast operator returns an _optional_ value when attempting to downcast to a subclass type. The result of `item as Movie` is of type `Movie?`, or “optional `Movie`”. + + 当应用在两个`Song`实例时,下转为 `Movie` 失败。为了处理这种情况,上面的实例使用了可选绑定(optional binding)来检查optional `Movie`真的包含一个值(这个是为了判断下转是否成功。)可选绑定是这样写的“`if let movie = item as? Movie`”,可以这样解读: + + Downcasting to `Movie` fails when applied to the two `Song` instances in the library array. To cope with this, the example above uses optional binding to check whether the optional `Movie` actually contains a value (that is, to find out whether the downcast succeeded.) This optional binding is written “`if let movie = item as? Movie`”, which can be read as: + + “尝试将 `item` 转为 `Movie`类型。若成功,设置一个新的临时常量 `movie` 来存储返回的optional `Movie`” + + “Try to access `item` as a `Movie`. If this is successful, set a new temporary constant called `movie` to the value stored in the returned optional `Movie`.” + + 若下转成功,然后`movie`的属性将用于打印一个`Movie`实例的描述,包括它的导演的名字`director`。当`Song`被找到时,一个相近的原理被用来检测 `Song` 实例和打印它的描述。 + + If the downcasting succeeds, the properties of `movie` are then used to print a description for that `Movie` instance, including the name of its `director`. A similar principle is used to check for `Song` instances, and to print an appropriate description (including `artist` name) whenever a `Song` is found in the library. + + 注意 + + 转换没有真的改变实例或它的值。潜在的根本的实例保持不变;只是简单地把它作为它被转换成的类来使用。 + + NOTE + + Casting does not actually modify the instance or change its values. The underlying instance remains the same; it is simply treated and accessed as an instance of the type to which it has been cast. + +### Any和AnyObject的转换 Type Casting for Any and AnyObject + + Swift为不确定类型提供了两种特殊类型别名: + + * `AnyObject`可以代表任何class类型的实例。 + + * `Any`可以表示任何类型,除了方法类型(function types)。 + + Swift provides two special type aliases for working with non-specific types: + +* `AnyObject` can represent an instance of any class type. +* `Any` can represent an instance of any type at all, apart from function types. + + 注意 + + 只有当你明确的需要它的行为和功能时才使用Any和AnyObject。在你的代码里使用你期望的明确的类型总是更好的。 + + NOTE + + Use Any and AnyObject only when you explicitly need the behavior and capabilities they provide. It is always better to be specific about the types you expect to work with in your code. + + +### AnyObject类型 + + 当需要在工作中使用Cocoa APIs,它一般接收一个`AnyObject[]`类型的数组,或者说“一个任何对象类型的数组”。这是因为OC没有明确的类型化数组。但是,你常常可以确定包含在仅从你知道的API信息提供的这样一个数组中的对象的类型。 + + When working with Cocoa APIs, it is common to receive an array with a type of `AnyObject[]`, or “an array of values of any object type”. This is because Objective-C does not have explicitly typed arrays. However, you can often be confident about the type of objects contained in such an array just from the information you know about the API that provided the array. + + 在这些情况下,你可以使用强制形式的类型检查(`as`)来下转在数组中的每一项到比 `AnyObject` 更明确的类型,不需要可选解包(optional unwrapping)。 + + In these situations, you can use the forced version of the type cast operator (`as`) to downcast each item in the array to a more specific class type than `AnyObject`, without the need for optional unwrapping. + + 下面的示例定义了一个 `AnyObject[]` 类型的数组并填入三个`Movie`类型的实例: + + The example below defines an array of type `AnyObject[]` and populates this array with three instances of the `Movie` class: + + let someObjects: AnyObject[] = [ + Movie(name: "2001: A Space Odyssey", director: "Stanley Kubrick"), + Movie(name: "Moon", director: "Duncan Jones"), + Movie(name: "Alien", director: "Ridley Scott") + ] + + 因为知道这个数组只包含 `Movie` 实例,你可以直接用(`as`)下转并解包到不可选的`Movie`类型(ps:其实就是我们常用的正常类型,这里是为了和可选类型相对比)。 + + Because this array is known to contain only `Movie` instances, you can downcast and unwrap directly to a non-optional `Movie` with the forced version of the type cast operator (`as`): + + for object in someObjects { + let movie = object as Movie + println("Movie: '\(movie.name)', dir. \(movie.director)") + } + // Movie: '2001: A Space Odyssey', dir. Stanley Kubrick + // Movie: 'Moon', dir. Duncan Jones + // Movie: 'Alien', dir. Ridley Scott + + 为了变为一个更短的形式,下转`someObjects`类型成功 `Movie[]` 类型代替下转每一项。 + + For an even shorter form of this loop, downcast the `someObjects` array to a type of `Movie[]` instead of downcasting each item: + + for movie in someObjects as Movie[] { + println("Movie: '\(movie.name)', dir. \(movie.director)") + } + // Movie: '2001: A Space Odyssey', dir. Stanley Kubrick + // Movie: 'Moon', dir. Duncan Jones + // Movie: 'Alien', dir. Ridley Scott + +### Any类型 + + 这里有个示例,使用 `Any` 类型来和混合的不同类型一起工作,包括非class类型。它创建了一个可以存储`Any`类型的数组 `things`。 + + Here’s an example of using `Any` to work with a mix of different types, including non-class types. The example creates an array called `things`, which can store values of type `Any`: + + var things = Any[]() + + things.append(0) + things.append(0.0) + things.append(42) + things.append(3.14159) + things.append("hello") + things.append((3.0, 5.0)) + things.append(Movie(name: "Ghostbusters", director: "Ivan Reitman")) + + `things` 数组包含两个 `Int` 值,2个 `Double` 值,1个 `String` 值,一个元组 `(Double, Double)` ,Ivan Reitman导演的电影“Ghostbusters”。 + + The `things` array contains two `Int` values, two `Double` values, a `String` value, a tuple of type `(Double, Double)`, and the movie “Ghostbusters”, directed by Ivan Reitman. + + 你可以在 `switch` `cases`里用`is` 和 `as` 操作符来发觉只知道是 `Any` 或 `AnyObject`的常量或变量的类型。 下面的示例迭代 `things`数组中的每一项的并用`switch`语句查找每一项的类型。这几种`switch`语句的情形绑定它们匹配的值到一个规定类型的常量,让它们可以打印它们的值: + + You can use the `is` and `as` operators in a `switch` statement’s cases to discover the specific type of a constant or variable that is known only to be of type `Any` or `AnyObject`. The example below iterates over the items in the `things` array and queries the type of each item with a `switch` statement. Several of the `switch` statement’s cases bind their matched value to a constant of the specified type to enable its value to be printed: + + for thing in things { + switch thing { + case 0 as Int: + println("zero as an Int") + case 0 as Double: + println("zero as a Double") + case let someInt as Int: + println("an integer value of \(someInt)") + case let someDouble as Double where someDouble > 0: + println("a positive double value of \(someDouble)") + case is Double: + println("some other double value that I don't want to print") + case let someString as String: + println("a string value of \"\(someString)\"") + case let (x, y) as (Double, Double): + println("an (x, y) point at \(x), \(y)") + case let movie as Movie: + println("a movie called '\(movie.name)', dir. \(movie.director)") + default: + println("something else") + } + } + + // zero as an Int + // zero as a Double + // an integer value of 42 + // a positive double value of 3.14159 + // a string value of "hello" + // an (x, y) point at 3.0, 5.0 + // a movie called 'Ghostbusters', dir. Ivan Reitman +。 + + 注意 + + 在一个switch语句的case中使用强制形式的类型检查操作符(as, 而不是 as?) 来检查和转换到一个规定的类型。在switch case 语句的内容中这种检查总是安全的。 + + NOTE + + The cases of a switch statement use the forced version of the type cast operator (as, not as?) to check and cast to a specific type. This check is always safe within the context of a switch case statement. diff --git a/source/chapter2/20_Extensions.md b/source/chapter2/20_Extensions.md index e69de29b..1999b308 100644 --- a/source/chapter2/20_Extensions.md +++ b/source/chapter2/20_Extensions.md @@ -0,0 +1,279 @@ +#扩展(Extensions) + +---- + +本页包含内容: + +- 扩展语法(Extension Syntax) +- 计算属性(Computed Properties) +- 构造器(Initializers) +- 方法(Methods) +- 下标(Subscripts) +- 嵌套类型(Nested Types) + +*扩展*就是向一个已有的类、结构体或枚举类型添加新功能(functionality)。这包括在没有权限获取原始源代码的情况下扩展类型的能力(即*逆向建模*)。扩展和Objective-C中的分类(categories)类似。(不过与Objective-C不同的是,Swift的扩展没有名字。) + +Swift中的扩展可以: + +- 添加计算属性和计算静态属性 +- 定义实例方法和类型方法 +- 提供新的构造器 +- 定义下标 +- 定义和使用新的嵌套类型 +- 使一个已有类型符合某个接口 + + +>注意 +如果你定义了一个扩展向一个已有类型添加新功能,那么这个新功能对该类型的所有已有实例中都是可用的,即使它们是在你的这个扩展的前面定义的。 + + +##扩展语法 + +声明一个扩展使用关键字`extension`: + +```javascript +extension SomeType{ + // new functionality to add to SomeType goes here +} +``` + +一个扩展可以扩展一个已有类型,使其能够适配一个或多个接口。当这种情况发生时,接口的名字应该完全按照类或结构体的名字的方式进行书写: + +```javascript +extension SomeType: SomeProtocol, AnotherProctocol{ + // implementation of protocol requirments goes here +} +``` + +按照这种方式添加的接口一致性被称之为**给扩展添加接口一致性(Protocal Conformance)** + + +##计算属性 + +扩展可以向已有类型添加计算实例属性和计算类型属性。下面的例子向Swift的内建`Double`类型添加了5个计算实例属性,从而提供与距离单位协作的基本支持。 + +```javascript +extension Double{ + var km: Double { return self * 1_000.0 } + var m : Double { return self } + var cm: Double { return self / 100.0 } + var mm: Double { return self / 1_000.0 } + var ft: Double { return self / 3.28084 } +} +let oneInch = 25.4.mm +println("One inch is \(oneInch) meters") +// prints "One inch is 0.0254 meters" +let threeFeet = 3.ft +println("Three feet is \(threeFeet) meters") +// prints "Three feet is 0.914399970739201 meters" +``` + +这些计算属性表达的含义是把一个`Double`型的值看作是某单位下的长度值。即使它们被实现为计算属性,但这些属性仍可以接一个带有dot语法的浮点型字面值,而这恰恰是使用这些浮点型字面量实现距离转换的方式。 + +在上述例子中,一个`Double`型的值`1.0`被用来表示“1米”。这就是为什么`m`计算属性返回`self`——表达式`1.m`被认为是计算`1.0`的`Double`值。 + +其它单位则需要一些转换来表示在米下测量的值。1千米等于1,000米,所以`km`计算属性要把值乘以`1_000.00`来转化成单位米下的数值。类似地,1米有3.28024英尺,所以`ft`计算属性要把对应的`Double`值除以`3.28024`来实现英尺到米的单位换算。 + +这些属性是只读的计算属性,所有从简考虑它们不用`get`关键字表示。它们的返回值是`Double`型,而且可以用于所有接受`Double`的数学计算中: + +```javascript +let aMarathon = 42.km + 195.m +println("A marathon is \(aMarathon) meters long") +// prints "A marathon is 42495.0 meters long" +``` + + +>注意 +扩展可以添加新的计算属性,但是不可以添加存储属性,也不可以向已有属性添加属性观测器(property observers)。 + +##构造器 + +扩展可以向已有类型添加新的构造器。这可以让你扩展其它类型,将你自己的定制类型作为构造器参数,或者提供该类型的原始实现中没有包含的额外初始化选项。 + + +>注意 +如果你使用扩展向一个值类型添加一个构造器,该构造器向所有的存储属性提供默认值,而且没有定义任何定制构造器(custom initializers),那么对于来自你的扩展构造器中的值类型,你可以调用默认构造器(default initializers)和成员级构造器(memberwise initializers)。 +正如在值类型的构造器授权中描述的,如果你已经把构造器写成值类型原始实现的一部分,上述规则不再适用。 + +下面的例子定义了一个用于描述几何矩形的定制结构体`Rect`。这个例子同时定义了两个辅助结构体`Size`和`Point`,它们都把`0.0`作为所有属性的默认值: +```javascript +struct Size{ + var width = 0.0, height = 0.0 +} +struct Point{ + var x = 0.0, y = 0.0 +} +struct Rect{ + var origin = Point() + var size = Size() +} +``` + +因为结构体`Rect`提供了其所有属性的默认值,所以正如默认构造器中描述的,它可以自动接受一个默认的构造器和一个成员级构造器。这些构造器可以用于构造新的`Rect`实例: + +```javascript +let defaultRect = Rect() +let memberwiseRect = Rect(origin: Point(x: 2.0, y: 2.0), + size: Size(width: 5.0, height: 5.0)) +``` + +你可以提供一个额外的使用特殊中心点和大小的构造器来扩展`Rect`结构体: +```javascript +extension Rect{ + init(center: Point, size: Size){ + let originX = center.x - (size.width / 2) + let originY = center.y - (size.height / 2) + self.init(origin: Point(x: originX, y: originY), size: size) + } +} +``` + +这个新的构造器首先根据提供的`center`和`size`值计算一个合适的原点。然后调用该结构体自动的成员构造器`init(origin:size:)`,该构造器将新的原点和大小存到了合适的属性中: +```javascript +let centerRect = Rect(center: Point(x: 4.0, y: 4.0), + size: Size(width: 3.0, height: 3.0)) +// centerRect's origin is (2.5, 2.5) and its size is (3.0, 3.0) +``` + + +>注意 +如果你使用扩展提供了一个新的构造器,你依旧有责任保证构造过程能够让所有实例完全初始化。 + +##方法 + +扩展可以向已有类型添加新的实例方法和类型方法。下面的例子向`Int`类型添加一个名为`repetitions`的新实例方法: +```javascript +extension Int{ + func repetitions(task: () -> ()){ + for i in 0..self{ + task() + } + } +} +``` + +这个`repetitions`方法使用了一个`() -> ()`类型的单参数(single argument),表明函数没有参数而且没有返回值。 + +定义该扩展之后,你就可以对任意整数调用`repetitions`方法,实现的功能则是多次执行某任务: +```javascript +3.repetitions({ + println("Hello!") + }) +// Hello! +// Hello! +// Hello! +``` + +可以使用trailing闭包使调用更加简洁: +```javascript +3.repetitions{ + println("Goodbye!") +} +// Goodbye! +// Goodbye! +// Goodbye! +``` + +###修改实例方法 + +通过扩展添加的实例方法也可以修改该实例本身。结构体和枚举类型中修改`self`或其属性的方法必须将该实例方法标注为`mutating`,正如来自原始实现的修改方法一样。 + +下面的例子向Swift的`Int`类型添加了一个新的名为`square`的修改方法,来实现一个原始值的平方计算: +```javascript +extension Int{ + mutating func square(){ + self = self * self + } +} +var someInt = 3 +someInt.square() +// someInt is now 9 +``` + +##下标 + +扩展可以向一个已有类型添加新下标。这个例子向Swift内建类型`Int`添加了一个整型下标。该下标`[n]`返回十进制数字从右向左数的第n个数字 + +- 123456789[0]返回9 +- 123456789[1]返回8 + +等等 + +```javascript +extension Int{ + subscript(digitIndex: Int) -> Int { + var decimalBase = 1 + for _ in 1...digitIndex{ + decimalBase *= 10 + } + return (self / decimalBase) % 10 + } +} +746381295[0] +// returns 5 +746381295[1] +// returns 9 +746381295[2] +// returns 2 +746381295[8] +// returns 7 +``` + +如果该`Int`值没有足够的位数,即下标越界,那么上述实现的下标会返回0,因为它会在数字左边自动补0: +```javascript +746381295[9] +//returns 0, 即等同于: +0746381295[9] +``` + +##嵌套类型 + +扩展可以向已有的类、结构体和枚举添加新的嵌套类型: +```javascript +extension Character { + enum Kind { + case Vowel, Consonant, Other + } + var kind: Kind { + switch String(self).lowercaseString { + case "a", "e", "i", "o", "u": + return .Vowel + case "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", + "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z": + return .Consonant + default: + return .Other + } + } +} +``` + +该例子向`Character`添加了新的嵌套枚举。这个名为`Kind`的枚举表示特定字符的类型。具体来说,就是表示一个标准的拉丁脚本中的字符是元音还是辅音(不考虑口语和地方变种),或者是其它类型。 + +这个类子还向`Character`添加了一个新的计算实例属性,即`kind`,用来返回合适的`Kind`枚举成员。 + +现在,这个嵌套枚举可以和一个`Character`值联合使用了: +```javascript +func printLetterKinds(word: String) { + println("'\\(word)' is made up of the following kinds of letters:") + for character in word { + switch character.kind { + case .Vowel: + print("vowel ") + case .Consonant: + print("consonant ") + case .Other: + print("other ") + } + } + print("\n") +} +printLetterKinds("Hello") +// 'Hello' is made up of the following kinds of letters: +// consonant vowel consonant consonant vowel +``` + +函数`printLetterKinds`的输入是一个`String`值并对其字符进行迭代。在每次迭代过程中,考虑当前字符的`kind`计算属性,并打印出合适的类别描述。所以`printLetterKinds`就可以用来打印一个完整单词中所有字母的类型,正如上述单词`"hello"`所展示的。 + +>注意 +由于已知`character.kind`是`Character.Kind`型,所以`Character.Kind`中的所有成员值都可以使用`switch`语句里的形式简写,比如使用 `.Vowel`代替`Character.Kind.Vowel` diff --git a/source/chapter3/06_Attributes.md b/source/chapter3/06_Attributes.md index e69de29b..657a22d0 100644 --- a/source/chapter3/06_Attributes.md +++ b/source/chapter3/06_Attributes.md @@ -0,0 +1,115 @@ +# 特性 + +特性提供了关于声明和类型的更多信息。在Swift中有两类特性,用于修饰声明的以及用于修饰类型的。例如,`required`特性,当应用于一个类的指定或便利初始化器声明时,表明它的每个子类都必须实现那个初始化器。再比如`noreturn`特性,当应用于函数或方法类型时,表明该函数或方法不会返回到它的调用者。 + +通过以下方式指定一个特性:符号`@`后面跟特性名,如果包含参数,则把参数带上: + +``` +@attribute name +@attribute name(attribute arguments) +``` + +有些声明特性通过接收参数来指定特性的更多信息以及它是如何修饰一个特定的声明的。这些特性的参数写在小括号内,它们的格式由它们所属的特性来定义。 + +## 声明特性 + +声明特性只能应用于声明。然而,你也可以将`noreturn`特性应用于函数或方法类型。 + +`assignment` + +该特性用于修饰重载了复合赋值运算符的函数。重载了复合赋值运算符的函数必需将它们的初始输入参数标记为`inout`。如何使用`assignment`特性的一个例子,请见:[复合赋值运算符]()。 + +`class_protocol` + +该特性用于修饰一个协议表明该协议只能被类类型采用[待改:adopted]。 + +如果你用`objc`特性修饰一个协议,`class_protocol`特性就会隐式地应用到该协议,因此无需显式地用`class_protocol`特性标记该协议。 + +`exported` + +该特性用于修饰导入声明,以此来导出已导入的模块,子模块,或当前模块的声明。如果另一个模块导入了当前模块,那么那个模块可以访问当前模块的导出项。 + +`final` + +该特性用于修饰一个类或类中的属性,方法,以及下标成员。如果用它修饰一个类,那么这个类则不能被继承。如果用它修饰类中的属性,方法或下标,则表示在子类中,它们不能被重写。 + +`lazy` + +该特性用于修饰类或结构体中的存储型变量属性,表示该属性的初始值最多只被计算和存储一次,且发生在第一次访问它时。如何使用`lazy`特性的一个例子,请见:[惰性存储型属性]()。 + +`noreturn` + +该特性用于修饰函数或方法声明,表明该函数或方法的对应类型,`T`,是`@noreturn T`。你可以用这个特性修饰函数或方法的类型,这样一来,函数或方法就不会返回到它的调用者中去。 + +对于一个没有用`noreturn`特性标记的函数或方法,你可以将它重写(override)为用该特性标记的。相反,对于一个已经用`noreturn`特性标记的函数或方法,你则不可以将它重写为没使用该特性标记的。相同的规则试用于当你在一个comforming类型中实现一个协议方法时。 + +`NSCopying` + +该特性用于修饰一个类的存储型变量属性。该特性将使属性的setter与属性值的一个副本合成,由`copyWithZone`方法返回,而不是属性本身的值。该属性的类型必需遵循`NSCopying`协议。 + +`NSCopying`特性的行为与Objective-C中的`copy`特性相似。 + +`NSManaged` + +该特性用于修饰`NSManagedObject`子类中的存储型变量属性,表明属性的存储和实现由Core Data在运行时基于相关实体描述动态提供。 + +`objc` + +该特性用于修饰任意可以在Objective-C中表示的声明,比如,非嵌套类,协议,类和协议中的属性和方法(包含getter和setter),初始化器,析构器,以下下标。`objc`特性告诉编译器该声明可以在Objective-C代码中使用。 + +如果你将`objc`特性应用于一个类或协议,它也会隐式地应用于那个类或协议的成员。对于标记了`objc`特性的类,编译器会隐式地为它的子类添加`objc`特性。标记了`objc`特性的协议不能继承自没有标记`objc`的协议。 + +`objc`特性有一个可选的参数,由标记符组成。当你想把`objc`所修饰的实体以一个不同的名字暴露给Objective-C,你就可以使用这个特性参数。你可以使用这个参数来命名类,协议,方法,getters,setters,以及初始化器。下面的例子把`ExampleClass`中`enabled`属性的getter暴露给Objective-C,名字是`isEnabled`,而不是它原来的属性名。 + +``` +@objc +class ExampleClass { + var enabled: Bool { + @objc(isEnabled) get { + // Return the appropriate value + } + } +} +``` + +`optional` + +用该特性修饰协议的属性,方法或下标成员,表示实现这些成员并不需要一致性类型(conforming type)。 + +你只能用`optional`特性修饰那些标记了`objc`特性的协议。因此,只有类类型可以adopt和comform to那些包含可选成员需求的协议。更多关于如何使用`optional`特性以及如何访问可选协议成员的指导,例如,当你不确定一个conforming类型是否实现了它们,请见:[可选协议需求]()。 + +`required` + +用该特性修饰一个类的指定或便利初始化器,表示该类的所有子类都必需实现该初始化器。 + +加了该特性的指定初始化器必需显式地实现,而便利初始化器既可显式地实现,也可以在子类实现了超类所有指定初始化器后继承而来(或者当子类使用便利初始化器重写了指定初始化器)。 + +### Interface Builder使用的声明特性 + +Interface Builder特性是Interface Builder用来与Xcode同步的声明特性。Swift提供了以下的Interface Builder特性:`IBAction`,`IBDesignable`,`IBInspectable`,以及`IBOutlet`。这些特性与Objective-C中对应的特性在概念上是相同的。 + +`IBOutlet`和`IBInspectable`用于修饰一个类的属性声明;`IBAction`特性用于修饰一个类的方法声明;`IBDesignable`用于修饰类的声明。 + +## 类型特性 + +类型特性只能用于修饰类型。然而,你也可以用`noreturn`特性去修饰函数或方法声明。 + +`auto_closure` + +这个特性通过自动地将表达式封闭到一个无参数闭包中来延迟表达式的求值。使用该特性修饰无参的函数或方法类型,返回表达式的类型。一个如何使用`auto_closure`特性的例子,见[函数类型]() + +`noreturn` + +该特性用于修饰函数或方法的类型,表明该函数或方法不会返回到它的调用者中去。你也可以用它标记函数或方法的声明,表示函数或方法的相应类型,`T`,是`@noreturn T`。 + +> 特性的语法 +> attribute -> @ [attribute-name]() [attribute-argument-clause]()opt +> attribute-name -> [identifier]() +> attribute-argument-clause -> ( [balanced-tokens]()opt ) +> attributes -> [attribute]() [attributes]()opt +> balanced-tokens -> [balanced-token]() [balanced-tokens]()opt +> balanced-token -> ( [balanced-tokens]()opt ) +> balanced-token -> [ [balanced-tokens]()opt ] +> balanced-token -> { [balanced-tokens]()opt } +> balanced-token -> 任意标识符,关键字,字面量,或运算符 +> balanced-token -> 任意标点符号,除了(, ), [, ], {, 或 } diff --git a/source/chapter3/10_Statements.md b/source/chapter3/10_Statements.md new file mode 100644 index 00000000..e69de29b