• 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: Grouping undo-able actions with CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Grouping undo-able actions with CoreData (From: John Timmer <email@hidden>)

  • Prev by Date: Re: NSHost and NSOutputStream question
  • Next by Date: Re: setNeedsDisplay broken in Tiger
  • Previous by thread: Re: Grouping undo-able actions with CoreData
  • Next by thread: Re: Grouping undo-able actions with CoreData
  • Index(es):
    • Date
    • Thread