diff --git a/launchers/macosx/main.mm b/launchers/macosx/main.mm index 5230e53c3..54e0b5ee8 100644 --- a/launchers/macosx/main.mm +++ b/launchers/macosx/main.mm @@ -72,7 +72,8 @@ using namespace subprocess; - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { // Init application here - self.swiftRuntime = [[SwiftMainDelegate alloc] init]; + // Here we initialize the swift code which would do most of the job from now on. + self.swiftRuntime = [[SwiftApplicationDelegate alloc] init]; // This setup allows the application to send notifications [[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:self];