I’m playing around with the example “toolbar buttons”. I can see how it works and how to make the toolbar customizable. But I don’t quite see how to save/restore the customization.
There are the events ToolbarWillAddItem and ToolbarRemoveItem. Would I change the item identifier array on removing an item and save this array to the prefs? How can I see where a new toolbar item was added?