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 08:33:22 -0400
>> 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.
The most important thing here is that, with the crash out of the way,
grouping undos by event now allows everything to be reversed properly, at
least as far as my limiting testing has shown.
Thanks for pointing me in the right direction on this. Now if I could only
sort out the undo menu enabling issue....
Thanks again,
John
_______________________________________________
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