added ObjectSnapshot as foundation for datasources API

This commit is contained in:
John Estropia committed 2019-07-10 08:11:42 +09:00
1 parent cf46b45e8e
commit 79655ffde5
50 files changed
+434 -81

No files matched your search

+8
View File
@@ -263,6 +263,10 @@ public enum ValueContainer<O: CoreStoreObject> {
}
}
internal var valueForSnapshot: Any {
return self.value
}
// MARK: Private
@@ -476,6 +480,10 @@ public enum ValueContainer<O: CoreStoreObject> {
}
}
internal var valueForSnapshot: Any {
return self.value as Any
}
// MARK: Private