• 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
NSOutlineView and datasource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView and datasource


  • Subject: NSOutlineView and datasource
  • From: Rob In der Maur <email@hidden>
  • Date: Sat, 18 May 2002 21:47:37 +0200

Hi all,

The NSOutlineView is somewhat failing on. If I understand correctly, it works pretty much the same as the NSTableView although you have to implement a different set of required methods for the datasource. I've basically followed the NSTableView tutorial from Aaron Hillegass' book but changed it to an NSOutlineView.
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....

cheers,

o#?
Rob In der Maur
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSOutlineView and datasource
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: can PB boilerplate text be changed?
  • Next by Date: Re: Documentation download?
  • Previous by thread: Re: NSString -> char[]
  • Next by thread: Re: NSOutlineView and datasource
  • Index(es):
    • Date
    • Thread