> 12880 -> 1280
This commit is contained in:
Vincent
2014-07-13 16:53:43 +08:00
parent 78d108e7cf
commit e74c53f80a

View File

@ -113,7 +113,7 @@ println("The width of someVideoMode is \(someVideoMode.resolution.width)")
你也可以使用点语法为属性变量赋值:
```swift
someVideoMode.resolution.width = 12880
someVideoMode.resolution.width = 1280
println("The width of someVideoMode is now \(someVideoMode.resolution.width)")
// 输出 "The width of someVideoMode is now 1280"
```