Skip to content

Instantly share code, notes, and snippets.

@ratkins
Created July 10, 2014 13:54
Show Gist options
  • Save ratkins/d35e9ca0e033da915fb8 to your computer and use it in GitHub Desktop.
Save ratkins/d35e9ca0e033da915fb8 to your computer and use it in GitHub Desktop.
Appending table rows.
[self.billingEmailSection.contacts addObject:@""];
NSArray *blankRows = @[
[NSIndexPath indexPathForItem:[self.billingEmailSection.contacts count] inSection:4]
];
[self.tableView insertRowsAtIndexPaths:blankRows withRowAnimation:UITableViewRowAnimationBottom];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment