Last active
October 4, 2015 06:48
-
-
Save makevoid/2596291 to your computer and use it in GitHub Desktop.
Hello Button in RubyMotion (a bit more than hello world)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Hello ButtonView (world) | |
| class AppDelegate | |
| def application(application, didFinishLaunchingWithOptions:launchOptions) | |
| @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) | |
| @window.rootViewController = ButtonViewController.alloc.init | |
| @window.makeKeyAndVisible | |
| return true | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment