Re: Can't Remove Observer Was: Re: Core Data not fulfill a fault (now: observer) after Save As
Re: Can't Remove Observer Was: Re: Core Data not fulfill a fault (now: observer) after Save As
- Subject: Re: Can't Remove Observer Was: Re: Core Data not fulfill a fault (now: observer) after Save As
- From: John Bishop <email@hidden>
- Date: Fri, 30 Oct 2009 16:37:01 -0500
- X_cmae_category: 0,0 Undefined,Undefined
I have yet to find the reporting of this exception to be in error in
Mac OS X 10.6. It's a real exception that you should fix. I HAVE
found that Mac OS X 10.5.8 and earlier sometimes failed to report
incorrect removal (or more commonly, double-removal) of an observer.
When you suggest that the "app seems to work fine" while this error is
reported, I'd reconsider. Something's amiss in your handling of
adding and removing observers to your "Stark" class.
On 2009 Oct 14, at 12:47, Jim Thomason wrote:
I've found this same problem with my app, except I'm also getting
these warnings:
Cannot remove an observer <NSKeyValueObservance 0x46d020> for the key
path "canHaveChildren" from <Stark 0x15330e40> because it is not
registered as an observer.
Like the other warning reported by Jim, this does not occur when
running in Mac OS 10.5.8. Also as reported by Jim, the app seems to
work fine in either Mac OS.
Does anyone know is this 'not registered as an observer' message part
of the same regression?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden