Browse Source

remove debug code

Ran Greenberg 8 years ago
parent
commit
560f752fca
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      ios/RNNBridgeModule.m

+ 0
- 3
ios/RNNBridgeModule.m View File

18
 	[self assertReady];
18
 	[self assertReady];
19
 	RNNControllerFactory *factory = [[RNNControllerFactory alloc] initWithRootViewCreator:[RNNReactRootViewCreator new]];
19
 	RNNControllerFactory *factory = [[RNNControllerFactory alloc] initWithRootViewCreator:[RNNReactRootViewCreator new]];
20
 	UIViewController *vc = [factory createLayout:layout];
20
 	UIViewController *vc = [factory createLayout:layout];
21
-//	if([vc isKindOfClass:[RNNSideMenuController class]]) {
22
-//		vc = ((RNNSideMenuController*)vc).sideMenu;
23
-//	}
24
 	UIApplication.sharedApplication.delegate.window.rootViewController = vc;
21
 	UIApplication.sharedApplication.delegate.window.rootViewController = vc;
25
 	[UIApplication.sharedApplication.delegate.window makeKeyAndVisible];
22
 	[UIApplication.sharedApplication.delegate.window makeKeyAndVisible];
26
 }
23
 }