31 lines
583 B
Swift
31 lines
583 B
Swift
//
|
|
// AppDelegate.swift
|
|
// MastoSearch
|
|
//
|
|
// Created by Shadowfacts on 12/10/21.
|
|
//
|
|
|
|
import Cocoa
|
|
|
|
@main
|
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
|
|
|
@IBOutlet var window: NSWindow!
|
|
|
|
|
|
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
|
// Insert code here to initialize your application
|
|
}
|
|
|
|
func applicationWillTerminate(_ aNotification: Notification) {
|
|
// Insert code here to tear down your application
|
|
}
|
|
|
|
func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
|
|
return true
|
|
}
|
|
|
|
|
|
}
|
|
|