소스 검색

invalid name

Daniel Zlotin 7 년 전
부모
커밋
b5b8d6218a
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1
    1
      ios/RNN.h
  2. 1
    1
      ios/RNN.m
  3. 1
    1
      ios/ReactNativeNavigation.m

+ 1
- 1
ios/RNN.h 파일 보기

@@ -8,7 +8,7 @@
8 8
 
9 9
 +(instancetype)instance;
10 10
 
11
--(void)init:(NSURL*)jsCodeLocation launchOptions:(NSDictionary*)launchOptions;
11
+-(void)bootstrap:(NSURL*)jsCodeLocation launchOptions:(NSDictionary*)launchOptions;
12 12
 
13 13
 -(RCTBridge*)bridge;
14 14
 

+ 1
- 1
ios/RNN.m 파일 보기

@@ -27,7 +27,7 @@
27 27
     return sharedInstance;
28 28
 }
29 29
 
30
--(void)init:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions
30
+-(void)bootstrap:(NSURL *)jsCodeLocation launchOptions:(NSDictionary *)launchOptions
31 31
 {
32 32
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onJavaScriptLoaded) name:RCTJavaScriptDidLoadNotification object:nil];
33 33
     // this will load the JS bundle

+ 1
- 1
ios/ReactNativeNavigation.m 파일 보기

@@ -18,7 +18,7 @@
18 18
     
19 19
     [RNNSplashScreen show];
20 20
     
21
-    [RNN.instance init:jsCodeLocation launchOptions:launchOptions];
21
+    [RNN.instance bootstrap:jsCodeLocation launchOptions:launchOptions];
22 22
 }
23 23
 
24 24
 @end