Last active
December 19, 2015 12:14
-
-
Save jmgomez/62f0801951bdc43030b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<Register ("AppDelegate")>] | |
type AppDelegate () = | |
inherit UIApplicationDelegate () | |
override val Window = null with get, set | |
// This method is invoked when the application is ready to run. | |
override this.FinishedLaunching (app, options) = | |
Xamarin.Forms.Forms.Init(); | |
this.Window <- new UIWindow(UIScreen.MainScreen.Bounds) | |
let movieDBApp = View.TheMovieDB() | |
movieDBApp.Start() | |
this.Window.RootViewController <- movieDBApp.MainPage.CreateViewController() | |
this.Window.MakeKeyAndVisible() | |
true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment