I’m working through a tutorial and it tells me to add:
local ui = require (“ui”)
When i launch the code it cannot find the ui library which I thought was part of the SDK or at least included with it. Do i need to download this from somewhere else?
I’m working through a tutorial and it tells me to add:
local ui = require (“ui”)
When i launch the code it cannot find the ui library which I thought was part of the SDK or at least included with it. Do i need to download this from somewhere else?
Yes, you’d need to find the ui.lua – it does not come with Corona SDK. You might consider using widget library in place of ui.lua. But if you really need ui.lua, you’d be able to find it in code share: http://developer.coronalabs.com/code/
And here is one of them: http://developer.coronalabs.com/code/enhanced-ui-library-uilua
Naomi
Thanks, where could I locate one of these widget libraries that you recommend?
smeyer2,
go to the daily builds page and download build .840. In its sample code you’ll find ui.lua
Yes, you’d need to find the ui.lua – it does not come with Corona SDK. You might consider using widget library in place of ui.lua. But if you really need ui.lua, you’d be able to find it in code share: http://developer.coronalabs.com/code/
And here is one of them: http://developer.coronalabs.com/code/enhanced-ui-library-uilua
Naomi
Thanks, where could I locate one of these widget libraries that you recommend?
smeyer2,
go to the daily builds page and download build .840. In its sample code you’ll find ui.lua