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

@@ -72,7 +72,7 @@ fileprivate func createFRC(fromContext context: NSManagedObjectContext, from: CS
let controller = CoreStoreFetchedResultsController(
context: context,
fetchRequest: CoreStoreFetchRequest().dynamicCast(),
fetchRequest: NSFetchRequest<NSManagedObject>(),
from: from.bridgeToSwift,
sectionBy: sectionBy?.bridgeToSwift,
applyFetchClauses: { (fetchRequest) in