Sha256: 1b891b7c5cad5ae42ad6877adb304bdd9ced2dbcb071f33302f3a80522f0d1f6
Contents?: true
Size: 637 Bytes
Versions: 1
Compression:
Stored size: 637 Bytes
Contents
class AppDelegate def application(application, didFinishLaunchingWithOptions:launchOptions) @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) tabbar = UITabBarController.alloc.init tabbar.viewControllers = [BeerMapController.alloc.init, BeerListController.alloc.init] tabbar.selectedIndex = 0 @window.rootViewController = UINavigationController.alloc.initWithRootViewController(tabbar) @window.rootViewController.wantsFullScreenLayout = true @window.makeKeyAndVisible true end def beer_details_controller @beer_details_controller ||= BeerDetailsController.alloc.init end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubymotionr-0.0.1 | spec/multiple-rubymotion-apps/Beers/app/app_delegate.rb |