• 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: Popup List Contains <MyObject 0x1234>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Popup List Contains <MyObject 0x1234>


  • Subject: Re: Popup List Contains <MyObject 0x1234>
  • From: Daniel Jalkut <email@hidden>
  • Date: Mon, 13 Mar 2006 12:40:25 -0500

I have seen behavior like this when, for instance, the contents that a popup is bound to disappear, but the corresponding instance variable is not set to nil to notify the observers.

I assume this has something to do with the magic "KVO" object stand- ins that get generated by the bindings system. That would explain how they still know enough about what they are bound to identify it by class name, but since the underlying object has disappeared there are not real details to convey to the UI.

Daniel

On Mar 12, 2006, at 11:32 AM, Peter Bates wrote:

How can I avoid the presentation of "<MyObject 0x1234>" and just show whatever it was that was selected?

Are you using an actual property key to display the title, or relying on 'description'?
See, for example, <http://www.cocoabuilder.com/archive/message/ cocoa/2004/3/12/101445>.


mmalc

I was using a property key.
I must admit, I have a difficult time understanding which bindings to use. In the present instance, though I'm not using core data, I went back to the core data tutorial and tried copying the bindings, but didn't get the result I expected.


Thanks
-- Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Popup List Contains <MyObject 0x1234> (From: Peter Bates <email@hidden>)
 >Re: Popup List Contains <MyObject 0x1234> (From: Peter Bates <email@hidden>)

  • Prev by Date: CoreData: Enumerating through very large data sets?
  • Next by Date: Re: What framework & language is good for an old C++ mule.
  • Previous by thread: Re: Popup List Contains <MyObject 0x1234>
  • Next by thread: read/write a mbox file
  • Index(es):
    • Date
    • Thread