diff --git a/iOS/AppDelegate.m b/iOS/AppDelegate.m index 69312fd6..369f959e 100644 --- a/iOS/AppDelegate.m +++ b/iOS/AppDelegate.m @@ -37,7 +37,7 @@ // jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation - moduleName:@"AwesomeProject" + moduleName:@"LearnGitBranching" launchOptions:launchOptions]; self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; diff --git a/iOS/Base.lproj/LaunchScreen.xib b/iOS/Base.lproj/LaunchScreen.xib index 50985956..855f5ad2 100644 --- a/iOS/Base.lproj/LaunchScreen.xib +++ b/iOS/Base.lproj/LaunchScreen.xib @@ -1,8 +1,8 @@ - + - + @@ -13,25 +13,33 @@ - + + diff --git a/src/js/native/index.ios.js b/src/js/native/index.ios.js index 1ee3fce1..ea74e757 100755 --- a/src/js/native/index.ios.js +++ b/src/js/native/index.ios.js @@ -12,11 +12,12 @@ var React = require('react-native'); var { AppRegistry, StyleSheet, + Image, Text, View, } = React; -var AwesomeProject = React.createClass({ +var LearnGitBranching = React.createClass({ render: function() { return ( @@ -83,4 +84,4 @@ var styles = StyleSheet.create({ }, }); -AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject); +AppRegistry.registerComponent('LearnGitBranching', () => LearnGitBranching);