TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
SGHotKeysLib is a fork of Quentin D. Carnicelli's excellent PTHotKeysLib library for registering shortcut keys on Mac OS X.
PTHotKeysLib has served us well for many years, but as I was upgrading my company's applications to run natively in 64 bit I was running into issues. The original code itself used many deprecated methods, 32 bit integer types, etc. As I fixed those issues, my OCD started to get the best of me and I started reformatting and rewriting portions of the code using modern Objective-C practices and paradigms.
SGHotKeysLib does the following:
SGHotKeysLib includes:
The sample uses a custom-built version of the ShortcutRecorder framework to demonstrate setting a hot key.
SGHotKeysLib is a modernization of a piece of code many of us have been using for several years, and I'm sure it could be improved even more. If you have ideas for how to do that, please fork away.
Please report bugs and request features on the Lighthouse SGHotKeysLib project site.
1.2
Some fixes and changes from the AgileBits crew!
1.1
1.0 Original release