From 896570b8822cb0aae15f9535b7e55711e109b76f Mon Sep 17 00:00:00 2001 From: zhang3xing1 Date: Fri, 22 May 2015 03:00:10 +0800 Subject: [PATCH] Update 09_Classes_and_Structures.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 变量名 tenEighty 和 alsoTenEighty 需更正保证程序正确 --- source/chapter2/09_Classes_and_Structures.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/chapter2/09_Classes_and_Structures.md b/source/chapter2/09_Classes_and_Structures.md index 226b6906..028ebb9c 100755 --- a/source/chapter2/09_Classes_and_Structures.md +++ b/source/chapter2/09_Classes_and_Structures.md @@ -237,8 +237,8 @@ println("The frameRate property of tenEighty is now \(tenEighty.frameRate)") 以下是运用这两个运算符检测两个常量或者变量是否引用同一个实例: ```swift -if tenEighty === alsoTenTighty { - println("tenTighty and alsoTenEighty refer to the same Resolution instance.") +if tenEighty === alsoTenEighty { + println("tenEighty and alsoTenEighty refer to the same Resolution instance.") } //输出 "tenEighty and alsoTenEighty refer to the same Resolution instance." ```