• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(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


  • Prev by Date: Re: Menu Item Hot Key
  • Next by Date: Re: when to register
  • Previous by thread: (no subject)
  • Next by thread: XMLDocument NSData
  • Index(es):
    • Date
    • Thread