How do i make a simple view-based NSOutlineView?

后端 未结 4 1081
既然无缘
既然无缘 2021-02-05 21:40

For learning purposes i would like to convert a cell-based NSOutlineView to a view-based one,

basically i would like the following:

  • instead of a normal ce
4条回答
  •  攒了一身酷
    2021-02-05 22:25

    I have created a little sample project which does just that.

    • 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

提交回复
热议问题