• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOutlineView and datasource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSOutlineView and datasource (From: Rob In der Maur <email@hidden>)

  • Prev by Date: Re: Documentation download?
  • Next by Date: Buttons in an NSTableView
  • Previous by thread: NSOutlineView and datasource
  • Next by thread: Re: NSOutlineView and datasource
  • Index(es):
    • Date
    • Thread