Hi, I'm getting a strange error trying to bind objects into an NSPopUpButton. In Interface Builder, I have an NSArrayController bound an array in my document. I'm binding the contentObjects of my popup to the array controller, and the contentValues to a string key within the objects in the array. It all works well except for one thing:
The two top objects are the ones in the array, and they're correct. The goofy one on the bottom is I guess being inserted by the runtime initially, and I have no idea why. RBAudioDevice is the class of the objects in the bound content array. Now, when I select one of the other two normal items, the strange one goes away and never returns. After that, it works perfectly, but I can't get it to stop that one item from appearing when the app launches. "Automatically prepares content" does not make a difference, nor do any of the other settings. Any ideas? I've never seen this before.
The two top objects are the ones in the array, and they're correct. The goofy one on the bottom is I guess being inserted by the runtime initially, and I have no idea why. RBAudioDevice is the class of the objects in the bound content array. Now, when I select one of the other two normal items, the strange one goes away and never returns. After that, it works perfectly, but I can't get it to stop that one item from appearing when the app launches. "Automatically prepares content" does not make a difference, nor do any of the other settings. Any ideas? I've never seen this before.