Re: How to implement an Xcode-style hierarchical file browser
Re: How to implement an Xcode-style hierarchical file browser
- Subject: Re: How to implement an Xcode-style hierarchical file browser
- From: Rick Hoge <email@hidden>
- Date: Tue, 26 Sep 2006 09:49:04 -0400
The simplest approach is always best when learning new things. I
suggest following the documentation and getting a basic outline
view up and running. From there you can determine what it actually
does on its own, without subclassing.
I guess I should add that the other reason I asked the original
question is that the documentation for NSOutlineView is eerily silent
regarding the use of NSTreeController and bindings. I've implemented
a few outline views already using bindings, but had to work that out
pretty much on my own as there's not much in the way of documentation
or examples (or wasn't when I last did this and it still seems to be
the case). Is it the case that outlines are still better implemented
using data sources and delegates, as opposed to bindings? I know
that support for binding an ouline view lagged behind similar support
for tables, but this has been added quite a while ago.
Also I am guessing that if the model represented in the outline view
is based on a Core Data representation then there may be special
concerns or opportunities to use bindings but I might be wrong.
Rick
_______________________________________________
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