finds.dev← search

// the find

supabase/supabase-swift

★ 1,249 · Swift · MIT · updated Jun 2026

A Swift SDK for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse Swift examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.

The official Swift SDK for Supabase, covering auth, database queries via PostgREST, realtime subscriptions, storage, and edge functions. Mirrors the supabase-js API design so switching between platforms doesn't require relearning the mental model. Aimed at iOS/macOS developers building on Supabase who want a native client instead of wrapping REST calls themselves.

The package is split into independent targets (Auth, PostgREST, Realtime, Storage, Functions) so you can pull in only what you need rather than dragging in the whole stack. The auth module handles PKCE, MFA, anonymous sign-in, and session storage with a Keychain backend out of the box—that's a lot of plumbing you don't have to write. The examples directory ships three full runnable apps including a Slack clone with realtime, which is more useful than the typical "hello world" sample. TestHelpers is a public target with HTTP mocks and in-memory storage, meaning you can write unit tests against the SDK without hitting real servers.

The deprecated Realtime types (RealtimeClient, RealtimeChannel) still live in Sources/Realtime/Deprecated and are presumably still exported—two different APIs for the same thing creates a real risk of mixing old and new patterns in the same codebase. The support policy explicitly says dropping platform versions in a minor release is not a breaking change, which will surprise anyone using semver to gate upgrades in CI. Android/Linux/Windows are noted as "works but not supported and may stop working"—fine for a Swift-first SDK, but if you're building a cross-platform app with swift-nio on the server side, you're on your own. No offline/conflict resolution story for the database client; if you need local-first sync you're stitching that together yourself.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →