import Cocoa import FlutterMacOS class MainFlutterWindow: NSWindow { override func awakeFromNib() { let flutterViewController = FlutterViewController() let windowFrame = self.frame self.contentViewController = flutterViewController self.setFrame(windowFrame, display: true) // Override the window title so the OS task switcher and // window chrome read "F∆I Studio" instead of the // pubspec-derived "fai_studio". self.title = "F∆I Studio" RegisterGeneratedPlugins(registry: flutterViewController) super.awakeFromNib() } }