FROM : David Hoerl
DATE : Fri Jun 30 18:52:17 2006
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
DATE : Fri Jun 30 18:52:17 2006
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
| Related mails | Author | Date |
|---|---|---|
| David Hoerl | Jun 30, 18:52 | |
| Matt Neuburg | Jun 30, 19:34 |






Cocoa mail archive

