4 class MainFlutterWindow: NSWindow {
5 override func awakeFromNib() {
6 let flutterViewController = FlutterViewController.init()
7 let windowFrame = self.frame
8 self.contentViewController = flutterViewController
9 self.setFrame(windowFrame, display: true)
11 RegisterGeneratedPlugins(registry: flutterViewController)