Corrected spelling.
Corrected "着" to "这".
This commit is contained in:
@ -249,7 +249,7 @@ struct Point {
|
||||
}
|
||||
```
|
||||
|
||||
你可以通过以下三种方式为`Rect`创建实例--使用默认的0值来初始化`origin`和`size`属性;使用特定的`origin`和`size`实例来初始化;使用特定的`center`和`size`来初始化。在下面`Rect`结构体定义中,我们为着三种方式提供了三个自定义的构造器:
|
||||
你可以通过以下三种方式为`Rect`创建实例--使用默认的0值来初始化`origin`和`size`属性;使用特定的`origin`和`size`实例来初始化;使用特定的`center`和`size`来初始化。在下面`Rect`结构体定义中,我们为这三种方式提供了三个自定义的构造器:
|
||||
|
||||
```swift
|
||||
struct Rect {
|
||||
|
||||
Reference in New Issue
Block a user