Skip to content

Instantly share code, notes, and snippets.

@fcy
Created March 18, 2013 18:34
Show Gist options
  • Save fcy/5189583 to your computer and use it in GitHub Desktop.
Save fcy/5189583 to your computer and use it in GitHub Desktop.
# AppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UIViewController *rootController = [[UIStoryBoard storyboardWithName:@"MainStoryBoard" bundle:nil] instantiateInitialViewController];
PPRevealSideViewController *revealSideViewController = [[PPRevealSideViewController alloc] initWithRootViewController:rootController];
self.window.rootViewController = _revealSideViewController;
[window makeKeyAndVisible];
return YES;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment