Cocoa Interface Builder's 'Attributes Inspector' like window

后端 未结 3 494
天涯浪人
天涯浪人 2021-01-14 07:59

I\'m making a Cocoa application, and I would like a panel like the \'Attributes Inspector\' in Interface Builder. So with big tabs on the top and collapsable/expandable grou

3条回答
  •  猫巷女王i
    2021-01-14 08:32

    I've written some custom classes to do this- it ended up being less work than I expected. I broke it down into two separate components which can be used independently- the first handles the icons at the top and performs the view switching and the second handles the expandable panes: ViewSelectorBar InspectorPanel

    My code is available at github and is under the BSD 2-clause license.

提交回复
热议问题