Skip to content

Instantly share code, notes, and snippets.

@jmgomez
Last active December 19, 2015 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmgomez/62f0801951bdc43030b4 to your computer and use it in GitHub Desktop.
Save jmgomez/62f0801951bdc43030b4 to your computer and use it in GitHub Desktop.
[<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