-
-
Save soffes/356498 to your computer and use it in GitHub Desktop.
This file contains 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
// | |
// roommateappAppDelegate.m | |
// roommateapp | |
// | |
// Created by Court Simas on 4/4/10. | |
// Copyright Court Simas 2010. All rights reserved. | |
// | |
#import "roommateappAppDelegate.h" | |
#import "RootViewController.h" | |
#import "CourtController.h" | |
@implementation roommateappAppDelegate | |
@synthesize window; | |
@synthesize tabBarController; | |
- (void)applicationDidFinishLaunching:(UIApplication *)application { | |
tabBarController = [[UITabBarController alloc] init]; | |
tabBarController.tabBar.alpha = .5; | |
CourtController *courtController = [[CourtController alloc] init]; | |
navigationController = [[UINavigationController alloc] initWithRootViewController:courtController]; | |
[courtController release]; | |
navigationController.navigationBar.tintColor = [UIColor blackColor]; | |
[window addSubview:navigationController.view]; | |
tabBarController.viewControllers = [NSArray arrayWithObjects:navigationController, nil]; | |
[window addSubview:tabBarController.view]; | |
[window makeKeyAndVisible]; | |
} | |
- (void)dealloc { | |
[window release]; | |
[super dealloc]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment