Re: Bound UI elements not showing 'description' as expected
Re: Bound UI elements not showing 'description' as expected
- Subject: Re: Bound UI elements not showing 'description' as expected
- From: Scott Anguish <email@hidden>
- Date: Thu, 29 Jul 2004 01:55:22 -0400
On Jul 28, 2004, at 11:41 PM, Brent Gulanowski wrote:
On Wed, 28 Jul 2004 09:55:35 -0700, mmalcolm crawford
<email@hidden> wrote:
On Jul 28, 2004, at 7:25 AM, Rick Hoge wrote:
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.
<http://www.cocoabuilder.com/archive/message/2004/1/30/99920>
mmalc
I know I should file an enhancement bug, but could this be fixed to
send -description to super first? Or otherwise give the hint that this
is not the object you think it is talking? Glad I read this thread...
isa swizzling is cool, but weird.
The best fix for the moment is to change the method name from
-description to something else. Right now when automatic KVO is
enabled for a class, and the object is being observed the -description
method behaves differently than it does otherwise.
_______________________________________________
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.