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

Re: NSOutlineview Datasource


  • Subject: Re: NSOutlineview Datasource
  • From: Coleman Nitroy <email@hidden>
  • Date: Fri, 4 Feb 2005 11:14:23 -0500


On Feb 4, 2005, at 11:00 AM, j o a r wrote:

The outline view doesn't care how you structure your data source, as long as you return values correctly via it's delegate and data source methods. I think it's quite common to do what you're thinking about - ie. to have different classes of objects for nodes and leaves / parents and children.

Great! Thanks, this takes a huge weight off my shoulders, and here I was making extra work on myself.


Failed to parse question, bailing out...

We need to make the questionAnswerBot have a better error message :)

To rephrase what i ment in a more humanly readable form. To delete an object from the tree you need to know its parent correct? In a remove function of the delegate to get rid of a selected row i need to say: take the currently selected row's parent, and remove the object from its children array that it is. My question is, how do you find out the parent easily?

---
Coleman Nitroy
email@hidden
nitroy.com/cole

_______________________________________________
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: NSOutlineview Datasource
      • From: Seth Willits <email@hidden>
References: 
 >NSOutlineview Datasource (From: Coleman Nitroy <email@hidden>)
 >Re: NSOutlineview Datasource (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSCalendarDate picker widget?
  • Next by Date: Re: NSView and NSMenuItem not updating displays
  • Previous by thread: Re: NSOutlineview Datasource
  • Next by thread: Re: NSOutlineview Datasource
  • Index(es):
    • Date
    • Thread