• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTreeController with different classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Hiring Mac Developers
  • Next by Date: how to debug notification that's never received?
  • Previous by thread: Hiring Mac Developers
  • Next by thread: how to debug notification that's never received?
  • Index(es):
    • Date
    • Thread