瀏覽代碼

improved docs for example project

talkol 9 年之前
父節點
當前提交
3cbd9f051a
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. 6
    2
      example/ios/example/AppDelegate.m

+ 6
- 2
example/ios/example/AppDelegate.m 查看文件

@@ -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];