I\'m exploring bindings right now, and have an NSPopUpButton -
It presents me a number of options for bindings under Value Selection - Content
, Conte
#Object
refers to any KVC-compliant object. #ObjectValue
refers to the key path used to get the value from that object.
So, for your pop-up binding, ContentObjects would be bound to, say, an NSArrayController
's arrangedObjects
. Say this refers to an array of dictionaries or managed objects. You can't meaningfully present a dictionary in a pop-up (you get the start of the description
output, e.g arrangedObjects.name
, where name is a key from your dictionary or managed object.
I hope this helps, I struggled with the same concept myself when I started with bindings.