Commit 6bc98f6
committed
Update STBaseProject.podspec
Enhance STBaseModel and STJSONValue with improved locking and type handling
- Updated STBaseModel's st_withLock method to support throwing closures, enhancing error handling during locked operations.
- Refined deallocation logging in STBaseModel for better type clarity.
- Introduced caching mechanisms for property names and attributes in STBaseModel to optimize performance during JSON encoding/decoding.
- Enhanced STJSONValue initialization to better differentiate between NSNumber types, improving type safety and handling of boolean values.1 parent f010cd8 commit 6bc98f6
5 files changed
Lines changed: 547 additions & 509 deletions
File tree
- Sources
- STBaseModel
- STTools
- Tests/STLocationTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments