Sample project about table cell with segue to other view controller
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
TableCellToView.xcodeproj Initial commit Aug 9, 2012
TableCellToView Initial commit Aug 9, 2012
readme.md added readme Aug 9, 2012

readme.md

u can wire from TableViewController to other view.

ss

For example, at first, you can set TableViewCell as below:

ss

When tap the cell, the view with the number of tapped cell.

ss

To send the number of tapped cell to next ViewController, you can use performSegueWithIdentifier:sender: and prepareForSegue:sender as below.

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    [self performSegueWithIdentifier:@"showDetail" 
                              sender:[NSString stringWithFormat:@"%d", indexPath.row + 1]];
}

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    DetailViewController *c = segue.destinationViewController;
    c.string = (NSString *)sender;
}