Inheritance: Cirrious.MvvmCross.Mac.Views.Presenters.MvxBaseMacViewPresenter
		public override void FinishedLaunching (NSObject notification)
		{
			mainWindowController = new MainWindowController ();

			var presenter = new MvxMacViewPresenter(this, mainWindowController.Window);
			var setup = new Setup(this, presenter);
			setup.Initialize();

			mainWindowController.Window.MakeKeyAndOrderFront (this);
		}
Example #2
0
		public override void DidFinishLaunching (NSNotification notification)
		{
			_window = new NSWindow (new RectangleF(200,200,400,400), NSWindowStyle.Closable | NSWindowStyle.Resizable | NSWindowStyle.Titled,
				NSBackingStore.Buffered, false, NSScreen.MainScreen);

			var presenter = new MvxMacViewPresenter (this, _window);
			var setup = new Setup (this, presenter);
			setup.Initialize ();

			var startup = Mvx.Resolve<IMvxAppStart> ();
			startup.Start ();

			_window.MakeKeyAndOrderFront (this);

			return;
		}