Sha256: 5331fbb85cb12280b9182bf956fe982e699d99789c6aae4b9bc856ddbff5d68e
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
waxClass{"AppDelegate", protocols = {"UIApplicationDelegate"}} -- Well done! You are almost ready to run a lua app on your iPhone! -- -- Just run the app (⌘↵) in the simulator or on a device! -- You will see a dull, bland "hello world" app (it is your job to spice it up.) -- -- If your prefer using TextMate to edit the Lua code just type -- 'rake tm' from the command line to setup a wax TextMate project. -- -- What's next? -- 1. Check out some of the example apps to learn how to do -- more complicated apps. -- 2. Then you start writing your app! -- 3. Let us know if you need any help at http://groups.google.com/group/iphonewax require "StatesTable" require "CapitalsTable" waxClass{"AppDelegate", protocols = {"UIApplicationDelegate"}} function applicationDidFinishLaunching(self, application) local frame = UIScreen:mainScreen():bounds() self.window = UIWindow:initWithFrame(frame) self.window:setBackgroundColor(UIColor:orangeColor()) self.window:makeKeyAndVisible() local statesTable = StatesTable:init() self.navigationController = UINavigationController:initWithRootViewController(statesTable) self.window:addSubview(self.navigationController:view()) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
candle-0.0.7 | lib/candle/generators/templates/table/scripts/AppDelegate.lua |
candle-0.0.6 | lib/candle/generators/templates/table/scripts/AppDelegate.lua |