瀏覽代碼

update to controllers 1.3.0

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

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

24
   // **********************************************
24
   // **********************************************
25
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
25
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
26
   self.window.backgroundColor = [UIColor whiteColor];
26
   self.window.backgroundColor = [UIColor whiteColor];
27
-  [[RCCManager sharedIntance] initBridgeWithBundleURL:jsCodeLocation];
27
+  [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation];
28
 
28
 
29
   /*
29
   /*
30
   // original RN bootstrap - remove this part
30
   // original RN bootstrap - remove this part

+ 1
- 1
package.json 查看文件

21
     "react-native": ">=0.19.0"
21
     "react-native": ">=0.19.0"
22
   },
22
   },
23
   "dependencies": {
23
   "dependencies": {
24
-    "react-native-controllers": "^1.2.6"
24
+    "react-native-controllers": "^1.3.0"
25
   },
25
   },
26
   "optionalDependencies": {
26
   "optionalDependencies": {
27
     "react-redux": "*"
27
     "react-redux": "*"