How do I, from a cell, get its indexPath in a UITableView?
I\'ve searched around stack overflow and google, but all the information is on t
The answer to this question actually helped me a lot.
I used NSIndexPath *indexPath = [self.tableView indexPathForCell:sender];
The sender in my case was a UITableViewCell and comes from the prepareForSegue method.
I used this because I did not have a TableViewControllerbut i had UITableView property outlet
I needed to find out the title of the Cell and hence needed to know the indexPath of it.
Hope this helps anyone!