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
Hello,

I want to empty the contents of my treecontroller which I have populated programatically.

How can I terate thru all the nodes in my treecontoller and delete them.
Also suggest if there is a mechanism of doing this thru a single function call like removeAllItems ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.