mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-12-04 05:56:20 +01:00
[FetchedResultsControllerDelegate] Remove duplicate code.
This commit is contained in:
1 parent
341ec5e771
commit
0c483e0e19
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 {
|
switch actualType {
|
||||||
|
|
||||||
case .update:
|
case .update:
|
||||||
|
|||||||
Reference in new issue
Block a user