Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Calls the loadGames method in CheckInViewController
UITabBarController *tabBarController = (UITabBarController *)self.presentingViewController;
UINavigationController *navController = [tabBarController.viewControllers objectAtIndex:0];
CheckInViewController *checkInViewController = [navController.viewControllers objectAtIndex:0];
SettingsTableViewController *settingsTableViewController = [navController.viewControllers objectAtIndex:0];
[checkInViewController loadGames];
[settingsTableViewController loadSettings];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.