SwiftPM support

This commit is contained in:
John Estropia
2019-02-12 15:48:50 +09:00
parent 5b365c642d
commit eeec3979ee
23 changed files with 236 additions and 249 deletions

View File

@@ -205,7 +205,7 @@ fileprivate func createFRC<D: NSManagedObject>(fromContext context: NSManagedObj
let controller = CoreStoreFetchedResultsController(
context: context,
fetchRequest: CoreStoreFetchRequest().dynamicCast(),
fetchRequest: NSFetchRequest<NSManagedObject>(),
from: from,
sectionBy: sectionBy,
applyFetchClauses: { (fetchRequest) in