Program.cs 641 B

1234567891011121314151617181920212223242526
  1. using Foundation;
  2. using UIKit;
  3. namespace StateObject.iOS
  4. {
  5. [Register("AppDelegate")]
  6. public class AppDelegate : UIApplicationDelegate
  7. {
  8. public override UIWindow Window { get; set; }
  9. public override bool FinishedLaunching(UIApplication app, NSDictionary options)
  10. {
  11. var game = new StateObjectGame();
  12. game.Run();
  13. return true;
  14. }
  15. }
  16. public class Application
  17. {
  18. // This is the main entry point of the application.
  19. static void Main(string[] args)
  20. {
  21. UIApplication.Main(args, null, typeof(AppDelegate));
  22. }
  23. }
  24. }