Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // OPTION 1
- // Load from development server. Start the server from the repository root:
- //
- // $ npm start
- //
- // To run on device, change `localhost` to the IP address of your computer, and make sure your computer and
- // iOS device are on the same Wi-Fi network.
- //jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"];
- // OPTION 2
- // Load from pre-bundled file on disk. To re-generate the static bundle, run
- //
- // $ curl http://localhost:8081/index.ios.bundle -o main.jsbundle
- //
- // and uncomment the next following line
- jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
- $ ls iOS
- AppDelegate.h Base.lproj Info.plist main.m
- AppDelegate.m Images.xcassets main.jsbundle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement