What is the best way to use NSOutlineView without NSTreeController?
What is the best way to use NSOutlineView without NSTreeController?
- Subject: What is the best way to use NSOutlineView without NSTreeController?
- From: Andrei Tchijov <email@hidden>
- Date: Thu, 1 Dec 2005 23:40:35 -0500
I am trying to build kind of "Master-Detail" interface where "Master"
is NSOutlineView. My application have to run on Panther, so I can
not use NSTreeController. I still would love to use "bindings" for
"Detail" part of the interface. What is the best way to do it?
I can create a Key/Value compatible class which provides access to
currently selected item in NSOutlineView. If I use
NSObjectController that has object of this class as a content, then I
can bind my controls from "Detail" part to this controller and it
looks like my updates do get through to the current item from
NSOutlineView. What I can not figure out is how to tell/force
NSObjectController, that selection has been changed in NSOutlineView.
Your advice/comments/ideas will be greatly appreciated
Andrei
_______________________________________________
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