Skip to content

Instantly share code, notes, and snippets.

@abbeyjackson
Created September 29, 2015 19:04
Show Gist options
  • Save abbeyjackson/b8bb7a049cd67eab319e to your computer and use it in GitHub Desktop.
Save abbeyjackson/b8bb7a049cd67eab319e to your computer and use it in GitHub Desktop.
get indexPath (index path) of current cell
UITableViewCell *cell = sender;
NSIndexPath *indexPath = [self.tableView indexPathForCell:cell];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment