Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gitaaron/phonegapstripped

Bidirectional javascript-objective c skeleton application taken from phonegap.
https://github.com/gitaaron/phonegapstripped

Last synced: about 2 months ago
JSON representation

Bidirectional javascript-objective c skeleton application taken from phonegap.

Awesome Lists containing this project

README

        

Introduction
------------
PhoneGapStripped is a fork of phonegap-iphone that enables developers to incorporate the PhoneGap library into their own pre-existing iPhone application in order to achieve a bidirectional objective-c <-> javascript bridge.

Getting started
---------------
* build the project and you should see two buttons
-> pressing one will call an objective-c function from javascript
-> pressing the other will call a javascript function from objective-c

* code you will probably want to modify is in PhoneGapStrippedViewController.m, MyCustomObj.m and index.html

* a caveat about copying files over to your project - make sure you phonegap.js is not compiled on build and that it is added as a target to copy bundle resources

Requirements
------------
* xcode