mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-23 09:51:30 +01:00
WIP: docs
This commit is contained in:
@@ -40,11 +40,8 @@ extension FieldContainer {
|
||||
@Field.Stored("species")
|
||||
var species = ""
|
||||
|
||||
@Field.Virtual("pluralName", customGetter: Animal.pluralName(_:))
|
||||
var pluralName: String = ""
|
||||
|
||||
@Field.Coded("color", coder: FieldCoders.Plist.self)
|
||||
var color: UIColor?
|
||||
@Field.Stored("nickname")
|
||||
var nickname: String?
|
||||
}
|
||||
```
|
||||
- Important: `Field` properties are required to be used as `@propertyWrapper`s. Any other declaration not using the `@Field.Stored(...) var` syntax will be ignored.
|
||||
|
||||
Reference in New Issue
Block a user