Say the user selected a row in a tableview, and now we're done with this view controller:- (void)tableView: (UITableView *) tableView didSelectRowAtIndexPath: (NSIndexPath *) indexPath { // might want someone to know what the user picked. [_delegate kindChooser: self choseWorkoutType: mapRowToWorkoutType(indexPath.row)]; // pop ourselves off the stack. [self.navigationController popViewControllerAnimated: YES]; } // didSelectRowAtIndexPath