Update 09_Classes_and_Structures.md

变量名 tenEighty 和 alsoTenEighty 需更正保证程序正确
This commit is contained in:
zhang3xing1
2015-05-22 03:00:10 +08:00
parent d7be654e71
commit 896570b882

View File

@ -237,8 +237,8 @@ println("The frameRate property of tenEighty is now \(tenEighty.frameRate)")
以下是运用这两个运算符检测两个常量或者变量是否引用同一个实例: 以下是运用这两个运算符检测两个常量或者变量是否引用同一个实例:
```swift ```swift
if tenEighty === alsoTenTighty { if tenEighty === alsoTenEighty {
println("tenTighty and alsoTenEighty refer to the same Resolution instance.") println("tenEighty and alsoTenEighty refer to the same Resolution instance.")
} }
//输出 "tenEighty and alsoTenEighty refer to the same Resolution instance." //输出 "tenEighty and alsoTenEighty refer to the same Resolution instance."
``` ```