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.
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
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
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