Re: One NSOutlineView, more than one identical items
Re: One NSOutlineView, more than one identical items
- Subject: Re: One NSOutlineView, more than one identical items
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 18 Mar 2006 20:28:44 -0700
On Mar 17, 2006, at 9:35 PM, Shaun Wexler wrote:
It sounds like your model isn't really a tree structure. Probably
the best thing would be to use a lightweight tree class for the
items in all of your NSOutlineView data sources, where each node
has exactly one parent, and zero or more children.
That's right; the model is not a tree and allows anything to be
related to anything or nothing, except for circular relationships,
which aren't allowed. But I was really hoping to avoid having to set
up a double-model. Isn't there any way I can force NSOutlineView to
accept multiple instances of the same item? I was hoping I could fix
this in a subclass or something...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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