Skip to main content
Building modern iOS and macOS applications requires a persistence layer that is fast, reliable, thread-safe, and offline-ready. Standard solutions often force developer tradeoffs between complex ORM abstractions and low-level SQL C APIs. BoutiqueDB combines the local-first ergonomics of SQLite with modern Swift concurrency, Change Data Capture (CDC) observation, and Apple CloudKit sync.

Key Advantages

Offline & Local-First

Your database lives locally on the user’s device. Apps launch instantly and operate seamlessly without network connectivity.

Swift Concurrency Safe

Built from the ground up with @MainActor UI safety and isolated background DatabaseActor execution.

CDC Reactive Updates

UI views update automatically (< 250ms latency) via native Change Data Capture without heavy polling or manual notifications.

Zero Server Overhead

Sync data seamlessly across user Apple devices using private CloudKit containers without managing servers or API endpoints.

Comparison Matrix


Architectural Philosophy

  1. Local-First Authority: The database file inside your app sandbox is the single source of truth. Network synchronization is asynchronous and non-blocking.
  2. Type Safety Without Magic: Models use compile-time macros (@Table) so queries remain standard Swift code.
  3. Explicit Over Implicit: Schema migrations and experimental engine flags (TursoOpenOptions) are explicit and version-controlled.