mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-26 03:11:14 +01:00
added ObjectSnapshot as foundation for datasources API
This commit is contained in:
@@ -267,6 +267,10 @@ public enum TransformableContainer<O: CoreStoreObject> {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
internal var valueForSnapshot: Any {
|
||||
return self.value
|
||||
}
|
||||
|
||||
|
||||
// MARK: Private
|
||||
@@ -480,6 +484,10 @@ public enum TransformableContainer<O: CoreStoreObject> {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
internal var valueForSnapshot: Any {
|
||||
return self.value as Any
|
||||
}
|
||||
|
||||
|
||||
// MARK: Private
|
||||
|
||||
Reference in New Issue
Block a user