Re: Handling observing CoreData undo's [SOLVED]
Re: Handling observing CoreData undo's [SOLVED]
- Subject: Re: Handling observing CoreData undo's [SOLVED]
- From: John Timmer <email@hidden>
- Date: Wed, 01 Jun 2005 15:43:29 -0400
Never mind - the ManagedObjectContext's notification seems to do the job
without an exception. Sorry for the noise.
JT
> I'm running into a related problem to the one I had earlier. Core Data
> objects don't like to have anything manually observing their values when
> they're removed by an Undo command that reverses their creation. Mostly, I
> can work around this.
>
> The place I'm having a problem is where I have a window that shows a
> detailed view of an object. If the window's open when the user undo's the
> creation of that specific object, I'd like it to close (otherwise,
> everything in it just displays nil values). Unfortunately, if I observe an
> object in it to see when that gets set to nil, I get the exception raised
> when manually observing an "undone" object, and undo-ing isn't completed,
> leaving the whole managedObjectContext in an intermediate state.
>
> Does anyone have any suggestions as to how to detect when a specific object
> gets undone?
>
_______________________________________________
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