added ObjectSnapshot as foundation for datasources API

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

View File

@@ -62,7 +62,7 @@ extension NSManagedObjectContext: FetchableSource, QueryableSource {
return object
}
return cs_dynamicType(of: object).cs_fromRaw(object: existingRawObject)
return object.runtimeType().cs_fromRaw(object: existingRawObject)
}
catch {