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