Modern manager for SwiftData databases on macOS.
Welcome
Main
DatabaseManager is a macOS application that allows you to create, open, and manage databases in the SwiftData format. The app offers a modern interface (SwiftUI), recent files management, and manipulation of Person entities (name, age, creation date).
- Create a new SwiftData database
- Open existing databases
- List of recent files
- Add, edit, delete people
- Display detailed information (name, age, date)
- Reset user preferences
- Dark mode support
- Clone this repository:
git clone <repo-url>
If you want to change the database, it’s important to define the schema as you see fit. It is defined in the file “DatabaseManagerApp”
'final class AppSchema { static let shared = AppSchema()
let schema = Schema([Person.self])
private init() {}
}'
and to create a CRUD in your ModelManager.
Everything that is part of the “MainAppp” folder belongs to your application; the rest is part of the database manager.

