What if you need to write a completely dynamic app, and you need to have the ability of updating the App’s contents remotely, without the need of pushing a new build to the AppStore?.
What if you need to write javascript code, which needs to interact with your iOS code?.
Yeah. I had that problem. Long short story, i’m testing a nice framework called clutch.
Clutch has a nice JavaScript and iOS SDK, which smoothens the interaction between those two technologies. When you ship the app, you bundle a version of the webApp in it.
If the app has no internet access, it will rely on that bundled web. And as soon as you launch it, it gets sync’ed with the backend. (You can actually push ‘new version’ to the Clutch backend).
So far… i’m loving it. Go, try it… and let me know what you think!.
If you just need to build a dumb iOS and JS bridge, i suggest you also check out this github project, and this one.