Sha256: 14ead8381eded3d05375c1465488f4eb955a928ee99fd537a5ea1da68c473c7a

Contents?: true

Size: 580 Bytes

Versions: 13

Compression:

Stored size: 580 Bytes

Contents

class AppDelegate

  def application(application, didFinishLaunchingWithOptions:launchOptions)
    return true if RUBYMOTION_ENV == 'test'

    application.setStatusBarHidden(true, withAnimation:UIStatusBarAnimationSlide)

    @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
    # change this controller to whatever controller you want to test, or are
    # writing tests for.
    ctlr = TableViewController.new
    @window.rootViewController = ctlr
    @window.rootViewController.wantsFullScreenLayout = true
    @window.makeKeyAndVisible

    true
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
teacup-2.1.12 app/app_delegate.rb
teacup-2.1.11 app/app_delegate.rb
teacup-2.1.10 app/app_delegate.rb
teacup-2.1.9 app/app_delegate.rb
teacup-2.1.8 app/app_delegate.rb
teacup-2.1.7 app/app_delegate.rb
teacup-2.1.6 app/app_delegate.rb
teacup-2.1.5 app/app_delegate.rb
teacup-2.1.4 app/app_delegate.rb
teacup-2.1.3 app/app_delegate.rb
teacup-2.1.2 app/app_delegate.rb
teacup-2.1.1 app/app_delegate.rb
teacup-2.1.0 app/app_delegate.rb