swift 3.1 support

This commit is contained in:
John Estropia
2017-02-07 18:17:40 +09:00
parent 69d96c53d6
commit bdf6308d8f
29 changed files with 81 additions and 56 deletions

View File

@@ -88,7 +88,7 @@ fileprivate func createFRC(fromContext context: NSManagedObjectContext, from: CS
let controller = CoreStoreFetchedResultsController(
context: context,
fetchRequest: CoreStoreFetchRequest().dynamicCast(),
from: from?.bridgeToSwift.upcast(),
from: from?.bridgeToSwift.downcast(),
sectionBy: sectionBy?.bridgeToSwift,
applyFetchClauses: { (fetchRequest) in