←Older revision |
Revision as of 10:02, 21 May 2014 |
Line 1: |
Line 1: |
- | Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])! | + | Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])! Here is a picture of sample [[MineSweeper]] game running on [[iOS]]: |
| | | |
- | Steps to see [[MineSweeper]] on [[iOS]]. First of all general setup of the project:
| + | [[Image:MineSweeper-iOS.png]] |
| + | |
| + | However you don't have to just watch. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application. First of all perform general setup of the project: |
| | | |
| Does not work yet! Waiting for upload of binaries to [[maven]] central! | | Does not work yet! Waiting for upload of binaries to [[maven]] central! |
Line 7: |
Line 9: |
| <source lang="bash"> | | <source lang="bash"> |
| $ hg clone http://source.apidesign.org/hg/html~demo/ | | $ hg clone http://source.apidesign.org/hg/html~demo/ |
| + | $ cd html~demo |
| $ hg up -C 3bad49b62dfa | | $ hg up -C 3bad49b62dfa |
| $ mvn clean install -DskipTests | | $ mvn clean install -DskipTests |
| </source> | | </source> |
| | | |
- | Now you can launch the minesweeper in your [[iOS]] emulator: | + | Now you can launch [[MineSweeper]] in your [[iOS]] emulator: |
| | | |
| <source lang="bash"> | | <source lang="bash"> |
Line 18: |
Line 21: |
| </source> | | </source> |
| | | |
- | The [[RoboVM]] compilation may take its time, but at the end you should see [[MineSweeper]] in [[iOS]] simulator. Then it should be also easy to run the application on iPhone simulator or on real device: | + | The [[RoboVM]] compilation may take its time, but at the end you should see [[MineSweeper]] running. Then it should be also easy to run the application on iPhone simulator or on real device: |
| | | |
| <source lang="bash"> | | <source lang="bash"> |