Skip to content

vachooho/js-macosx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

js-macosx

Mozilla JavaScript-Cocoa Bridge for macOS

Lightweight bridge for calling Cocoa frameworks from Mozilla JavaScript, js-macosx transparently handles definition of Cocoa API, both C and Objective-C, and provides automatic declarations for framework functions, structures, constants and enumerations, as well as allows creating and subclassing Cocoa classes.

The js-macosx bridge has dependency on js-ctypes and BridgeSupport. Whenever a Cocoa class, function, struct or const is encountered in the JavaScript code, js-macosx will replace it with the corresponding js-ctypes declaration based on the BridgeSupport file from the framework that object belongs to.

Download, extract and install Demo extension for Thunderbird or Firefox v18.0 or later, and check out Error Console to see some functionality of Mozilla JavaScript-Cocoa Bridge for macOS in action.

About

Mozilla JavaScript-Cocoa Bridge for macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published