Update:
I was able to get this working. I am not sure exactly what fixed it, but I think that perhaps my QC test was the problem, I had several color generators and perhaps by not binding inputs to all them but one from I.B. they were not initializing to their own separate default colors, really not sure at all. But what I describe below should work to do this kind of binding. To send the selected value, use the selected indexed choice in the "Value Selection" area in bindings.
+++++
I am working on building a Cocoa stand alone application to imbed my QC application which in turn will control aspects of VDMX. I don't want this as a plugin in VDXM because it has way too many screen controls and it needs to be open all the time and not blocking the rest of the VDMX interface. I plan to run it off a 2nd laptop with midi networking between the two computers. I've already implemented this with Midi CC's on the 2nd computer coming out of Ableton clips and controlling VDMX on the main computer, but I want more control so a standalone QC application is a better way for me to go than ableton.
I have already been able to bind a color well from Interface Builder to change colors in a linked QC (inputted into a gradient generator).
That was a simple test just to make sure I have bindings working.
Now I am trying to use an NSPOPupbutton to change the selected index on a Multiplier patch in my QC.
I made a very simple QC to test this, just have 4 colors generators to choose from with a multiplier depending on the index number selected into the multiplier
But I just can't seem to get the binding right for the popup to control this.
I did the setup just as before with my first test using the color wheel,
added a QC Patch Controller, linked it to my QC, then added a QCview and also linked it to the same QC,
and I checked off the "forward all events" window (though I don't think it's needed as I am not doing any mouse or keyboard controls)
I've tried to link the popup to my input splitter, but just can't get it working.
I run the simulator, and pick a value in the list, but the color stays the same.
so the binding is clearly not working.
I tried binding in several places after each failure, set the "bind to" to "Patch Controller", the "controller key" to "patch"
and the "model key path" to "Color.value" which matches the published input name of my input splitter which is "Color". This is all following the guidelines in the apple documentation for binding to QC applications.
If anyone has had success with binding a popup using interface builder into their QC, perhaps you could suggest any gotchas to look out for. I was hoping it would not be necessary to have to try to massage the code, as I am not very fluent in Objective C.
Also not sure what is the best method to have
index numbers sent into QC from the popup, for example you could have the tag for each item in the list with a different index number and then
bind the tags, or use the "content value" or "selected index", etc.