SwiftUI Boilerplate

Ship faster with a production-ready SwiftUI foundation

Start from architecture that already handles the repetitive setup work, so you can focus on your product differentiators instead of rebuilding app plumbing. Secure OpenAI features and the new Dex on-device scanner come built in, saving you 50+ hours.

Secure AI built in

ChatGPT chat, DALL路E image generation, and Vision analysis, all proxied through an HMAC-signed backend so your API keys never ship in the app.

Dex on-device scanner

Scan a plant, fish, or rock for an instant, fully-offline Apple Vision classification, then a rich cloud entry, all collected into a persistent, browsable Dex.

Save 50+ hours

Supabase auth, RevenueCat paywalls, and TelemetryDeck analytics come wired up, so you skip the plumbing and ship in days, not weeks.

Implementation snapshot

Example of how teams structure dependencies and feature modules from day one:

App/
  Features/
    Onboarding/
    Auth/
    Paywalls/
    AI/
    Dex/
  Services/
    AnalyticsService.swift
    BillingService.swift
  Core/
    AppState.swift
    Routing.swift

FAQ

What does this SwiftUI boilerplate include?

It includes a customizable onboarding flow, Supabase authentication (email/password, Magic Link, and Sign in with Apple), RevenueCat subscriptions with ready-made paywalls, TelemetryDeck analytics, and secure AI features (ChatGPT, DALL路E, and Vision) proxied through an HMAC-signed backend so your API keys never ship in the app. It also includes the new Dex scanner: a scan-anything feature that pairs Apple's on-device Vision framework with a multimodal model.

Is this boilerplate only for MVPs?

No. It is structured for both MVPs and production apps, with a maintainable architecture you can extend as features and users grow.

How quickly can I get to a working build?

Most teams can go from checkout to first successful build in under an hour by plugging in keys, running setup, and starting from included modules.

Related guides