* Update 09_Structures_And_Classes.md

驼峰

* Update 17_Error_Handling.md

病句
This commit is contained in:
Johnson
2019-07-24 12:31:38 +08:00
committed by Jie Liang
parent ebda86cd05
commit b7a8566a0f
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class SomeClass {
> 注意
>
> 每当你定义一个新的结构体或者类时,你都是定义了一个新的 Swift 类型。请使用 `UpperCamelCase` 这种方式来命名类型(如这里的 `SomeClass` 和 `SomeStructure`),以便符合标准 Swift 类型的大写命名风格(如 `String``Int` 和 `Bool`)。请使用 `lowerCamelCase` 这种方式来命名属性和方法(如 `framerate` 和 `incrementCount`),以便和类型名区分。
> 每当你定义一个新的结构体或者类时,你都是定义了一个新的 Swift 类型。请使用 `UpperCamelCase` 这种方式来命名类型(如这里的 `SomeClass` 和 `SomeStructure`),以便符合标准 Swift 类型的大写命名风格(如 `String``Int` 和 `Bool`)。请使用 `lowerCamelCase` 这种方式来命名属性和方法(如 `frameRate` 和 `incrementCount`),以便和类型名区分。
以下是定义结构体和定义类的示例: