I am implementing a preferences window, with a subclass of NSToolbarItem
that has an IBOutlet
to an NSView
(the idea being that when an item is clicked, it will display its view). However, when I connect a toolbar item to an instance of the subclass, that item's image disappears and it is not clickable (although the text remains dark and does not fade).
If I disconnect the IBOutlet
, everything works again (well, nothing does, since it isn't bound to the view, but you get the idea).