Code:
-(void) hereIsaMethodInMyAppDelegate {
tabBarController.selectedIndex = 1;
}
But before I switch tabs, I want to set some instance variables and perhaps call some instance methods. Does the instance of tab 1's view controller exist before "tabBarController.selectedIndex = 1;" ?
How do I message the tab's view controller? Where is the instance created? What is it called?