Skip to content

Instantly share code, notes, and snippets.

@nfarah86
Last active May 4, 2016 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nfarah86/b5e7b8caad083ed03409246378c4d41c to your computer and use it in GitHub Desktop.
Save nfarah86/b5e7b8caad083ed03409246378c4d41c to your computer and use it in GitHub Desktop.
Segue to New ViewController
// omitted a ton of code
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[self performSegueWithIdentifier:@"showDetail" sender:self];
[self.tableView deselectRowAtIndexPath:indexPath animated:YES];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment