cappuccino/cappuccino — pull request #1573 by mrcarlberg (2012-06-25 19:29:52+00:00)
Title: Added key value binding support for CPPopupButton

I have made a small test app with nib file that shows how a table view and a single detail popup works together.

Select an item in the popup. Then select another row in the table view and select another item in the popup. Select the first row again and you can se the popup change to the value you picked first

It is all magically done by Array Controllers and Bindings. The row items are Mutable Dictionaries.

Try it here:
http://mini.carlberg.org/TestPopUpBindings/

Code:
http://mini.carlberg.org/TestPopUpBindings.tgz