mirror of
https://github.com/leanote/leanote-ios.git
synced 2025-10-15 23:54:46 +00:00
Handle all enumeration values in switch
This commit is contained in:
@@ -725,6 +725,9 @@
|
|||||||
[tableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]
|
[tableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]
|
||||||
withRowAnimation:UITableViewRowAnimationFade];
|
withRowAnimation:UITableViewRowAnimationFade];
|
||||||
break;
|
break;
|
||||||
|
case NSFetchedResultsChangeUpdate:
|
||||||
|
case NSFetchedResultsChangeMove:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -693,6 +693,9 @@
|
|||||||
[tableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]
|
[tableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]
|
||||||
withRowAnimation:UITableViewRowAnimationFade];
|
withRowAnimation:UITableViewRowAnimationFade];
|
||||||
break;
|
break;
|
||||||
|
case NSFetchedResultsChangeMove:
|
||||||
|
case NSFetchedResultsChangeUpdate:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -573,6 +573,9 @@
|
|||||||
[tableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]
|
[tableView deleteSections:[NSIndexSet indexSetWithIndex:sectionIndex]
|
||||||
withRowAnimation:UITableViewRowAnimationFade];
|
withRowAnimation:UITableViewRowAnimationFade];
|
||||||
break;
|
break;
|
||||||
|
case NSFetchedResultsChangeMove:
|
||||||
|
case NSFetchedResultsChangeUpdate:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user