diff --git a/source/chapter2/17_Optional_Chaining.md b/source/chapter2/17_Optional_Chaining.md index a7f2a6e1..1a50cb5d 100755 --- a/source/chapter2/17_Optional_Chaining.md +++ b/source/chapter2/17_Optional_Chaining.md @@ -15,6 +15,9 @@ > 2.2 > 翻译+校对:[SketchK](https://github.com/SketchK) 2016-05-15 > 3.0.1,shanks,2016-11-13 + +> 4.0 +> 校对:[kemchenj](https://kemchenj.github.io/) 2017-09-21 本页包含内容: @@ -371,7 +374,7 @@ if let johnsStreet = john.residence?.address?.street { // 打印 “John's street name is Laurel Street.” ``` -在上面的例子中,因为`john.residence`包含一个有效的`Residence`实例,所以对`john.residence`的`address`属性赋值将会成功。 +在上面的例子中,因为`john.residence`包含一个有效的`Address`实例,所以对`john.residence`的`address`属性赋值将会成功。 ## 在方法的可选返回值上进行可选链式调用