Multiple tree controls in a window

Discussion in 'Mac Programming' started by McBgnr, May 7, 2009.

  1. McBgnr macrumors regular

    Apr 13, 2009
    Referring some tutorials I have been able add a Treecontrol to my app, and I am populating its content programatically.

    I want to use another tree control with programatically populated content. Will I have to use a new instance of OutlineController and TreeViewController? Or is there some other way of doing it? Please pardon me if this appears to be a very basic question :-( (I am very new to mac world)
  2. kainjow Moderator emeritus


    Jun 15, 2000
    You probably just want a second outline view with a second tree controller that is bound to a different object. You *could* share the existing ones and just have the tree controller bind to a different object, but that's just unnecessary work (and would limit you to only one outline view).

Share This Page