Databases and Persistence
Core Data and SwiftData are built-in options, but if you need additional functionality or want to connect to a remote database, you’ll find plenty of quality packages.
-
GRDBby Gwendal Roué
GRDB is a SQLite toolkit for application development. It provides SQL generation, database observation, robust concurrency, migrations, and raw SQL access. Use it to save your app’s data into SQLite databases.
-
Supabaseby Supabase
Supabase client for Swift, mirroring the design of supabase-js, offering database interaction, authentication, storage, and real-time capabilities. Supports custom options for configuration and connection.
-
MongoKittenby Orlandos
MongoKitten is a fast, pure Swift MongoDB driver built for Server Side Swift. It supports both MongoDB in server and embedded environments and can be used with Vapor or Hummingbird.
-
fluentby Vapor
Fluent helps you work with databases, providing a high-level, type-safe API for querying and manipulating data in Vapor apps.
-
Realmby Realm
Realm is a mobile database for iOS, macOS, tvOS, and watchOS. It offers an object-oriented data model, real-time syncing, and encryption. It integrates with SwiftUI and supports various installation methods.
-
Boutiqueby Joe Fabisevich
Boutique simplifies state-driven app development with a dual-layered memory and disk caching system, offering easy persistence and real-time updates for SwiftUI, UIKit, and AppKit applications.