Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

McBgnr

macrumors regular
Original poster
Apr 13, 2009
144
0
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)
 
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).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.