mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-22 16:34:05 +01:00
added demo for classic ListMonitor
This commit is contained in:
1 parent
007da014f8
commit
8d7f282743
63 files changed
+1463
-102
No files matched your search
@@ -1914,14 +1914,14 @@ class Vehicle: CoreStoreObject {
|
||||
Built-in encoders such as `FieldCoders.NSCoding`, `FieldCoders.Json`, and `FieldCoders.Plist` are available, and custom encoding/decoding is also supported:
|
||||
```swift
|
||||
class Person: CoreStoreObject {
|
||||
<br />
|
||||
|
||||
struct CustomInfo: Codable {
|
||||
// ...
|
||||
}
|
||||
<br />
|
||||
|
||||
@Field.Coded("otherInfo", coder: FieldCoders.Json.self)
|
||||
var otherInfo: CustomInfo?
|
||||
<br />
|
||||
|
||||
@Field.Coded(
|
||||
"photo",
|
||||
coder: {
|
||||
|
||||
Reference in new issue
Block a user