Re: (simple?) CoreData question :-)
Re: (simple?) CoreData question :-)
- Subject: Re: (simple?) CoreData question :-)
- From: Aurélien Hugelé <email@hidden>
- Date: Fri, 03 Mar 2006 05:10:52 +0100
Yes the object is deleted in both moc after a save, but the array
controllers bound to the second moc are not informed and i finally
get a "Core Data could not fullfill a fault" error...
No notifications are sent since ONLY the first moc did delete the
object.
On 2 mars 06, at 20:46, Marcus S. Zarra wrote:
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:
40gumitech.com
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