The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: Make Swift client initialization variable consistent (#37838)
Chris Chinchilla20d228915465
diff --git a/apps/docs/spec/supabase_swift_v1.yml b/apps/docs/spec/supabase_swift_v1.ymlindex e88c32c51ec..f8d4b851d78 100644--- a/apps/docs/spec/supabase_swift_v1.yml+++ b/apps/docs/spec/supabase_swift_v1.yml@@ -25,13 +25,13 @@ functions:name: Initialize Clientcode: |```swift- let client = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key")+ let supabase = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key")```- id: initialize-client-custom-optionsname: Initialize Client with custom optionscode: |```swift- let client = SupabaseClient(+ let supabase = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!,supabaseKey: "public-anon-key",options: SupabaseClientOptions(diff --git a/apps/docs/spec/supabase_swift_v2.yml b/apps/docs/spec/supabase_swift_v2.ymlindex 4c83fb45c73..64c83d73331 100644--- a/apps/docs/spec/supabase_swift_v2.yml+++ b/apps/docs/spec/supabase_swift_v2.yml@@ -27,7 +27,7 @@ functions:```swiftimport Supabase- let client = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key")+ let supabase = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!, supabaseKey: "public-anon-key")```- id: initialize-client-custom-optionsname: Initialize Client with custom options@@ -35,7 +35,7 @@ functions:```swiftimport Supabase- let client = SupabaseClient(+ let supabase = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!,supabaseKey: "public-anon-key",options: SupabaseClientOptions(@@ -65,7 +65,7 @@ functions:}}- let client = SupabaseClient(+ let supabase = SupabaseClient(supabaseURL: URL(string: "https://xyzcompany.supabase.co")!,supabaseKey: "public-anon-key",options: SupabaseClientOptions(