I'd like to disable a tab of NSTabView.
I went see NSTabView and NSTabViewItem, but I couldn't find out how.
Any suggestions would be appreciated.
Whenever you need to modify the behavior of a standard widget, it's a
good idea to see if it accepts a delegate object, and if so, what
delegate methods are available.
In this case, what you want to do is implement the delegate method -
tabView:shouldSelectTabViewItem:, and return NO whenever selecting
the referenced tab view item wouldn't be appropriate.