Under the Bridge

Cordova Embedding

Now here’s something we hadn’t noticed; these days it’s possible to use Apache Cordova aka PhoneGap as a plugin for your real apps — matter of fact, that’s how a full PhoneGap is structured nowadays:

How to use Cordova as a Component

Beginning with Cordova 1.4, you can use Cordova as a component in your iOS applications. This component is code-named “Cleaver”.

New Cordova-based applications created using the Xcode template provided in Cordova 1.4 or greater uses Cleaver, and this template is considered the reference implementation for Cleaver…

That brings up some interesting hybrid app possibilities, and here’s three examples to check out:

RandyMcMillan / ModalCleaverView2 – popup modal

RandyMcMillan / WikiCleaverView – Wikipedia

RandyMcMillan / Cleaver-RSSReader – RSS reader

Something to keep handy in your bag of tricks, especially if you’ve got a cross-platform product to manage, yes?

h/t : ManiacDev!

UPDATE:

Lots of good tips in A Primer on Hybrid Apps for iOS!

0