@@ -27,13 +27,13 @@ SwiftUI-friendly way.
27
27
28
28
You can:
29
29
30
- - :ref:`Implicitly open a database <ios -open-realm -with-configuration-swiftui >`
30
+ - :ref:`Implicitly open a database <swiftui -open-database -with-configuration>`
31
31
with a ``defaultConfiguration`` or specify a different configuration.
32
32
This works for both non-synced and synced databases.
33
33
- :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.
35
35
- :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.
37
37
38
38
.. _swiftui-open-database-with-configuration:
39
39
@@ -79,15 +79,13 @@ The main difference between these property wrappers is whether the user
79
79
must be online:
80
80
81
81
- 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.
83
83
This requires the user to have a network connection.
84
84
- 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 >`
86
86
property wrapper. This property wrapper enables developers to design
87
87
offline-first capabilities into their apps.
88
88
89
- .. include:: /includes/tip-swift-migrate-to-flexible-sync.rst
90
-
91
89
.. _swiftui-async-open-synced-database:
92
90
93
91
Download Changes Before Opening a Synced Database
0 commit comments