In Objective-C for Cocoa Apps it\'s possible to use such way to keep window always on top?
How to achieve the same with Swift?
self.view.window?.leve
I would prefer this way. This ignores all other active apps, and makes your app upfront.
override func viewWillAppear() { NSApplication.sharedApplication().activateIgnoringOtherApps(true) }