* [ios] add carthage compatible
1 file changed
tree: 5d6c4ae29b5d6989675556ad567a437b06112afb
  1. .github/
  2. android/
  3. bin/
  4. build/
  5. doc/
  6. examples/
  7. flow-typed/
  8. html5/
  9. ios/
  10. packages/
  11. pre-build/
  12. scripts/
  13. test/
  14. .babelrc
  15. .eslintignore
  16. .eslintrc
  17. .flowconfig
  18. .gitignore
  19. .rat-excludes
  20. .travis.yml
  21. .wwprc
  22. CHANGELOG.md
  23. CONTRIBUTING.md
  24. Dangerfile-ios
  25. dangerfile.js
  26. DISCLAIMER
  27. Gemfile
  28. Gemfile.lock
  29. HOW-TO-BUILD.md
  30. index.html
  31. LICENSE
  32. NOTICE
  33. package.json
  34. POSSIBLE-NOTICES-FOR-BIN-DIST
  35. README.md
  36. RUN-RAT.md
  37. SCRIPTS.md
  38. start
  39. vue.html
  40. WeexSDK.podspec
README.md

Weex

A framework for building Mobile cross-platform UI.

AndroidDownload iOSPod version Carthage compatible HTML5npm version

CircleCI

Support Android 4.1 (API 16) and iOS 8.0+.

For Windows

Please INSTALL Git for Windows and run all the following commands in git-bash.

Meet Weex

  • Install Weex Playground App to see examples we already written.
  • If you want to write a demo, install weex-toolkit in Node.js 4.0+ and
  • Run weex init to generate & start a simple project in an empty folder.
  • Follow the instructions in the project README.
  • Enjoy it.

Use Weex

Android

  • Prerequisites
  • Run playground, In Android Studio
    • Open android/playground
    • In app/java/com.alibaba.weex/IndexActivity, modify CURRENT_IP to your local IP
    • Click (Run button)
  • Add an example

Runtime

On Android Platform , Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.

iOS

  • run playground

    • Prerequisites
    • Run playground
      • cd ios/playground
      • pod install
      • Open WeexDemo.xcworkspace in Xcode
      • Click (Run button) or use default shortcut cmd + r in Xcode
      • If you want to run the demo on your device, don't need to modify CURRENT_IP manually. In DemoDefine.h(you can search this file by Xcode default shortcut cmd + shift + o), modify CURRENT_IP to your local IP
    • Add an example
  • integrate to your application

    • CocoaPods Add the following line to your Podfile: pod 'WeexSDK' run pod install
    • Carthage Add the following line to your Cartfile:
        github "apache/incubator-weex"
      
      Run carthage update, and you should now have the latest version of WeexSDK in your Carthage folder.

Scripts

See SCRIPTS.md for more information.

IDE Plugin & Syntax Highlight & DevTool

Weex team have developed a DevTool to help you to improve we file debug efficiency.

See more stuff on this wiki page

Weex Community

Contributing

See Weex Contributing Guide for more information.