WIP: Updating README and other docs. Some minor fixes

This commit is contained in:
John Rommel Estropia
2017-05-22 01:27:38 +09:00
parent da3a9590ac
commit b9b96d1a35
13 changed files with 380 additions and 326 deletions

View File

@@ -91,7 +91,7 @@ extension NSManagedObjectContext: FetchableSource, QueryableSource {
@nonobjc
public func fetchExisting<T: DynamicObject, S: Sequence>(_ objects: S) -> [T] where S.Iterator.Element == T {
return objects.flatMap({ self.fetchExisting($0.cs_toRaw().objectID) })
return objects.flatMap({ self.fetchExisting($0.cs_id()) })
}
@nonobjc