Re: Grouping undo-able actions with CoreData
Re: Grouping undo-able actions with CoreData
- Subject: Re: Grouping undo-able actions with CoreData
- From: John Timmer <email@hidden>
- Date: Wed, 25 May 2005 11:30:40 -0400
Just responding to my own message in case someone searches the archives:
getting rid of the key/value observing within my classes and replacing it
with a relationship/method call seems to have avoided the undo crash
described below.
>>> Which, when I tried to undo it, resulted in the following being
>>> logged as
>>> the app it hit an exception:
>>> -observeValueForKeyPath:ofObject:change:context: only defined for
>>> abstract
>>> class. Define -[_NSProxyWrapperMutableSet
>>> observeValueForKeyPath:ofObject:change:context:]!
>>>
>> I'm trying to guess why you might get this message -- are you somehow
>> binding a model object to something else?
>
> In addition to all the bindings in my program, there are a couple of spots
> where I've manually set up change observations. Commenting out all that
> change observation does avoid the crash, so I'll set some breakpoints and
> see if I can figure out what's gone wrong there. I may not be
> de-registering everything thoroughly enough. There's a danger that I
> assumed that some things, once created, would be around for the life of the
> document without accounting for undo.
_______________________________________________
This mind intentionally left blank
_______________________________________________
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