Skip to content

Commit 93d4586

Browse files
committed
Fix build errors
1 parent f36c032 commit 93d4586

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

source/frameworks/swiftui/background-sync.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ If you're following along with the Template App, you can add this
165165
This background task first checks that your app has a logged-in user. If so,
166166
it sets a :swift-sdk:`.flexibleSyncConfiguration
167167
<Extensions/User.html#/s:So7RLMUserC10RealmSwiftE25flexibleSyncConfiguration15clientResetMode20initialSubscriptions11rerunOnOpenAC0B0V0F0VAC06ClienthI0O_yAC0E15SubscriptionSetVcSbtF>`
168-
with a :ref:`subscription <swift-manage-flexible-sync-subscriptions>` the
168+
with a :ref:`subscription <sdks-manage-sync-subscriptions>` the
169169
app can use to sync the realm.
170170

171171
This is the same configuration used in the Template App's ``ContentView``.

source/frameworks/swiftui/configure-and-open-database.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ SwiftUI-friendly way.
2727

2828
You can:
2929

30-
- :ref:`Implicitly open a database <ios-open-realm-with-configuration-swiftui>`
30+
- :ref:`Implicitly open a database <swiftui-open-database-with-configuration>`
3131
with a ``defaultConfiguration`` or specify a different configuration.
3232
This works for both non-synced and synced databases.
3333
- :ref:`Always download changes before opening a synced database
34-
<swiftui-async-open-synced-realm>`, which times out when the user is offline.
34+
<swiftui-async-open-synced-database>`, which times out when the user is offline.
3535
- :ref:`Open a synced database even when a user is offline
36-
<swiftui-auto-open-synced-realm>`. The database may lack the most recent data.
36+
<swiftui-auto-open-synced-database>`. The database may lack the most recent data.
3737

3838
.. _swiftui-open-database-with-configuration:
3939

@@ -79,15 +79,13 @@ The main difference between these property wrappers is whether the user
7979
must be online:
8080

8181
- To download updates from your Atlas App Services app before opening a database,
82-
use the :ref:`@AsyncOpen <swiftui-async-open-synced-realm>` property wrapper.
82+
use the :ref:`@AsyncOpen <_swiftui-async-open-synced-database>` property wrapper.
8383
This requires the user to have a network connection.
8484
- To open a synced database regardless of whether the user has a network
85-
connection, use the :ref:`@AutoOpen <swiftui-auto-open-synced-realm>`
85+
connection, use the :ref:`@AutoOpen <swiftui-auto-open-synced-database>`
8686
property wrapper. This property wrapper enables developers to design
8787
offline-first capabilities into their apps.
8888

89-
.. include:: /includes/tip-swift-migrate-to-flexible-sync.rst
90-
9189
.. _swiftui-async-open-synced-database:
9290

9391
Download Changes Before Opening a Synced Database

source/includes/tip-swift-migrate-to-flexible-sync.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)