Skip to content

Instantly share code, notes, and snippets.

@mikeabdullah
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeabdullah/62c0acc03f9d6d19e959 to your computer and use it in GitHub Desktop.
Save mikeabdullah/62c0acc03f9d6d19e959 to your computer and use it in GitHub Desktop.
Switching on allowsMultipleSelectionDuringEditing as needed
- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
[super setEditing:editing animated:animated];
if (!_isEditingIndividualRow) {
self.tableView.allowsMultipleSelectionDuringEditing = editing;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment