• 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
Getting an NSOutlineView Item's parent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting an NSOutlineView Item's parent


  • Subject: Getting an NSOutlineView Item's parent
  • From: The Beerbowers <email@hidden>
  • Date: Tue, 17 Oct 2006 19:07:27 -0400

I'm writing a program which contains an outline view. The data source manages a bunch of dictionaries, arrays, and other objects nested inside each other. My problem is that when the data source method outlineView:objectValueForTableColumn:byItem: is called, I need to be able to get a pointer to the item's parent so I can find its key in the case that it is in a dictionary, or its index if its in an array. Is there any simple way of doing this, or am I going to have to make a big work around? Any help would be appreciated. Thanks.

	Isaiah


_______________________________________________ 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
  • Follow-Ups:
    • Re: Getting an NSOutlineView Item's parent
      • From: Perrog <email@hidden>
    • Re: Getting an NSOutlineView Item's parent
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Cocoa Window layered over OpenGL?
  • Next by Date: Re: Signed incoherences with NSTableView indexes
  • Previous by thread: Cocoa Window layered over OpenGL?
  • Next by thread: Re: Getting an NSOutlineView Item's parent
  • Index(es):
    • Date
    • Thread