The incredible invisible window

OSX 10.12, Xcode 8.0 I’m not entirely certain under which circumstances this is useful, but [code language=”plain”]class invisibleWindowController: NSWindowController { override func windowDidLoad() { super.windowDidLoad() self.window?.isOpaque = false self.window?.backgroundColor = NSColor.clear } }[/code]   is a thing of beauty. If the view in the window’s contentViewController overrides override func draw(_ dirtyRect: NSRect), the effect is […]