• 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
Re: Clearing NSTableView on unbind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clearing NSTableView on unbind


  • Subject: Re: Clearing NSTableView on unbind
  • From: Jim Correia <email@hidden>
  • Date: Mon, 22 Aug 2005 11:53:00 -0400

On Aug 22, 2005, at 11:42 AM, Edwin Vane wrote:

I'm trying to find a nice solution to a simple little problem. I have a
window that serves as a kind of inspector of a selected object. The
inspector has a table view inside to list some of the properties of the
selected object. When the selected object changes, I re-bind the array
controllers feeding data to the table to the new selected object. However, when there
is no/multiple selection, I would like the table to be empty.
Unfortunately, just doing an unbind doesn't seem to work.


Any suggestions?

Use an intermediate controller for the inspector views, and set its content to nil when there are no inspect-able objects.


Jim
_______________________________________________
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: Clearing NSTableView on unbind
      • From: Edwin Vane <email@hidden>
References: 
 >Clearing NSTableView on unbind (From: Edwin Vane <email@hidden>)

  • Prev by Date: Why use copy in value setters?
  • Next by Date: Re: Why use copy in value setters?
  • Previous by thread: Clearing NSTableView on unbind
  • Next by thread: Re: Clearing NSTableView on unbind
  • Index(es):
    • Date
    • Thread