• 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
Mixing SyncServices sync modes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing SyncServices sync modes?


  • Subject: Mixing SyncServices sync modes?
  • From: "Timothy J. Wood" <email@hidden>
  • Date: Wed, 4 May 2005 08:02:01 -0700



The SyncServices API seems to allow the sync server to ask you to do different sync operations on different entities. This seems pretty crazy, though, since those entities could be related strongly. For example, if I have three different entities, and I get the following results from ISyncSession:

-shouldPushChangesForEntityName:@"A" -> NO // don't push ANY records for this entity (i.e., we are getting a pull-the-truth)

-shouldPushChangesForEntityName:@"B" -> YES
-shouldPushAllRecordsForEntityName:@"B" -> NO // slow sync this entity


-shouldPushChangesForEntityName:@"C" -> YES
-shouldPushAllRecordsForEntityName:@"C" -> YES // fast sync this entity


Now, it could be that A has relationships to B and C. Mixing fast & slow sync seems somewhat reasonable, but mixing pull-the-truth with any other sync mode seems like crazy talk!

Does anyone know of any guarantees about what mixture of sync modes we can expect?

-tim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Spotlight problem
  • Next by Date: Re: Is this a bug in Tiger's NSBitmapImageRep?
  • Previous by thread: NSBox Title, NSSwitchButton and NSRadioButton text colour
  • Next by thread: Can an mdimporter embed some frameworks as an application ?
  • Index(es):
    • Date
    • Thread