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

[FetchedResultsControllerDelegate] Remove duplicate code.
This commit is contained in:
John Estropia authored and GitHub committed 2017-03-07 12:58:18 +09:00
commit 92890d1e1d
1 file changed
-10
@@ -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: