mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-18 06:38:28 +01:00
minor
This commit is contained in:
1 parent
c112a84c0a
commit
6b9a4b480b
4 files changed
+23
-10
No files matched your search
@@ -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