Pushing the truth
Pushing the truth
- Subject: Pushing the truth
- From: Glen Low <email@hidden>
- Date: Sat, 26 Jan 2008 14:39:15 +0900
Dear All
It appears there is no public API for "pushing the truth", despite
Sync Services documentation mentioning this particular mode. Or am I
missing something?
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?
In lieu of a public API, what would be the recommended practice?
1. -[ISyncSession deleteRecordWithIdentifier:] for each known
identifier, and then -[ISyncSession pushChange:] etc. for each record
to be pushed, and then manually skip the pull stage entirely?
2. -[ISyncSession clientDidResetEntityNames:] for each known entity
and then proceed with the sync as per normal?
3. ... something else entirely?
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