error prepareForSegue between a viewController and a tableViewController
Posted
by
beta
on Stack Overflow
See other posts from Stack Overflow
or by beta
Published on 2012-12-07T23:01:38Z
Indexed on
2012/12/07
23:03 UTC
Read the original article
Hit count: 196
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString:@"My_TableView"])
{
MyTableViewController *destViewController = segue.destinationViewController;
destViewController.data = data;
}
}
Hi, I have a problem doing a segue (modal) between a ViewController to a TableViewController. The name of the segue between the ViewController and the NavigationController is "My_TableView".
Compiler gives me this error:
unrecognized selector sent to instance 0x9275b50
what's the problem?
© Stack Overflow or respective owner