I'm trying to open a pop-up menu from a NSToolbarItem. I tried following this example but I can't use that class method because NSToolbar and NSToolbarItem inherit from NSObject and not from NSView.
Apart from creating a custom view, what is the best way to open a pop-up menu from a NSToolbarItem?