diff --git a/examples/ios/Examples/Sync.swift b/examples/ios/Examples/Sync.swift index ad606acbb1..94b02f3f70 100644 --- a/examples/ios/Examples/Sync.swift +++ b/examples/ios/Examples/Sync.swift @@ -1,6 +1,7 @@ // :replace-start: { // "terms": { -// "SyncExamples_": "" +// "SyncExamples_": "", +// "FlexibleSync_": "" // } // } import RealmSwift diff --git a/source/examples/generated/code/start/Sync.snippet.awaitable-wait-for-upload-download.swift b/source/examples/generated/code/start/Sync.snippet.awaitable-wait-for-upload-download.swift index 6e82a1a8a3..6a0b05360f 100644 --- a/source/examples/generated/code/start/Sync.snippet.awaitable-wait-for-upload-download.swift +++ b/source/examples/generated/code/start/Sync.snippet.awaitable-wait-for-upload-download.swift @@ -3,7 +3,7 @@ try await realm.syncSession?.wait(for: .download) // Add data locally try realm.write { - realm.create(FlexibleSync_Task.self, value: [ + realm.create(Task.self, value: [ "taskName": "Review proposal", "assignee": "Emma", "completed": false, diff --git a/source/examples/generated/code/start/Sync.snippet.callback-wait-for-upload-download.swift b/source/examples/generated/code/start/Sync.snippet.callback-wait-for-upload-download.swift index 296e2ec5fb..9e98181467 100644 --- a/source/examples/generated/code/start/Sync.snippet.callback-wait-for-upload-download.swift +++ b/source/examples/generated/code/start/Sync.snippet.callback-wait-for-upload-download.swift @@ -7,7 +7,7 @@ realm.syncSession?.wait(for: .download, block: { _ in // Add data locally do { try realm.write { - realm.create(FlexibleSync_Task.self, value: [ + realm.create(Task.self, value: [ "taskName": "Review proposal", "assignee": "Emma", "completed": false, diff --git a/source/examples/generated/code/start/Sync.snippet.open-synced-realm.swift b/source/examples/generated/code/start/Sync.snippet.open-synced-realm.swift index f075227ad3..3669934f5b 100644 --- a/source/examples/generated/code/start/Sync.snippet.open-synced-realm.swift +++ b/source/examples/generated/code/start/Sync.snippet.open-synced-realm.swift @@ -23,7 +23,7 @@ func getRealm() async throws -> Realm { // authenticated to this instance of your app, // and what object types this database should manage. var configuration = user.flexibleSyncConfiguration() - configuration.objectTypes = [FlexibleSync_Task.self, FlexibleSync_Team.self] + configuration.objectTypes = [Task.self, Team.self] // Open a Realm with this configuration. let realm = try await Realm(configuration: configuration)