Strange behavior using view-based NSOutline (Sourcelist)

后端 未结 4 1793
终归单人心
终归单人心 2021-01-30 11:39

I have a (new in Lion) view-based NSOutlineView as Sidebar SourceList in my app using CoreData + NSTreeController + Bindings + NSOutlineView and an Object as NSOutlineViewDelega

4条回答
  •  甜味超标
    2021-01-30 12:34

    I was wondering how you achieved the source list that's visible on the screenshot.

    I have created a little sample project, which does the same and includes the feedback from @anton-ivanov:

    • 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

提交回复
热议问题