Conflict Resolution

  • When you receive a conflict in a callback method, you must resolve the conflict by calling resolveConflict.

    See more

    Declaration

    Swift

    public class SyncServerConflict<R>
  • Content downloads can conflict with content upload(s) and/or an upload deletion. See the conflictType of the specific SyncServerConflict.

    See more

    Declaration

    Swift

    public enum ContentDownloadResolution
  • In the following the term content refers to either appMetaData or file data contents. Download deletions can conflict with file uploads and/or appMetaData uploads. A server download deletion and a client file upload deletion don’t conflict (it’s just two people trying to delete at about the same time, which is fine).

    See more

    Declaration

    Swift

    public enum DownloadDeletionResolution
  • Because downloads are higher-priority (than uploads) with the SyncServer, all conflicts effectively originate from a server download operation: A download-deletion, a file-download, or an appMetaData download. The type of server operation will be apparent from the context.

    And the conflict is between the server operation and a local, client operation.

    See more

    Declaration

    Swift

    public enum ConflictingClientOperation : Equatable
  • Declaration

    Swift

    public enum ServerContentType