• 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
NSTableView content binding question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView content binding question


  • Subject: NSTableView content binding question
  • From: David Hoerl <email@hidden>
  • Date: Fri, 30 Jun 2006 12:52:17 -0400

I have an AppController that is supplying Widgets to a NSArrayController, and a NSTableView that wants to display these Widgets. The Widgets are NSDictionaries, with keys that match the NSTableColumn header and identifier.

Now, I cannot find anyway to successfully just use the NSTableView's content binding. That is, if I set it to use my NSArrayController's arrangedObjects, the table columns are empty (but the scroll bar implies there are the correct number of objects in the table.

So, I unbind contents, and bind each individual table column to the Widget key it should display, and of course it all works fine.

So what value is the content binding? Did I do it wrong? Is there someway to get the

[It would be just SO easy if I could set up the NSTableColumns with an Identifier that matches the key in Widgets, and just do one binding to the table contents.]

David
_______________________________________________
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: Re: Single selection and bindings
  • Next by Date: Cocoa Bindings Ref.: multi-value arg bindings ?!?!
  • Previous by thread: Re: Core Data and Bindings - Problem accessing attributes of related entity
  • Next by thread: Re: NSTableView content binding question
  • Index(es):
    • Date
    • Thread