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

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


  • Follow-Ups:
    • Re: Pushing the truth
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: loaded subview not expanding correctly.
  • Next by Date: Re: CALayer and frame
  • Previous by thread: Re: A Dynamic NSTextField
  • Next by thread: Re: Pushing the truth
  • Index(es):
    • Date
    • Thread