Skip to content

Instantly share code, notes, and snippets.

@0oneo
Created September 20, 2013 14:41
Show Gist options
  • Save 0oneo/6638589 to your computer and use it in GitHub Desktop.
Save 0oneo/6638589 to your computer and use it in GitHub Desktop.
// pls check http://t.cn/z8ncg24
[CATransaction begin];
[CATransaction setCompletionBlock:^{
[weakself.tableView reloadData];
}];
[weakself.tableView beginUpdates];
[weakself.tableView deleteSections:indexSet withRowAnimation:UITableViewRowAnimationFade];
[weakself.tableView endUpdates];
[CATransaction commit];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment