Simple test to see how well communication between Angular (1 in this case, but will work just as well with 2) and Swift works.
Ignore the boilerplate stuff from angular-seed and the weird layout/html...
- git clone
- Run app
- cd into AngularApp
- npm install
- npm start
- Open Safari
- Open the console for simulator
- Refresh the webview (from Safari console)
- Switch to Simulator, go to "view2" in the menu
- Click on "Do some magic!"
- Keep an eye on both Xcode console and Safari console ;)