Created
June 26, 2014 11:20
-
-
Save mikeabdullah/83170260dfbc5e3e890f to your computer and use it in GitHub Desktop.
Detecting if in editing mode, or just editing a single table row alternative
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath { | |
[super setEditing:YES animated:YES]; | |
} | |
- (void)setEditing:(BOOL)editing animated:(BOOL)animated { | |
[super setEditing:editing animated:animated]; | |
// Adjust toolbar etc. acordingly | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment