osx - Is there any way to capture global key presses in Mac OS using Swift -


is there way capture global key presses (even when application isn't active) in mac os using swift?

thanks in advance.

yes, can use nsevent add global event monitor. checkout swift 3 example here: https://stackoverflow.com/a/40509620/1791525


Comments

Popular posts from this blog

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -