Version 7, last updated by ewing at Mar 07 08:26 2011 UTC
The next-generation successor to the LuaObjCBridge for Objective-C 2.0.
Uses BridgeSupport, libffi, and a whole lot of blood, sweat, and tears to bridge both C and Objective-C including objects, constants, functions, and structs.
Similar to PyObjC and RubyCocoa.
Main home page can be found at:
http://playcontrol.net/opensource/LuaCocoa
The Bitbucket repository is now considered the front-facing mainline. This Assembla repo may be used by me for more experimental things. This page may fall out of date. Please go to the main home page for the most-up-to-date info.
Features:
- Full bridging to classes/objects, C functions, selectors, structs, enums, constants
- 32-bit and 64-bit support (uses new Obj-C 2.0 runtime), PowerPC & Intel
- Support Obj-C garbage collection and non garbage collection modes
- Subclassing NSObjects in Lua
- Obj-C/C APIs and easily embeddable framework to allow easy integration into existing Obj-C applications
- Scripting Bridge support to allow Applescript control written in Lua scripts instead of Applescript
- Conversion of Lua tables to NSArray and NSDictionary
- Metamethods on NSArray and NSDictionary to respond like Lua tables
- Convenience metamethods to access struct fields
- Auto-boxing of numbers and structs into NSNumbers and NSValues when necessary
- Setter dot notation in Lua
- Proper handling of BOOL types to native Lua boolean types
Roadmap Goals:
- Objective Lua
- LLVM Lua
- iOS support (see JSCocoa)
- Performance optimizations
- Method swizzling
- Categories
- unions, bitfields, arrays