Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView content binding question



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.