public override bool FinishedLaunching(UIApplication app, NSDictionary options) { window = new UIWindow(UIScreen.MainScreen.Bounds); var repo = new CacheRepository(new HttpRepository("127.0.0.1")); var channel = new ChannelViewController("monotouch", repo); window.RootViewController = new UINavigationController(channel); window.MakeKeyAndVisible(); return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); var repo = new CacheRepository (new HttpRepository ("127.0.0.1")); var channel = new ChannelViewController ("monotouch", repo); window.RootViewController = new UINavigationController (channel); window.MakeKeyAndVisible (); return true; }