4 namespace SuperPolarity
6 [Register ("AppDelegate")]
10 /// The main entry point for the application.
12 static void Main (string[] args)
14 NSApplication.Init ();
16 using (var p = new NSAutoreleasePool ()) {
17 NSApplication.SharedApplication.Delegate = new AppDelegate ();
18 NSApplication.Main (args);
25 class AppDelegate : NSApplicationDelegate
27 SuperPolarity superPolarity;
33 public override void DidFinishLaunching (NSNotification notification)
35 superPolarity = new SuperPolarity();
39 public override void WillTerminate (NSNotification notification)