@@ -33,8 +33,8 @@ Or you can login Xcode with your GitHub account. just search **KakaJSON**.
3333 - [let](#let)
3434 - [JSONString](#jsonstring)
3535 - [JSONData](#jsondata)
36- - [Nested Model 1](## nested-model-1)
37- - [Nested Model 2](## nested-model-2)
36+ - [Nested Model 1](#nested-model-1)
37+ - [Nested Model 2](#nested-model-2)
3838 - [Model Array](#model-array)
3939 - [Convert](#convert)
4040 - [Listen](#listen)
@@ -57,7 +57,7 @@ Or you can login Xcode with your GitHub account. just search **KakaJSON**.
5757 - [Set](#set)
5858 - [Dictionary](#dictionary)
5959 - [Key Mapping](#key-mapping)
60- - [Basic Usage](## basic-usage-1)
60+ - [Basic Usage](#basic-usage-1)
6161 - [Camel -> Underline](#camel---underline)
6262 - [Underline -> Camel](#underline---camel)
6363 - [Inheritance](#inheritance-1)
@@ -1156,8 +1156,6 @@ XCTAssert(student?.birthday == birthday)
11561156
11571157#### Inheritance
11581158```swift
1159- // 子类可以继承父类的实现
1160-
11611159class Person: Convertible {
11621160 var nickName: String = " "
11631161 required init () {}
@@ -1187,8 +1185,6 @@ XCTAssert(student?.mathScore == math_score)
11871185
11881186#### Override 1
11891187```swift
1190- // 子类可以重写父类的kk_modelKey方法,在父类实现的基础上加一些自己的需求
1191-
11921188class Person: Convertible {
11931189 var name: String = " "
11941190 required init () {}
@@ -1236,7 +1232,7 @@ class Student: Person {
12361232 var score: Int = 0
12371233
12381234 override func kk_modelKey (from property : Property) -> ModelPropertyKey {
1239- // 因此 `score` -> `_score_`,`name` -> `name`
1235+ // `score` -> `_score_`,`name` -> `name`
12401236 return property.name == " score" ? " _score_" : property.name
12411237 }
12421238}
0 commit comments