(no subject)
(no subject)
- Subject: (no subject)
- From: Aurélien Hugelé <email@hidden>
- Date: Tue, 28 Feb 2006 08:59:52 +0100
Hello pierre,
I've read this post on the cocoa dev list, it is not very recent and
i hope you'll remember your code : http://www.cocoabuilder.com/
archive/message/cocoa/2005/5/3/134751
i'm exactly in the same situation now. I want my both contexts to be
synchronized.
I'm just asking myself what does [objectContext
refreshObject:managedObject
mergeChanges:YES]; do ?
you are mixing inserted, deleted and updated objects in the same
mutable set of objectID. And simply call refreshObject:mergeChanges:
in the other context.
does refreshObject:mergeChanges: is able to *delete* or *insert* an
object from the context ? i thought it would just work for objects
that needs to be *updated*...
finally, did you found another solution to your problem ?
thanks
_______________________________________________
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