didSelectRowAtIndexPath being called after viewDidLoad of the called view
- by Serguei Fedorov
I am trying to pass variables over to the new view. I have the following code:
appDelegate *dataCenter = (AppDelegate*)[[UIApplication sharedApplication] delegate];
dataCenter.myVariable = [array objectAtIndex:indexPath.row];
in the
didSelectRowAtIndexPath
of the calling view. However, the issue that I have is that this variable is empty in…