Re: NSOutlineView and Controller layer
Re: NSOutlineView and Controller layer
- Subject: Re: NSOutlineView and Controller layer
- From: Scott Anguish <email@hidden>
- Date: Mon, 3 Nov 2003 18:17:56 -0500
On Nov 3, 2003, at 1:45 AM, Drew McCormack wrote:
Like everyone else, I have been playing a bit with the controller
layer in panther. The basic stuff seems to work OK. I can get an
NSTableView and NSArrayController to talk, for example. But I have not
been able to figure out how you could link up an NSOutlineView, or
even if it is possible with the standard Cocoa controller classes. My
guess is that something more powerful than NSArrayController is
needed, that can store a tree of items as well as an array of model
data. Does that sound right? Anyone done it yet?
NSOutlineView isn't supported for bindings at this point. The
bindings that are present are just hand me downs from NSTableView.
You'd not really need a tree controller in order to make NSOutlineView
work.. an array of arrays is a tree, so either nested array
controllers, or perhaps even just using a single array controller
changing the contentArray binding to be a keyPath to the current
nodearray...
mind you, it's all speculation since NSOutlineView isn't supported.
Oh, just to stave off any other questions... the list of unsupported
classes are: NSOutlineView, NSBrowser (although I'm not 100% on that),
NSQuickdrawView, OpenGLView.. I think that's it.. at least as far as
what you can create in IB is concerned. Hopefully they'll be supported
in a future revision.
_______________________________________________
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.