Merge pull request #363 from zhang3xing1/patch-3
Update 09_Classes_and_Structures.md
This commit is contained in:
@ -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."
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user