mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-05-08 17:04:21 +02: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