Re: NSOutlineView and datasource
Re: NSOutlineView and datasource
- Subject: Re: NSOutlineView and datasource
- From: Andy Lee <email@hidden>
- Date: Sat, 18 May 2002 16:09:55 -0400
At 9:47 PM +0200 5/18/02, Rob In der Maur wrote:
I would expect that if you set up the connections properly, which I
did (I checked it about 10 times), whenever the outline view needs
to paint itself, it will invoke the four required method
implementation. However, the only one I see (from the NSLog
statements I put in each of the required method implementation) is
numberOfChildrenOfItem. It seems like the other three are not called
at all. How to fix this, or is this a bug....
Are you sure -outlineView:numberOfChildrenOfItem: is returning a
non-zero value when it is passed nil as its second argument? That is
how the outline view knows how many top-level items to draw.
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.