lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 12/17/10, kevin beckford <chiggsy@lazyweb.ca> wrote:
>> Check out the Corona SDK for instance:
>>        http://www.anscamobile.com/corona/
>
> But since cost was an issue, and it would be odd indeed to agree to
> pay a 230$ licence per month for something that was free:
>
> https://github.com/probablycorey/wax
>
> That's your Iphone hook, and :
>
> http://playcontrol.net/opensource/LuaCocoa/
>
> is roughly equivalent to PyObjC , allowing you  to dig deep into the mac
> API's.

To be fair, Corona isn't intended to be an Obj-C bridge and the basic
question was whether Lua was even allowed on iOS. Corona is an SDK
that provides their own APIs in Lua for making application development
faster and easier.

For example, they have a demo called "Physics in 5 lines"
http://blog.anscamobile.com/2010/06/new-video-physics-in-five-lines/

You would not be able to do anything like this in plain Obj-C/Cocoa or
a bridge like LuaCocoa or wax in 5 lines assuming Box2D (which Corona
uses under the hood) were included with OS X because the Corona
designers tried to build a much friendlier API on top of what you get
with from Box2D.

Corona also works on Android so a direct Obj-C bridge doesn't make
sense for their APIs. Instead, they are interested in abstraction
layers.

But to the original question about whether Lua is allowed, since
Corona has customers shipping apps on the App Store using their SDK
and their entire SDK is centered around Lua, it is even more proof
that Lua on iOS is more ubiquitous than you might think.


But thanks for the plug for LuaCocoa :)


-Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/