Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
iOS JavaScript to Objective-C Bridge. Enables method calls and communication between JavaScript & Objective-C.
C++ C Assembly Python Objective-C IDL Other
Branch: master

Merge pull request #1 from johnfelleman/master

update README.md to reflect end of life
latest commit df4faadb6e
@Irrelon authored
Failed to load latest commit information.
API
Configurations
ForwardingHeaders/JavaScriptCore Added repo files
JSCDemo
JavaScriptCore.gyp
JavaScriptCore.vcproj
JavaScriptCore.xcodeproj
assembler Added repo files
bytecode
bytecompiler Added repo files
debugger Added repo files
dfg
docs
generated Added repo files
gyp Added repo files
heap
icu
interpreter
jit Added repo files
os-win32 Added repo files
parser
profiler Added repo files
qt
runtime
shell Added repo files
wtf Added repo files
yarr
AUTHORS
AllInOneFile.cpp Added repo files
CMakeLists.txt Added repo files
CMakeListsEfl.txt Added repo files
CMakeListsWinCE.txt Added repo files
COPYING.LIB
DerivedSources.make Added repo files
DerivedSources.pro
GNUmakefile.am Added repo files
GNUmakefile.list.am
Info.plist Added repo files
JavaScriptCore.JSVALUE32_64only.exp Added repo files
JavaScriptCore.JSVALUE64only.exp
JavaScriptCore.exp
JavaScriptCore.gypi Added repo files
JavaScriptCore.order Added repo files
JavaScriptCore.pri
JavaScriptCore.pro Added repo files
JavaScriptCorePrefix.h Added repo files
KeywordLookupGenerator.py
Makefile Added repo files
README.md update README.md to reflect end of life
THANKS Added repo files
WebKit.pri
config.h
create_hash_table
create_jit_stubs
create_regex_tables Added repo files
headers.pri Added repo files
jsc.cpp
jsc.pro
jscore.vcproj
make-generated-sources.sh Added repo files
readme.txt Added repo files
wscript

README.md

iOS JavaScript to Objective-C Bridge.

As of 4/8/2014 (and some time before), this library is redundant

It is not being supported

The javascriptcore framework in iOS 7 provides a supported replacement

What Does It Do?

Enables method calls and communication between JavaScript & Objective-C. Allows you to write application logic in JavaScript and control native device features via JS to Obj-C calls.

How Does It Work?

Your JS is contained and executed inside a custom build of JavaScriptCore so that no private API calls are made (and therefore your project can be deployed to the Apple App Store). No webview is presented to the user by default so your app does not "run" inside a web browser.

Instead you can create your application logic and call native methods entirely in JavaScript. This opens up a number of possibilities such as allowing JavaScript to control OpenGL output making game engines that are coded in JavaScript capable of using native-speed graphics output instead of using Safari and the HTML canvas tag.

Future Plans?

Right now, any methods that you expose to JavaScript must be written by yourself so an understanding of Objective-C is required. Future versions of this project will expose a rich API to your JavaScript code to allow control of the most useful native capabilities of the device.

As the project progresses many more features will be added to the list. The main priorities of this project are to make these features available to JavaScript as an API:

  • Mimic canvas-tag methods to output graphics via OpenGL.
  • Mimic audio-tag methods to output sound via OpenAL.
  • Provide a clean and easy networking API to JavaScript to utilise native sockets capability.

License

Open-source version licensed for non-commercial use only. If you would like to use this project in a commercial application please purchase a commercial license from http://www.isogenicengine.com/store/ios-javascript-wrapper-bridge/. Commercial licenses are VERY cheap! Have a look!

Something went wrong with that request. Please try again.