mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-05-28 07:47:02 +08:00
14 lines
422 B
Ruby
14 lines
422 B
Ruby
class AppDelegate
|
|
attr_reader :window
|
|
|
|
def application(application, didFinishLaunchingWithOptions:launchOptions)
|
|
@window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
|
|
|
|
main_controller = MainController.alloc.initWithNibName(nil, bundle: nil)
|
|
@window.rootViewController = UINavigationController.alloc.initWithRootViewController(main_controller)
|
|
|
|
@window.makeKeyAndVisible
|
|
true
|
|
end
|
|
end
|