|
@@ -2,8 +2,12 @@
|
2
|
2
|
|
3
|
3
|
// **********************************************
|
4
|
4
|
// *** DON'T MISS: THE NEXT LINE IS IMPORTANT ***
|
|
5
|
+// **********************************************
|
5
|
6
|
#import "RCCManager.h"
|
6
|
7
|
|
|
8
|
+// IMPORTANT: if you're getting an Xcode error that RCCManager.h isn't found, you've probably ran "npm install"
|
|
9
|
+// with npm ver 2. You'll need to "npm install" with npm 3 (see https://github.com/wix/react-native-navigation/issues/1)
|
|
10
|
+
|
7
|
11
|
#import "RCTRootView.h"
|
8
|
12
|
|
9
|
13
|
@implementation AppDelegate
|
|
@@ -16,8 +20,8 @@
|
16
|
20
|
|
17
|
21
|
|
18
|
22
|
// **********************************************
|
19
|
|
- // *** DON'T MISS: THIS IS HOW WE BOOTSTRAP ***
|
20
|
|
- // React Native Controllers bootstrap
|
|
23
|
+ // *** DON'T MISS: THIS IS HOW WE BOOTSTRAP *****
|
|
24
|
+ // **********************************************
|
21
|
25
|
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
22
|
26
|
self.window.backgroundColor = [UIColor whiteColor];
|
23
|
27
|
[[RCCManager sharedIntance] initBridgeWithBundleURL:jsCodeLocation];
|