Skip to content

Commit eceb071

Browse files
author
Mccc
committed
V4.3.8
1 parent 2f1e3ff commit eceb071

6 files changed

Lines changed: 18 additions & 14 deletions

File tree

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PODS:
88
- FBSnapshotTestCase/SwiftSupport (2.1.4):
99
- FBSnapshotTestCase/Core
1010
- HandyJSON (5.0.0-beta.1)
11-
- SmartCodable (4.3.7-beta)
11+
- SmartCodable (4.3.8)
1212
- SnapKit (5.6.0)
1313

1414
DEPENDENCIES:
@@ -39,7 +39,7 @@ SPEC CHECKSUMS:
3939
CleanJSON: 910a36465ce4829e264a902ccf6d1455fdd9f980
4040
FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a
4141
HandyJSON: 582477127ab3ab65bd2e471815f1a7b846856978
42-
SmartCodable: a20b3bde2d0475de940386a902030f60804a1f66
42+
SmartCodable: 744380d15166c824dcfbcd4d6827c547609e59f1
4343
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
4444

4545
PODFILE CHECKSUM: 7f3af03f81934df0c035518074a7abbec8fa9d3f

Example/Pods/Local Podspecs/SmartCodable.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/SmartCodable/SmartCodable-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/SmartCodable/TestViewController.swift

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ class TestViewController: BaseViewController {
3535
override func viewDidLoad() {
3636
super.viewDidLoad()
3737

38+
39+
}
40+
41+
42+
43+
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
3844
let dict: [String: Any] =
3945
[
4046
"location" : "suzhou",
@@ -46,12 +52,9 @@ class TestViewController: BaseViewController {
4652

4753
let transDict = model.toDictionary() ?? [:]
4854
print(transDict)
49-
}
50-
51-
52-
53-
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
54-
55+
56+
let json = model.toJSONString() ?? ""
57+
print(json)
5558

5659
}
5760

@@ -65,5 +68,6 @@ class TestViewController: BaseViewController {
6568
struct BaseModel: SmartCodable {
6669
var name: String = ""
6770
var age: Int = 0
71+
6872
}
6973
}

SmartCodable.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
Pod::Spec.new do |s|
1414
s.name = 'SmartCodable'
15-
s.version = '4.3.7-beta'
15+
s.version = '4.3.8'
1616
s.summary = 'Swift数据解析库'
1717

1818
s.homepage = 'https://github.com/intsig171'

0 commit comments

Comments
 (0)