Re: Controlling rootElement Display in outline view

2008-09-24 Thread Corbin Dunn
When the outline asks this with a nil 'item': - (NSInteger)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item; Don't return 1, but instead, return the number of children in your root item. Then, when this is asked with a nil 'item': - (id)outlineView:(NSOutlineView

Controlling rootElement Display in outline view

2008-09-23 Thread Thomas Lennon
I was working through the ³Using Tree Controllers With NSXML Objects². http://developer.apple.com/documentation/Cocoa/Conceptual/NSXML_Concepts/Art icles/UsingTreeControllers.html#//apple_ref/doc/uid/TP40003565 I have an XML file and have coded following the example referenced above and all work