From f3030a67152dc0e10d958d105a62b8e56e455ff6 Mon Sep 17 00:00:00 2001 From: Shiyao Qi Date: Sun, 15 Jun 2014 17:48:18 +0800 Subject: [PATCH] Corrected spelling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrected "重新" from "从新". --- source/chapter2/09_Classes_and_Structures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/09_Classes_and_Structures.md b/source/chapter2/09_Classes_and_Structures.md index d8f56b2f..b41709ea 100755 --- a/source/chapter2/09_Classes_and_Structures.md +++ b/source/chapter2/09_Classes_and_Structures.md @@ -119,7 +119,7 @@ println("The width of someVideoMode is now \(someVideoMode.resolution.width)") ``` > 注意: -与 Objective-C 语言不同的是,Swift 允许直接设置结构体属性的子属性。上面的最后一个例子,就是直接设置了`someVideoMode`中`resolution`属性的`width`这个子属性,以上操作并不需要从新设置`resolution`属性。 +与 Objective-C 语言不同的是,Swift 允许直接设置结构体属性的子属性。上面的最后一个例子,就是直接设置了`someVideoMode`中`resolution`属性的`width`这个子属性,以上操作并不需要重新设置`resolution`属性。 ### 结构体类型的成员逐一构造器(Memberwise Initializers for structure Types)