• 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: NSTableView content binding (and friends)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView content binding (and friends)


  • Subject: Re: NSTableView content binding (and friends)
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 2 Mar 2005 16:03:19 -0800


On Mar 2, 2005, at 3:48 PM, Jim Correia wrote:

The docs say for the content binding of NSTable view:

 content

An NSArrayController instance that provides the content of the NSTableView.

Typically, the content binding is created automatically when the initial NSTableColumn binding is made, binding to the column's NSArrayController.

Under what situations would I bind directly to this, rather than just setting up the columns? (I guess I have the same question for all of the other keys which say "Typically this binding is created automatically, binding to the <xxx> of the initially bound NSTableColumn.)


You might make an explicit binding if you want to dynamically change the sort descriptors, or directly track changes to the selection indexes...

I'm trying to understand, for example, why when I take mmalc's bookmarks example which uses the master-detail view, and explicitly bind the content of the NSTableView to the array controller, the detail view stops working correctly.

You'll also need to bind selectionIndexes and sortDescriptors.

mmalc


_______________________________________________ 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
References: 
 >NSTableView content binding (and friends) (From: Jim Correia <email@hidden>)

  • Prev by Date: NSTableView content binding (and friends)
  • Next by Date: Beginners question
  • Previous by thread: NSTableView content binding (and friends)
  • Next by thread: Preventing New Document on Open
  • Index(es):
    • Date
    • Thread