From feda86f5ba37070b04e14187d9badcd49f49dfeb Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 6 Jan 2017 16:06:09 +0100 Subject: [PATCH] Do not freeze UITableView when cancelling swipe to delete to quickly --- Classes/LinphoneUI/UICheckBoxTableView.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Classes/LinphoneUI/UICheckBoxTableView.m b/Classes/LinphoneUI/UICheckBoxTableView.m index f153f58cc..abcfc8c0c 100644 --- a/Classes/LinphoneUI/UICheckBoxTableView.m +++ b/Classes/LinphoneUI/UICheckBoxTableView.m @@ -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) {