Bound UI elements not showing 'description' as expected
Bound UI elements not showing 'description' as expected
- Subject: Bound UI elements not showing 'description' as expected
- From: Rick Hoge <email@hidden>
- Date: Wed, 28 Jul 2004 10:25:26 -0400
I have an NSPopupButton for which the 'content' attribute is bound to
an NSArray of NSDocuments. The NSArray is an attribute of the nib
file's owner, so the binding is implemented via an NSObjectController
with a key corresponding to the array.
The documents 'description' method is overridden to return the display
name, but in the popup button I get a generic object description like
<MyVolume: 0x0354a3>. The weird thing is that this worked (showed the
file name) when I originally implemented it, but stopped working for
reasons I have been unable to identify.
Does anyone know of a possible reason why, in this usage scenario, the
'description' return value would not be propagated to the UI element?
Thanks,
Rick
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.