I\'m trying to add a little window that provides \"quick input\" from any place in the system to the main app.
The user could hit a hotkey, the window pops up, and float
And the Swift 4.0 translation is this.. I am still testing this, but it seems to be working.
self.view.window?.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.mainMenuWindow))) self.view.window?.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary]