mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-23 01:49:53 +01:00
minor
This commit is contained in:
@@ -380,7 +380,7 @@ public enum TransformableContainer<O: CoreStoreObject> {
|
||||
|
||||
return customGetter(PartialObject<O>(object))
|
||||
}
|
||||
return object.value(forKey: self.keyPath) as! V?
|
||||
return object.value(forKey: self.keyPath) as? V
|
||||
}
|
||||
}
|
||||
set {
|
||||
@@ -489,7 +489,7 @@ public enum TransformableContainer<O: CoreStoreObject> {
|
||||
}
|
||||
customSetter(
|
||||
PartialObject<O>(rawObject),
|
||||
newValue as! V?
|
||||
newValue as? V
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user