Created
July 5, 2017 19:24
-
-
Save kinifi/63422d27ecab470fd0c8d1001e592357 to your computer and use it in GitHub Desktop.
Always on Top Code for OSX in Swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Swift 3.0 | |
window.level = Int(CGWindowLevelForKey(.floatingWindow)) | |
window.level = Int(CGWindowLevelForKey(.maximumWindow)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment