A menubar app that displays shortcuts for current open app. (it works for every app!)
Note: this is my first native Mac app, the code is pretty messy!
And what I've learnt so far:
- Interface builder and storyboard are not my jam.
- Swift UI is awesome but not mature enough! Especially for macOS apps, many UI components are missing (but you can always use
NSViewRepresentable
to connectNSView
to your Swift UI interface). - Electron is actually not a bad idea.
So why I'm using Swift UI now?
- I like apps with native UI controls.
- Smaller package size.
Help wanted:
- Add auto-updater
- Add app icon
- Refactor the code
pod install
open Shortcut.xcworkspace
MIT.