private static void Main(string[] args) { #if MONOMAC NSApplication.Init (); using (var p = new NSAutoreleasePool ()) { NSApplication.SharedApplication.Delegate = new AppDelegate(); NSApplication.Main(args); } #else RunGame(); #endif } }