Search code examples
cocoacocoa-bindingsnsoutlineviewnstreecontrollernscombobox

NSComboBox with bindings to NSTreeController


I have a NSTreeController/NSOutlineView with children and a NSComboBox. I would like to only show the top level objects in the combobox and not the children. Can't figure out how to do this. Any suggestions?


Solution

  • Allright, it's just been confirmed that I'm stupid.

    Just added a NSArrayController and used bindings with that one instead.