Re: Pushing the truth
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