Re: (simple?) CoreData question :-)
Re: (simple?) CoreData question :-)
- Subject: Re: (simple?) CoreData question :-)
- From: "Marcus S. Zarra" <email@hidden>
- Date: Thu, 2 Mar 2006 12:46:54 -0700
Have you tried saving the MOC after the deletion? The save should let
the other MOC know about the deletion.
On 3/2/06, Mr. Guillaume Christian Rager <email@hidden> wrote:
> Hey
>
> I have core data application that uses SQLite store.
> The persistent store coordinator is shared between 2 MOCs.
>
> When the user deletes an object in MOC moc1, the deletion is seen by
> NSArrayControllers and the tableview are refreshed.
>
> How can i inform the second MOC that the object with the same
> objectID (i'll use objectWithObjectID:) has been removed? is it up to
> me to inform the second MOC app that an object has been deleted in
> the first MOC? should i remove this object again (using
> objectWithObjectID:) in the second MOC ?
>
> thanks
>
> Guillaume
>
> -----------
> GUMITECH - France
> http://www.gumitech.com
>
> "Chaud cocoa, chaud chocolat !"
> _______________________________________________
> 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
>
_______________________________________________
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