Hi
I’m brand spankin’ new to Corona and Lua and I’m studying all of the Sample Apps. Many years ago I took a course in Java, so I’m familiar with creating an object and how to use properties of that object. It seems Lua follows the same concept- though it’s not an object-oriented language. I have a question about the Analytics app which uses UI module/package/library, for example:
local button1 = ui.newButton{
default = “buttonBlue.png”,
over = “buttonBlueOver.png”,
onRelease = buttonRelease1,
text = “Log Event 1”
}
-
Where in the API reference can I read about the properties of UI? How would I know newButton has the properties of default, over, onRelease, text?
-
And is UI thought of as a package, module, or library?
Thanks! [import]uid: 45656 topic_id: 9519 reply_id: 309519[/import]