Skip to content

Commit

Permalink
move to RN 0.11.0-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
xinthink committed Sep 4, 2015
1 parent 7a758bc commit 832fcab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Example/iOS/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];

// for RN 0.11
// RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
// moduleName:@"Example"
// initialProperties:@{}
// launchOptions:launchOptions];

// before RN 0.11
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"Example"
launchOptions:launchOptions];
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A set of UI components, in the purpose of introducing [Material Design][md] to a

[npm-badge]: https://img.shields.io/npm/v/react-native-material-kit.svg
[npm]: https://www.npmjs.com/package/react-native-material-kit
[rn-badge]: https://img.shields.io/badge/react--native-v0.10.0-05A5D1.svg
[rn-badge]: https://img.shields.io/badge/react--native-v0.11.x-05A5D1.svg
[rn]: https://facebook.github.io/react-native
[md]: http://www.google.com/design/spec/material-design/introduction.html
[license-badge]: https://img.shields.io/dub/l/vibe-d.svg
Expand Down

0 comments on commit 832fcab

Please sign in to comment.