Last active
August 29, 2015 14:27
-
-
Save casspangell/e7b91e68841d72e9c884 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
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
// Override point for customization after application launch. | |
[GMSServices provideAPIKey:@"AIzaSyAZWKELBYsRrFTjmd572Wh2iLpB92tZH2o"]; | |
// self.dynamicsController = drawerVC; | |
// self.window.rootViewController = self.dynamicsController; | |
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; | |
WelcomeViewController *welcomeVC = [WelcomeViewController new]; | |
[self.dynamicsController setPaneViewController:welcomeVC]; | |
MSDynamicsDrawerViewController *drawerVC = [MSDynamicsDrawerViewController new]; | |
drawerVC.paneViewController = welcomeVC; | |
SettingsViewController *settingsMenu = [SettingsViewController new]; | |
[self.dynamicsController setDrawerViewController:settingsMenu forDirection:MSDynamicsDrawerDirectionLeft]; | |
self.window.rootViewController = welcomeVC; | |
[self.window makeKeyAndVisible]; | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment