Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing SyncServices sync modes?





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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.