Files
RustRaptor/raptor/pkg/osx/raptorlauncher/AppDelegate.m
T
raptorreplica f7c9b7a02d Vendor raptor source files (was embedded gitlink)
Tree vendored at upstream 0019c5dd; origin + license recorded in
raptor/VENDOR.txt. Windows SDL dev packages excluded via .gitignore.
2026-08-25 22:08:42 +10:00

42 lines
921 B
Objective-C

//
// AppDelegate.m
// raptorlauncher
//
// Created by skynettx on 17.04.23.
//
#import "AppDelegate.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Insert code here to initialize your application
}
- (void)applicationWillTerminate:(NSNotification *)aNotification {
// Insert code here to tear down your application
}
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
return YES;
}
- (BOOL) applicationShouldHandleReopen:(NSApplication *)app hasVisibleWindows:(BOOL)flag {
if (!flag) {
NSStoryboard *storyboard = [NSStoryboard storyboardWithName:@"Main" bundle:nil];
NSWindowController *controllerWindow = [[NSWindowController alloc] init];
controllerWindow = [storyboard instantiateInitialController];
[controllerWindow showWindow:self];
}
return flag;
}
@end