Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to programmatically add new NSToolbarItem to existing toolbar?

Tags:

I'm looking for a method called addNewItem:(NSToolbarItem *)item or something like this that lets me add a programmatically created item to my toolbar, but I haven't found any. I would like to add an item that shows a popover when the user clicks on it, like in Safari when the user downloads something.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!