I have an array of dictionaries that all look like { "hidden": true/
false, "title": "someName" }. I want to create a bunch of checkboxes
to control the "hidden" attribute of each dictionary.
I thought the easiest way would be to create an NSMatrix of
checkboxes and then bind them to the array's NSArrayController.
I can bind the title of the checkbox to the "title" attribute of each
dictionary using NSMatrix's "contentValues" binding (and the NSMatrix
grows to accommodate all the items int the array) but none of the
other bindings allow me to bind the on/off value of the checkbox to
the "hidden" attribute.
Using an NSTableView is another (less attractive) option and binding
a table to my array is trivial (just bind one column to "hidden" and
a second column to "title") but I can't seem to get something similar
for this perky NSMatrix.
Jon.