Browse Source

invalid name

Daniel Zlotin 8 years ago
parent
commit
b5b8d6218a
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      ios/RNN.h
  2. 1
    1
      ios/RNN.m
  3. 1
    1
      ios/ReactNativeNavigation.m

+ 1
- 1
ios/RNN.h View File

@@ -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 View File

@@ -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 View File

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