mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-24 10:21:40 +01:00
added demo for classic ListMonitor
This commit is contained in:
@@ -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