Expanding all items of a NSOutlineView that loads data from a data source
Posted
by matei
on Stack Overflow
See other posts from Stack Overflow
or by matei
Published on 2010-04-13T16:14:09Z
Indexed on
2010/04/13
18:53 UTC
Read the original article
Hit count: 432
First of all I'm new to cocoa development so I suppose I'm probably trying to do this the wrong way, but here goes: I have a NSOutlineView which loads the data from a NSOutlineViewDataSource imnplementation. I want all the items to be expanded after they are loaded, but i can't seem to find an event fired when the data has finished loading, so I can send a [outlineView expandItem:nil expandChildren: YES] to it. I looked into the NSOutlineViewDelegate protocol but I was unable to find a sutable place for this call. What would be the best approach for this problem ?
© Stack Overflow or respective owner