Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(docs): add missing import for swift reference (#33520)

Guilherme Souza53688e6d3969
diff --git a/apps/docs/spec/supabase_swift_v2.yml b/apps/docs/spec/supabase_swift_v2.yml
index 9cfb69a2641..6079e637556 100644
--- a/apps/docs/spec/supabase_swift_v2.yml
+++ b/apps/docs/spec/supabase_swift_v2.yml
@@ -25,12 +25,16 @@ functions:
name: Initialize Client
code: |
```swift
+ import Supabase
+
let client = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key")
```
- id: initialize-client-custom-options
name: Initialize Client with custom options
code: |
```swift
+ import Supabase
+
let client = SupabaseClient(
supabaseURL: URL(string: "https://xyzcompany.supabase.co")!,
supabaseKey: "public-anon-key",
@@ -53,6 +57,8 @@ functions:
name: Initialize Client with Logging
code: |
```swift
+ import Supabase
+
struct AppLogger: SupabaseLogger {
func log(message: SupabaseLogMessage) {
print(message.description)
@@ -73,6 +79,8 @@ functions:
name: With custom schemas
code: |
```swift
+ import Supabase
+
let supabase = SupabaseClient(
supabaseURL: URL(string: "https://xyzcompany.supabase.co")!,
supabaseKey: "public-anon-key",