Ability to call arbitrarty Objective C code like iPhone Wax

I’ve been playing with iPhone Wax lately, and I really like the ability to call any Objective C code from Lua.

This means I don’t have to wait around for anyone (like you guys :-P) to “support” a particular new feature in the iOS. All features are immediately available.

Is it possible to extend Corona in this way so that it’s Lua implementation works like iPhone Wax?

It would be even better if I could call my own Objective C methods from Lua in Corona, but this would probably require a full-fledged project model like XCode so that you could compile all the Objective C and package that up into a .app file.

Thanks,
Ken [import]uid: 7075 topic_id: 1206 reply_id: 301206[/import]

I second this. While it gets away from the Corona x-platform development model, it would address Apple’s biggest objection to third party tools by making any new iOS features immediately available.

On another tack, being able to inject plain platform-independent C code would be handy for some performance critical stuff. For example, if there was a generic framebuffer and audiobuffer made available (a bit like the way SDL works). [import]uid: 3953 topic_id: 1206 reply_id: 5267[/import]

I know they have already said no to adding this functionality, but I’d like to second the point that lack of access to the native API and inability to use new features as they are added to the OS is the whole reason Apple gave for not allowing Flash. [import]uid: 846 topic_id: 1206 reply_id: 5297[/import]

Since the problem is already technically solved in the iPhone Wax the only issue here is a willingness of the Ansca to add it to Corona.

At the very least the binding to the C/C++ code should be provided.
[import]uid: 8520 topic_id: 1206 reply_id: 5409[/import]

We have talked about allowing access to the native API but for now we are busy trying to fix all the known bugs and provide the promised features for the upcoming 2.0 release. We are also working a list of 2.1 features, and I can’t promise it, I’m hopeful this one will be on the list.

Thanks,
-Tom [import]uid: 7559 topic_id: 1206 reply_id: 5416[/import]

Tom, thank you for your answer. Access to the native API’s will be terrific extension.

It will win unconvinced developers over to Corona.

Many developers consider lack of access to the native API as a serious shortcoming and big obstacle for their projects.

[import]uid: 8520 topic_id: 1206 reply_id: 5426[/import]

Any news on this front? [import]uid: 45104 topic_id: 1206 reply_id: 44611[/import]

This is definitely the biggest limitation I’ve run into as a developer. [import]uid: 8145 topic_id: 1206 reply_id: 46212[/import]

Is this still been considered? This will make Corona a low floor, high ceiling type of solution. [import]uid: 537 topic_id: 1206 reply_id: 57021[/import]