With my own code, or even with code suggested in this snippet:
https://gist.github.com/916626
whenever i try to do:
local stuf = UITabBarController:init()
i get: attempt to index global 'UITabBarController'
local bu = UIButton:buttonWithType(UIButtonTypeCustom)
i get: attempt to index global 'UIButton'
NSArray:init()
i get: attempt to index global 'NSArray'
NSMutableArray:init()
i get: attempt to index global 'NSMutableArray'
all code above is placed inside applicationDidFinishLaunching
It seems it cannot find those classes?
What am I doing wrong ?