Sha256: ed2299863308fc38b4ab45708eef36f705b2cdbe341074016473847e87ead31a

Contents?: true

Size: 419 Bytes

Versions: 24

Compression:

Stored size: 419 Bytes

Contents

class AppDelegate
  attr_reader :window

  def application(application, didFinishLaunchingWithOptions:launchOptions)
    setup_window
    true
  end

  # setup UI 
  def setup_window
    @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
    @window.rootViewController = DrawingViewController.alloc.init
    @window.rootViewController.wantsFullScreenLayout = true
    @window.makeKeyAndVisible
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
bubble-wrap-1.1.5 samples/gesture/app/app_delegate.rb
bubble-wrap-1.1.4 samples/gesture/app/app_delegate.rb
bubble-wrap-1.1.3 samples/gesture/app/app_delegate.rb
bubble-wrap-1.1.2 samples/gesture/app/app_delegate.rb