mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-19 15:31:21 +02:00
update demo app
This commit is contained in:
@@ -16,9 +16,9 @@ import CoreStore
|
|||||||
|
|
||||||
final class Palette: CoreStoreObject {
|
final class Palette: CoreStoreObject {
|
||||||
|
|
||||||
let hue = Value.Required<Int>("hue")
|
let hue = Value.Required<Int>("hue", initial: 0)
|
||||||
let saturation = Value.Required<Float>("saturation")
|
let saturation = Value.Required<Float>("saturation", initial: 0)
|
||||||
let brightness = Value.Required<Float>("brightness")
|
let brightness = Value.Required<Float>("brightness", initial: 0)
|
||||||
|
|
||||||
let colorName = Value.Optional<String>(
|
let colorName = Value.Optional<String>(
|
||||||
"colorName",
|
"colorName",
|
||||||
|
|||||||
Reference in New Issue
Block a user