• 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: Pushing the truth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushing the truth


  • Subject: Re: Pushing the truth
  • From: Glen Low <email@hidden>
  • Date: Sun, 27 Jan 2008 10:56:50 +0900

Nick, All:

On 27/01/2008, at 6:49 AM, Nick Zitzmann wrote:


On Jan 25, 2008, at 10:39 PM, Glen Low wrote:

It appears there is no public API for "pushing the truth", despite Sync Services documentation mentioning this particular mode. Or am I missing something?

There isn't.

So how does one push the truth, i.e. replace the entire truth database with records from the client e.g. as if restoring from a backup? How does iSync and other tools do this?


The method that pushes the truth is private. You can, however, do a slow sync, which is almost the same as pushing the truth. The only difference between the two is the pull phase is skipped during push- the-truth syncs, whereas it's not on slow syncs.

During the slow sync "simulation-of-push-the-truth", can I simply skip the pull phase in my code, or will Sync Services attempt to pull stuff down during the next sync?


Should I do a refresh sync instead which at least avoids pulling down deletes?




Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com aim: pixglen

_______________________________________________

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


  • Follow-Ups:
    • Re: Pushing the truth
      • From: Nick Zitzmann <email@hidden>
References: 
 >Pushing the truth (From: Glen Low <email@hidden>)
 >Re: Pushing the truth (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • Next by Date: Re: Pushing the truth
  • Previous by thread: Re: Pushing the truth
  • Next by thread: Re: Pushing the truth
  • Index(es):
    • Date
    • Thread