JSCocoa, a bridge from Javascript to Cocoa

Written by Patrick Geiller — parmanoir@gmail.comGoogle Home — Wanna contribute ? Send me a mail !

QuickStart

What's in here

JSCocoa in the wild

Adding JSCocoa to your project

After building JSCocoa/JSCocoa.xcodeproj, drag /Library/Frameworks/JSCocoa.framework into your project and import it with #import <JSCocoa/JSCocoa.h>.

Adding JSCocoa to your project (non framework version)

If you don't want to use JSCocoa as a framework, you can manually add it to your project :

Starting JSCocoa

Starting JSCocoa depends on the lifetime you want for your JS objects.

Garbage Collection

How Javascript Garbage Collection works with ObjC objects