Re: model key path and properties

2011-07-15 Thread Torsten Curdt
The popup button's Content binding is an *entire* array. So you are saying it should be rather Content Values instead? Arrays don't have a name property. IOW, arrangedObjects.name is not a valid key path. The strange thing - ignoring the warning it just worked. So I am a little puzzled.

Re: model key path and properties

2011-07-15 Thread Quincey Morris
On Jul 15, 2011, at 02:44, Torsten Curdt wrote: So you are saying it should be rather Content Values instead? No, I can never remember which of NSPopUpButton's multitudinous binding is the correct one to use. (That's one reason I don't bother with bindings for this class. By the time I've

model key path and properties

2011-07-14 Thread Torsten Curdt
Xcode4.0.2 on 10.6.8: I have a NSArrayController and I add items to that controller. In the nib I have bound a NSPopUpButton's Content to that NSArrayController's arrangedObjects. Now with an empty model key path I see the object's description in the popup. All good and expected. Now these items

Re: model key path and properties

2011-07-14 Thread Quincey Morris
On Jul 14, 2011, at 15:29, Torsten Curdt wrote: I have a NSArrayController and I add items to that controller. In the nib I have bound a NSPopUpButton's Content to that NSArrayController's arrangedObjects. Now with an empty model key path I see the object's description in the popup. All good