Problems with NSOutlineView
Problems with NSOutlineView
- Subject: Problems with NSOutlineView
- From: Stefan Heukamp <email@hidden>
- Date: Fri, 02 Dec 2005 15:45:36 +0100
Hi,
I have tried to use NSOutlineView but I don't get it to display my
data correctly.
When the program starts, the outlineview calls
outlineView:numberOfChildrenOfItem: for parameter nil on my object.
My method returns 1 but the Outlineview does not call
outlineView:child:ofItem. At this point I could understand that
because the outlineview is not yet visible.
But then I open the drawer containing the visible outlineview and no
further messages are sent to my dataSource, so nothing is displayed.
When I click on the outlineView, the outlineView sends the
outlineView:child:ofItem with parameters (nil,0) to my dataSource and
I return an NSArray*. After that outlineView:isItemExpandable is
called and my object returns YES but again nothing is displayed.
If you've got any idea what could be the reason for this behaviour,
please tell me.
Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden