AppDelegate
class AppDelegate : NSObject, NSApplicationDelegate
The AppDelegate class (macOS)
-
Bool if the main window is in fulll screen
Declaration
Swift
var fullScreen: Bool { get set } -
Check the full screen toggle
Declaration
Swift
func applicationDidFinishLaunching(_ aNotification: Notification) -
Don’t quit the application when we close the window
Declaration
Swift
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool
View on GitHub
AppDelegate Class Reference