Skip to content

Instantly share code, notes, and snippets.

@akatreyt
Created May 7, 2014 23:49
Show Gist options
  • Save akatreyt/5d93d510cf5e005981e3 to your computer and use it in GitHub Desktop.
Save akatreyt/5d93d510cf5e005981e3 to your computer and use it in GitHub Desktop.
[tableView beginUpdates];
NSDictionary *theme = [self.allThemes objectAtIndex:indexPath.row];
[self.allThemes removeObject:theme];
[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
[tableView endUpdates];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment