NSTreeController with different classes
NSTreeController with different classes
- Subject: NSTreeController with different classes
- From: David <email@hidden>
- Date: Fri, 3 Mar 2006 15:11:38 -0600
I have an NSTreeController for an NSOutlineView that displays objects
that are not all of the same class. When a user selects an item, a
tabless NSTabView displays the appropriate tab view via a binding on
the selected object. Each class has different properties to be
displayed in the tab view via NSTextFields.
What method should I use to bind the NSTextFields since the
properties available via NSTreeController.selection will change
depending on the class of the object selected?
Or put another way; this is similar to the Master-Detail interface
described in the docs except my detail interface changes(along with
the properties available) depending on the selection.
_______________________________________________
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