[ReactKit] Add shake development menu

This commit is contained in:
Alex Kotliarskyi
2015-03-25 10:38:32 -07:00
parent 20585eb935
commit d0d6dbffb3
4 changed files with 111 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
#import "AppDelegate.h"
#import "RCTDevelopmentViewController.h"
#import "RCTRootView.h"
@implementation AppDelegate
@@ -41,7 +42,7 @@
rootView.moduleName = @"UIExplorerApp";
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [[UIViewController alloc] init];
UIViewController *rootViewController = [[RCTDevelopmentViewController alloc] init];
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];