Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. // OPTION 1
  2. // Load from development server. Start the server from the repository root:
  3. //
  4. // $ npm start
  5. //
  6. // To run on device, change `localhost` to the IP address of your computer, and make sure your computer and
  7. // iOS device are on the same Wi-Fi network.
  8. //jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"];
  9.  
  10. // OPTION 2
  11. // Load from pre-bundled file on disk. To re-generate the static bundle, run
  12. //
  13. // $ curl http://localhost:8081/index.ios.bundle -o main.jsbundle
  14. //
  15. // and uncomment the next following line
  16. jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
  17.  
  18. $ ls iOS
  19. AppDelegate.h Base.lproj Info.plist main.m
  20. AppDelegate.m Images.xcassets main.jsbundle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement