NSOutlineView sample code? And philosophical help?
NSOutlineView sample code? And philosophical help?
- Subject: NSOutlineView sample code? And philosophical help?
- From: David Wood <email@hidden>
- Date: Tue, 25 Mar 2003 15:31:47 -0500
IS there any?
There's a program I'm trying to develop that, at present, I'm trying to
use NSOutlineView in to display program data a few different ways. But
it looks like NSOutlineView is designed specifically to handle nested
objects rather than individual attributes of objects. (I'm working with
two different types of object here, and each has its own NSOutlineView.
But they also comingle, and links between them may be displayed at
lower levels beneath each object, not to mention the results of said
comingling.)
To try to give you a picture of what I'm trying to do:
I have collections of data type A and data type B. Objects of type B
are themselves collections of objects of type C, which act as sockets
which objects of type A may plug into (one C to an A, but each A may be
connected to many Cs). Then there are additional attributes, probably
represented by objects themselves, which dangle from the Cs and are
said to be in possession of the As that are plugged into them.
If not NSOutlineView, how should I try to represent these on screen? (I
specifically want drag-and drop capability between the list of As, and
the list of Cs under each B. And I have to imagine it'd all be worse if
I tried to use NSBrowsers.)
Any suggestions?
_______________________________________________
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.