Rootless, complex NSOutlineView?
Rootless, complex NSOutlineView?
- Subject: Rootless, complex NSOutlineView?
- From: David Wood <email@hidden>
- Date: Tue, 27 May 2003 12:11:40 -0400
So I'm *very* slowly learning NSOutlineView through careful
experimentation, and aided by what documentation I have on the subject
(which admittedly isn't much; "Cocoa Programming for Mac OS X" doesn't
cover NSOutlineView, nor does "Building Cocoa Applications" or the
Vermont Recipes book.)
1. The examples I've seen show NSOutlineView having one root node
displayed, and several child nodes underneath it which may also have
children. Is there any way not to display that one root node? In my
application, that root node is never going to change, and it's enough
that I know it's there. Or is there a way to display an NSOutlineView
with "multiple" roots?
2. The data I'm trying to display in NSOutlineView is very complex; at
no level does a child match the type of its parent. Certain types of
information store other types of information, which serve as parents
for *other* forms of information, etc. The NSOutlineView seems closest
to what I'm trying to do, but I wonder if it's good enough.
I've seen some of the NSOutlineView sample code on the BigNerd site,
but the example I grabbed was the simplest, and not representative of
my problems now. And I'm trying to avoid creating an entirely new
custom control because I'm not that advanced yet.
Anyone care to take a crack at this problem for me? The list is already
sick of hearing about the data structures I'm trying to create for this
program, so I won't post them here.
--David
http://skipjack.bluecrab.org/~dwood
"It's not apathy... I just have a very aggressive definition of what
isn't my damn problem."
_______________________________________________
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.