You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
<p>Once your SDK object is set, access any of the Appwrite services and choose any request to send. Complete documentation for any service method you would like to use can be found in your SDK documentation or in the API References section.</p>
<pre class="line-numbers"><code class="prism language-swift" data-prism>// Register User
123
123
let account = Account(client: client)
124
124
account.create(email: "[email protected]", password: "password") { result in
@@ -133,7 +133,7 @@ account.create(email: "[email protected]", password: "password") { result in
133
133
134
134
<p>If you want to listen to changes in realtime from Appwrite, you can subscribe to a variety of channels and receive updates within milliseconds. Full documentation for Realtime can be found <a href="/docs/realtime">here</a>.</p>
<pre class="line-numbers"><code class="prism language-swift" data-prism>// Subscribe to files channel
138
138
let realtime = Realtime(client: client)
139
139
@@ -148,7 +148,7 @@ let subscription = realtime.subscribe(channels: ["files"]) { message in
148
148
<p>If you're using macOS, for realtime to function correctly you need to ensure you have both "Outgoing Connections (Client)" <i>and</i> "Incoming Connections (Server)" enabled in your App Sandbox settings in your project file.</p>
0 commit comments