Created
December 12, 2014 02:32
-
-
Save mmesarina/80d457e2714790bb8533 to your computer and use it in GitHub Desktop.
TipCalculator AppDelegate loads ViewController from mainStoryboard
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
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
// Override point for customization after application launch. | |
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; | |
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; | |
TipViewController *tipViewController = [storyboard instantiateInitialViewController]; | |
//self.window.backgroundColor = [UIColor whiteColor]; | |
self.window.rootViewController = tipViewController; | |
[self.window makeKeyAndVisible]; | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment