SyncConfiguration
public struct SyncConfiguration
A SyncConfiguration
represents configuration parameters for Realms intended to sync with a Realm Object Server.
-
The URL of the Realm on the Realm Object Server that this configuration should open.
Warning
The URL must be absolute (e.g.realms://example.com/~/foo
), and cannot end with.realm
,.realm.lock
or.realm.management
.Declaration
Swift
public let realmURL: URL
-
Initialize a sync configuration with a user and a Realm URL.
Warning
The URL must be absolute (e.g.realms://example.com/~/foo
), and cannot end with.realm
,.realm.lock
or.realm.management
.Declaration
Swift
public init(user: SyncUser, realmURL: URL)