Supabase Swift

15 Apr 2024

2 minute read

We are excited to announce that Supabase Swift libraries are now officially supported by Supabase.

This makes it simple to interact with Supabase from applications on Apple's platforms, including iOS, macOS, watchOS, tvOS, and visionOS:


_13
let url = URL(string: "...")!
_13
let anonKey = "public-anon-key"
_13
let client = SupabaseClient(supabaseURL: url, supabaseKey: anonKey)
_13
_13
struct Country: Decodable {
_13
let id: Int
_13
let name: String
_13
}
_13
_13
let countries: [Country] = try await supabase.from("countries")
_13
.select()
_13
.execute()
_13
.value

New features

This release includes the following new features:

What does official support mean?

Swift developers can now integrate Supabase services seamlessly with official support. This means:

  • Direct assistance from the Supabase team: Get timely and effective help directly from the developers who build and maintain your tools.
  • Continuously updated libraries: Stay up-to-date with the latest features and optimizations that are fully tested and endorsed by Supabase.
  • Community and collaboration: Engage with a broader community of Swift developers using Supabase, share knowledge, and contribute to the library's growth.

Contributors

We want to give a shout out to the community members who have contributed to the development of the Supabase Swift libraries:

grdsdev, satishbabariya, AngCosmin, thecoolwinter, maail, gentilijuanmanuel, mbarnach, mdloucks, mpross512, SaurabhJamadagni, theolampert, tyirenkyi, tmn, multimokia, zunda-pixel, iamlouislab, jxhug, james-william-r, jknlsn, jknlsn, Colgates, ChristophePRAT, brianmichel, junjielu.

Getting started

We've released a new guide to help you get started with the key features available in Supabase Swift.

Or you can jump into our deep dive to use iOS Swift with Postgres & Supabase Auth:

Share this article

Build in a weekend, scale to millions