View-based NSOutlineView header cell font issues

前端 未结 2 1475
耶瑟儿~
耶瑟儿~ 2021-02-09 23:39

I\'m currently trying to use a new view-based NSOutlineView in my Cocoa app. As I\'m not using bindings, so I implemented all required delegate and datasource methods in my cont

2条回答
  •  有刺的猬
    2021-02-10 00:39

    I have created a little sample project which includes a source list and also uses the -outlineView:isGroupItem: method as @boaz-stuller has suggested.

    • Display a list of items
    • Edit the items in a master-detail fashion
    • Remove and add items
    • Usage of bindings

    Check out besi/mac-quickies on github. Most of the stuff is either done in IB or can be found in the AppDelegate

    screenshot

提交回复
热议问题