Mixing SyncServices sync modes?
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