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

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
  • Prev by Date: Re: Blocking Method Return
  • Next by Date: Re: Blocking Method Return
  • Previous by thread: Re: Continuously write content of log file to NSTextView
  • Next by thread: job listing: cocoa developer with audio experience
  • Index(es):
    • Date
    • Thread