New iPhone Wax Version: New XML, JSON, SQLite Extensions & More

iPhone Wax is a framework that lets you write native iPhone apps in Lua. Developing in Lua is fast and objects are garbage collected. Wax bridges Objective-C and Lua using the Objective-C runtime. With Wax, anything you can do in Objective-C is automatically available to you in Lua.

Wax has been in active development since it was unveiled in September and has just released version v0.9:

Along with new XML, JSON and SQLite extensions, the new version uncouples much of the development from Xcode, allows all code — even the UIApplicationDelegate — to be done in Lua, and supports easier usage from the command line.

v0.9 features these updates:

  • Run tests from the command line with “rake test”
  • Interact with your app from the command line with the Wax Interactive Console using “rake repl”
  • Added key/value support so IB outlets can be created and referenced in Lua
  • For people using legacy code or only using Lua for portions of your app: uou can init and call classes created in Lua via Objective-C
  • Lots of syntax cleanup and descriptive error messages added
  • Run your app from the command line with “rake run”
  • Reload your app from the terminal with SIGQUIT or Control-\ — no need to recompile and run

You can download/clone Wax on GitHub.


© 2008-2011 • Mobile Orchard and the Bar-Tree Logo are service marks.