• 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: Bindings problems...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings problems...


  • Subject: Re: Bindings problems...
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 25 Mar 2005 14:59:07 -0800


On Mar 25, 2005, at 3:13 AM, Tom Birch wrote:


On 25/03/2005, at 6:32 PM, John C. Randolph wrote:


Looks like you have something observing "files" that isn't removing itself as an observer when it goes away. Make sure you send -removeObserver:forKeyPath: to anything you're observing in your -dealloc method.

-jcr


but files isn't going away, it's just changing...

The problem is that something that's *observing* your files keypath has probably gone away, and the change is causing KVO notifications to be sent to something that's not there anymore. That's my impression from looking at your backtrace.


Next thing to do is turn on zombies, and see what object KVO is trying to talk to when you get the bad access signal.

-jcr


John C. Randolph <email@hidden> (408) 974-8819 Sr. Cocoa Software Engineer, Apple Worldwide Developer Relations http://developer.apple.com/cocoa/index.html



_______________________________________________
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: 
 >Bindings problems... (From: Tom Birch <email@hidden>)
 >Re: Bindings problems... (From: "John C. Randolph" <email@hidden>)
 >Re: Bindings problems... (From: Tom Birch <email@hidden>)

  • Prev by Date: Re: NSTableView and Bindings
  • Next by Date: Re: deployment style
  • Previous by thread: Re: Bindings problems...
  • Next by thread: Print panel and page number range
  • Index(es):
    • Date
    • Thread