Sha256: fb233b044cd1814bf91a150f56fc74850145506bc3fcabffa086d8f5693a7bd6

Contents?: true

Size: 472 Bytes

Versions: 6

Compression:

Stored size: 472 Bytes

Contents

class AppDelegate
  attr_reader :navigation_controller

  def application(application, didFinishLaunchingWithOptions:launchOptions)
    @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
    @window.rootViewController = self.navigation_controller
    @window.rootViewController.wantsFullScreenLayout = true
    @window.makeKeyAndVisible
    true
  end

  def navigation_controller
    @navigation_controller ||= UINavigationController.alloc.init
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
routable-0.2 app/app_delegate.rb
routable-0.1.1 app/app_delegate.rb
routable-0.1.0 app/app_delegate.rb
routable-0.0.3 app/app_delegate.rb
routable-0.0.2 app/app_delegate.rb
routable-0.0.1 app/app_delegate.rb