Do not freeze UITableView when cancelling swipe to delete to quickly

This commit is contained in:
Benjamin Reis 2017-01-06 16:06:09 +01:00
parent 18820ca543
commit feda86f5ba

View file

@ -73,6 +73,13 @@
[self toggleRowSelectionForRowAtIndexPath:indexPath];
}
/* Empty methods allow to not freeze UI...*/
- (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(nonnull NSIndexPath *)indexPath {
}
- (void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath {
}
- (void)selectToggleButton:(BOOL)select {
_toggleSelectionButton.selected = select;
if (select) {