class AppDelegate def application(application, didFinishLaunchingWithOptions:launchOptions) @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds) ctlr = ShearingController.new first = UINavigationController.alloc.initWithRootViewController(ctlr) @window.rootViewController = first @window.makeKeyAndVisible true end end