[Solved] Swift – how to make window unactivable?

Actually all you need is .nonactivatingPanel style panel. Everything else is details, like level of this window, custom views with overridden acceptsFirstMouse:, needsPanelToBecomeKey, etc. Btw, button accepts first click by default, non activating app in this case. So your AppDelegate, for example, might look like the following: class AppDelegate: NSObject, NSApplicationDelegate { var docky: NSPanel! … Read more