Consider this absolutely simple looking NSWindowController
+ NSViewController
pair:
@objc final class MyFabWC: NSWindowController {
@objc static let shared = MyFabWC(window: NSWindow(contentViewController: MyFabVC()))
override func windowDidLoad() {
super.windowDidLoad()
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.