I'm working on iPad app using master-detail template were the master tableview
is passing data to a second tableviewController
:
Currently is what I have:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
UITableViewController *secondTableView = [segue destinationViewController];
}
My question is. Why when I try access a property in the secondTableView
for example:
secondTableView.myString = @"goodBye";
I get this error:
Property "myString" not found on object of type "UTableViewController".
My question is how can I fix this or if is a way around this error.
I'll really appreciate your help