Working Programmatically with Bound Controller's Selection

2013-03-27 Thread William T. McVay
In my XIB, I have a pop-up button bound to an array controller that is bound to an NSMutableArray in my NSWindowController subclass instance. I added both the pop-up and the array controller in IB. Selection works, and I can use bindings to display the selected object's property values, as discu

Binding to Array of Persistent Objects

2013-03-25 Thread William T. McVay
In Xcode 4.5.2 on Mac OS X 10.7.5, I have built an array of objects that point into a persistent-object context that obeys KVC. I want to select one object from this array based on displaying one of its direct valueForKey: attributes in a pop-up button. In the binding inspector's Content Value a