Mix and match Objective-C / Apple SDK and Corona / Lua, or ???

Hi everyone -- if I need to accomplish something in my app that isn't currently supported by the Corona SDK, what's the best way to accomplish it? Can a single app have Lua modules using the Corona SDK and Objective-C modules going straight to the Apple SDK? Some wacky approach with one app invoking another? or ??

My specific current challenge has to do with background tasks -- I need to be able to run a GPS monitor in the background that triggers on significant location changes. Easy to do in Apple SDK, no apparent way in Corona.

However my more general question isn't just about background tasks and GPS ... assuming there will always be capabilities of the Apple SDK that are temporarily or permanently unavailable in Corona ... can they be used?

Regards
-- Chris

Hi Chris,

Generally, if a feature is not exposed via the Corona API then it's not possible to use that feature in your Corona app. Linking in custom Obj-C code is a feature request we've heard several times from developers, but it not currently possible.

Your specific use case (background tasks) is something we hope to enable in a future release.

Tim

Any news on mixing corona with objC by now?

views:1519 update:2011/9/28 21:38:26
corona forums © 2003-2011