Created
October 21, 2010 13:07
-
-
Save aurels/638446 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a tabBarViewController | |
tabBarController = [[UITabBarController alloc] init]; | |
// Create the view and the navigator controller for Contact | |
contactNavController = [[UINavigationController alloc] init]; | |
ContactsViewController *contactsViewController = [[ContactsViewController alloc] initWithNibName:nil bundle:nil]; | |
[contactsViewController initWithDataManager:dm]; | |
[contactsViewController initWithStyle:UITableViewStylePlain]; | |
contactsViewController.navigationItem.title = @"Contacts"; | |
contactNavController.viewControllers = [NSArray arrayWithObjects:contactsViewController, nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment