realm/realm-swift ? reverse-engineered prompt

Reverse engineered prompt

Build me a mobile database library for Apple apps that works on iPhone, iPad, Mac, Apple TV, and Apple Watch. I want it to feel easy to use in Swift and still support Objective C, with simple model classes, relationships between objects, write transactions, and queries that update live when data changes. It should work offline, store everything on disk, and support encryption for sensitive data. Please include a clean SwiftUI friendly experience too, so lists and views refresh automatically when the database changes. Make it easy to install and use in a real app, and include a few examples that show creating objects, saving them, reading them back, and observing changes. If you need to check current Apple or Swift details while building it, look up the latest docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab