Skip to content

rampatra/MASShortcut

 
 

Repository files navigation

Important

The MASShortcut library now supports Swift Package Manager, so you might be better off using that instead of this repo.

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.

About

The famous MASShortcut library converted to a Swift Package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 95.6%
  • Ruby 2.6%
  • Other 1.8%