Intro
This is a fork of the famous MASShortcut library. I have converted it to a Swift Package so that it can be easily installed via Swift Package Manager (SPM). Most of the credit for this goes to SDGGiesbrecht.
With this library you can easily implement Global Keyboard Shortcuts in your macOS app.
Demo
Documentation
Detailed documentation can be found here.
Limitation
Doesn't support localization. It can only support one language for now. This will change once SPM allows to package resource files from Objective-C projects.
Live Example
This library is being used in my app Presentify. You can get it from the Mac App Store or Setapp and go to Preferences > Keyboard
to see how this looks/works.
Copyright
MASShortcut is licensed under the 2-clause BSD license.