• 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
Re: Core Data sync between iOS and Mac apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data sync between iOS and Mac apps


  • Subject: Re: Core Data sync between iOS and Mac apps
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 12 May 2015 11:48:24 -0500

On Tue, May 12, 2015, at 10:35 AM, Jens Alfke wrote:
> You can still handle conflicts using Dropbox, it’s just trickier. You’ll
> need to detect the renamed version of the file that Dropbox creates —
> something like “MyAppData (Jens Alfke's conflicted copy 2015-05-09).db” —
> then open both files and reconcile any changes, then save back to the
> original file and delete the conflicted copy. And somehow keep both
> devices from doing this at the same time, or you’re back at square one.

There was a hilarious* bug in an early version of OmniPresence where
clients a) eagerly resolved conflicts and b) did not back off if their
attempt to resolve the conflict created another conflict.

The result was that if you had two Macs running OmniPresence, and you
managed to create a conflict, occasionally both machines would just
start generating infinite duplicates of the conflicted document.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: Core Data sync between iOS and Mac apps (From: Michael Swan <email@hidden>)
 >Re: Core Data sync between iOS and Mac apps (From: email@hidden)
 >Re: Core Data sync between iOS and Mac apps (From: Alex Kac <email@hidden>)
 >Re: Core Data sync between iOS and Mac apps (From: email@hidden)
 >Re: Core Data sync between iOS and Mac apps (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Core Data sync between iOS and Mac apps
  • Next by Date: App is not running with the release build
  • Previous by thread: Re: Core Data sync between iOS and Mac apps
  • Next by thread: Re: Core Data sync between iOS and Mac apps
  • Index(es):
    • Date
    • Thread