I\'m getting the UITableViewCell a UIButton belongs to like this:
-(void)buttonHandler:(UIButton *)button { OrderCell *cell = [[button superview] superv
The best way to do this is:
CGPoint buttonPosition = [sender convertPoint:CGPointZero toView:self.tableView]; NSIndexPath *indexPath = [self.tableView indexPathForRowAtPoint:buttonPosition]; UITableViewCell *cell = (UITableViewCell*)[self.tableView cellForRowAtIndexPath:indexPath];