For Transloaderâs upcoming version 3.0, I needed an NSMenuItem that not only showed a title, but also a subtitle, along with an optional image.

Because it took a bit of work and âreverse-engineeringâ (the click-on-an-item-selection-animationâs timing, in particular), I figured someone else might benefit from this.
Where to get it / Sample Project
Itâs all pretty straight forward, and best shown / explained as an Xcode project, which you can download on Github.
This is basically all you need to do:

Thatâs it!
Caveats
There are some things this implementation can not do, which the default NSMenuItem can:
- There is no type select
- The arrow keys canât be used to go through the items
- You canât activate items with the space or enter keys
Basically, keyboard interaction is unavailable.
I do hope itâs useful to you anyways.
If youâre using this, Iâd love to hear from you! đ