Merge pull request #154 from ruslanskorb/remove-duplicate-code

[FetchedResultsControllerDelegate] Remove duplicate code.
This commit is contained in:
John Estropia
2017-03-07 12:58:18 +09:00
committed by GitHub

View File

@@ -132,16 +132,6 @@ internal final class FetchedResultsControllerDelegate<EntityType: NSManagedObjec
}
}
if #available(iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
// I don't know if iOS 10 even attempted to fix this mess...
if case .update = actualType,
indexPath != nil && newIndexPath != nil {
actualType = .move
}
}
switch actualType {
case .update: