|
1 | 1 | // |
2 | | -// DevGuideline |
| 2 | +// DevGuideline.md |
3 | 3 | // KakaJSON |
4 | 4 | // |
5 | 5 | // Created by MJ Lee on 2019/8/14. |
6 | 6 | // Copyright © 2019 MJ Lee. All rights reserved. |
7 | 7 | // |
8 | 8 |
|
9 | 9 | /* |
10 | | -Metadata Reference: |
11 | | -0. https://github.com/apple/swift/blob/master/docs/ABI/TypeMetadata.rst |
12 | | -1. https://github.com/apple/swift/blob/master/include/swift/ABI/MetadataKind.def |
13 | | -2. https://github.com/apple/swift/blob/master/include/swift/ABI/Metadata.h |
14 | | -3. https://github.com/apple/swift/blob/master/include/swift/ABI/MetadataValues.h |
15 | | -4. https://github.com/apple/swift/blob/master/utils/dtrace/runtime.d |
16 | | -5. https://github.com/apple/swift/blob/master/include/swift/Reflection/Records.h |
17 | | -*/ |
| 10 | + Metadata Reference: |
| 11 | + 0. https://github.com/apple/swift/blob/master/docs/ABI/TypeMetadata.rst |
| 12 | + 1. https://github.com/apple/swift/blob/master/include/swift/ABI/MetadataKind.def |
| 13 | + 2. https://github.com/apple/swift/blob/master/include/swift/ABI/Metadata.h |
| 14 | + 3. https://github.com/apple/swift/blob/master/include/swift/ABI/MetadataValues.h |
| 15 | + 4. https://github.com/apple/swift/blob/master/utils/dtrace/runtime.d |
| 16 | + 5. https://github.com/apple/swift/blob/master/include/swift/Reflection/Records.h |
| 17 | + */ |
18 | 18 |
|
19 | 19 | 1. 提交代码之前,请务必先保证在真机、模拟器上通过所有的测试用例(Debug+Release模式) |
20 | 20 |
|
@@ -42,11 +42,11 @@ Metadata Reference: |
42 | 42 | - include release\debug mode |
43 | 43 |
|
44 | 44 | 2. NamingConvention |
45 | | -① public extension for system types, model types |
| 45 | +① public extension for system types、model types |
46 | 46 | - obj.kj.memberName |
47 | 47 | - e.g. "123".kj.numberCount, model.kj.JSON() |
48 | 48 |
|
49 | | -② internal extension for system types, model types |
| 49 | +② internal extension for system types、model types |
50 | 50 | - obj.kj_memberName |
51 | 51 | - e.g. "123".kj_numberCount, model.kj_JSON() |
52 | 52 |
|
|
0 commit comments