• 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
What is the best way to use NSOutlineView without NSTreeController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: What is the best way to use NSOutlineView without NSTreeController?
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: RE: Is Apple's singleton sample code correct?
  • Previous by thread: Implementing image pre-caching in a multi-threaded app.
  • Next by thread: Re: What is the best way to use NSOutlineView without NSTreeController?
  • Index(es):
    • Date
    • Thread