• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bound UI elements not showing 'description' as expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Bound UI elements not showing 'description' as expected (From: Rick Hoge <email@hidden>)
 >Re: Bound UI elements not showing 'description' as expected (From: mmalcolm crawford <email@hidden>)
 >Re: Bound UI elements not showing 'description' as expected (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: NSURL Accept-Encoding: gzip question
  • Next by Date: Re: Using NSApplescript while keeping UI responsive
  • Previous by thread: Re: Bound UI elements not showing 'description' as expected
  • Next by thread: Binding window title
  • Index(es):
    • Date
    • Thread