Sync

  • “Point of entry” for sync, e.g. create a sync client using Sync.makeClient(store, urlString). For general information on ObjectBox Sync, please visit https://objectbox.io/sync. General sync documentation - including Swift clients - is available at https://sync.objectbox.io/.

    See more

    Declaration

    Swift

    public class Sync
  • Main API for client sync; create an instance via Sync.makeClient(). The sync client will start trying to connect after start() is called.

    See more

    Declaration

    Swift

    public protocol SyncClient : AnyObject
  • Credentials for authenticating the client when connecting to a sync server/peer. E.g. use SyncCredentials.makeSharedSecret(secret).

    See more

    Declaration

    Swift

    public class SyncCredentials