• 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
Yet another NSOutlineView question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Yet another NSOutlineView question...


  • Subject: Yet another NSOutlineView question...
  • From: email@hidden
  • Date: Fri, 15 Mar 2002 22:43:28 +0100

I've set up an NSOutlineView which I've finally got working to my satisfaction - apart from one thing. How can I easily convert the index returned from the underlying TableView's selectedRow method into an index I can use to access a source array that might be deeply nested in a hierarchy that could belong to any of a number of root items, any or all of which might be expanded or not as the case may be? This sort of thing is trivial in an ordinary table view but a total nightmare when outlines are involved.

Surely this must be a fairly common problem and somebody must have already come up with a workable solution. So, any ideas?
_______________________________________________
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: Yet another NSOutlineView question...
      • From: Itrat Khan <email@hidden>
  • Prev by Date: Re: Displaying Keyboard Key Glyphs
  • Next by Date: Re: Passing object graphs bycopy (was: DO, bycopy)
  • Previous by thread: Re: How do I give an IB object a custom icon?
  • Next by thread: Re: Yet another NSOutlineView question...
  • Index(es):
    • Date
    • Thread