Re: NSOutline/NSTable-View: delegate or bindings?
Re: NSOutline/NSTable-View: delegate or bindings?
- Subject: Re: NSOutline/NSTable-View: delegate or bindings?
- From: David Spooner <email@hidden>
- Date: Sat, 15 Dec 2007 10:36:37 -0700
On 14-Dec-07, at 5:39 PM, Mike R. Manzano wrote:
I have an NSOutlineView that will be populated with a list of
objects that is synthesized by a custom controller. My question is,
is it better to make the custom controller the delegate of the
outline view, or make it a subclass of NSTreeController to override -
arrangedObjects?
I would not subclass NSTreeController if possible. I would bind the
tree controller's content to the object which synthesizes the tree.
If the latter, I noticed that -arrangedObjects returns a "proxy root
tree". What is that?
It is an implementation detail :)
dave
Thanks,
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden