It does make perfect sense that binding NSPopupButton's
selectedIndex to NSArrayController's selectionIndex permits the
popup button to not only display the selection, but also change it.
The table view thing is still fairly confusing though because I find
it rather unintuitive that binding a column of a table to a
particular property of an array controller actually ends up binding
the selection of the entire table to the selection of the entire
array controller. I haven't been able to actually find
documentation that discusses it anywhere, and I'd think it'd be
rather important to mention since it makes things like binding
multiple tables to a single array controller a "Bad Thing" whereas
it seems perfectly reasonable if you don't know about that
particular quirk. Do you know of an official Apple document that
actually details this interaction and/or NSTableBinder?
"Typically, the content binding is created automatically when the
initial NSTableColumn binding is made, binding to the column's
NSArrayController."
It would be worth, though, filing an enhancement request to have this
described more prominently elsewhere in the documentation.
Also, if I were interested in filing a bug against the
documentation, what system would I use to do it?
In addition to bugreport.apple.com, you can use the feedback link at
the bottom of any reference page in the documentation ("Did this
document help you?" ...).
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com