Skip to content

Commit a30a269

Browse files
committed
更新信息
1 parent 46d9e9c commit a30a269

3 files changed

Lines changed: 18 additions & 11 deletions

File tree

Document/README/LearnMore.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@
66

77
| 💡 questions | answers |
88
| ----------------------------------- | ------------------------------------------------------------ |
9-
| 1 在mapping方法中支持解析忽略 | [不采纳的理由](https://github.com/intsig171/SmartCodable/blob/main/Document/Suggest/suggest1.md) |
10-
| 2 像HandyJSON一样支持继承关系的解析 | [实现逻辑](https://github.com/intsig171/SmartCodable/blob/main/Document/Suggest/suggest2.md) |
11-
| 3 支持初始值填充 | [实现逻辑](https://github.com/intsig171/SmartCodable/blob/main/Document/Suggest/suggest3.md) |
9+
| 1 在mapping方法中支持解析忽略 | [不采纳的理由](https://github.com/iAmMccc/SmartCodable/blob/main/Document/QA/QA1.md) |
10+
| 2 像HandyJSON一样支持继承关系的解析 | [实现逻辑](https://github.com/iAmMccc/SmartCodable/blob/main/Document/QA/QA2.md) |
11+
| 3 支持初始值填充 | [实现逻辑](https://github.com/iAmMccc/SmartCodable/blob/main/Document/QA/QA3.md) |
1212
| 4 提供HandyJSON的替换指导 | [替换指导](https://github.com/iAmMccc/SmartCodable/blob/main/Document/README/CompareWithHandyJSON.md) |
1313

1414

1515

1616

1717

18+
### SmartCodable Wiki
19+
20+
[想了解更多请访问wiki](https://github.com/iAmMccc/SmartCodable/wiki)
21+
22+
23+
1824

1925

2026
### About Codable

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ print(model)
463463

464464
This feature relies on **Swift Macros**, which requires **Swift 5.9+** and is compatible with **iOS 13+**. Therefore, it is only supported in SmartCodable version 5.0 and above.
465465

466-
> For using inheritance on lower versions, refer to: [Inheritance in Lower Versions](https://github.com/iAmMccc/SmartCodable/blob/main/Document/Suggest/suggest2.md)
466+
> For using inheritance on lower versions, refer to: [Inheritance in Lower Versions](https://github.com/iAmMccc/SmartCodable/blob/main/Document/QA/QA2.md)
467467
468468
If you need inheritance support, annotate your subclass with `@SmartSubclass`.
469469

README_CN.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
<h1 align="center">SmartCodable - Ultimate Codable Enhancement for Swift</h1>
55

66
<p align="center">
7-
<a href="https://github.com/iAmMccc/SmartCodable/actions?query=workflow%3Abuild">
8-
<img src="https://img.shields.io/github/actions/workflow/status/iAmMccc/SmartCodable/build.yml?branch=main&label=build" alt="Build Status">
9-
</a>
107
<a href="https://github.com/iAmMccc/SmartCodable/wiki">
118
<img src="https://img.shields.io/badge/Documentation-available-brightgreen.svg" alt="Documentation">
129
</a>
@@ -22,7 +19,11 @@
2219
<a href="https://github.com/iAmMccc/SmartCodable/blob/main/LICENSE">
2320
<img src="https://img.shields.io/badge/license-MIT-black.svg" alt="MIT License">
2421
</a>
25-
</p>
22+
<a href="https://deepwiki.com/intsig171/SmartCodable">
23+
<img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
24+
</a>
25+
</P>
26+
2627

2728

2829
### 中文 | [English](https://github.com/iAmMccc/SmartCodable)
@@ -76,7 +77,7 @@ SmartCodable 通过增强苹果原生的 Codable 能力,为 Swift 数据解析
7677
| **错误日志** | 提供兼容性处理的故障排查日志 |||
7778
| **安全性** | 实现稳定性和安全性更高 |||
7879

79-
[👉 **SmartCodable - 与HandyJSON对比**](https://github.com/iAmMccc/SmartCodable/blob/develop/Document/README/CompareWithHandyJSON.md)
80+
[👉 **SmartCodable - 与HandyJSON对比**](https://github.com/iAmMccc/SmartCodable/blob/main/Document/README/CompareWithHandyJSON.md)
8081

8182
**核心优势**
8283

@@ -464,7 +465,7 @@ if let model = PublishedModel.deserialize(from: dict) {
464465

465466
该功能由于使用了 **Swift Macro**,需要使用 **Swift 5.9+**,对应的 **iOS 13+**,因此只在SmartCodable的5.0+版本中支持。
466467

467-
> 如需要在更低版本使用继承,请查看: [低版本中的继承](https://github.com/iAmMccc/SmartCodable/blob/main/Document/Suggest/suggest2.md)
468+
> 如需要在更低版本使用继承,请查看: [低版本中的继承](https://github.com/iAmMccc/SmartCodable/blob/main/Document/QA/QA2.md)
468469
469470
如果你需要继承,请使用 `@SmartSubclass` 标注为子类。
470471

@@ -774,7 +775,7 @@ SmartSentinel.onLogGenerated { logs in }
774775

775776
[👉 **SmartCodable测试**](https://github.com/iAmMccc/SmartCodable/blob/main/Document/README/HowToTest.md)
776777

777-
[👉 **学习SmartCodable**](https://github.com/iAmMccc/SmartCodable/blob/develop/Document/README/LearnMore.md)
778+
[👉 **学习SmartCodable**](https://github.com/iAmMccc/SmartCodable/blob/main/Document/README/LearnMore.md)
778779

779780

780781

0 commit comments

Comments
 (0)