@bigzaphod I’m using Core Data in my current app and used Realm in my previous app. With the caveat that I haven’t looked at Realm in the last 3 years, we did not have a great time with it, mostly due to the amount of data we were putting in it. IIRC the whole DB is memory-mapped so it needs to remain small enough to fit, and you need to be very careful about hanging onto frozen objects or else old revisions of the database stick around (thereby ballooning DB size).

in reply to self

@bigzaphod You’re right that Core Data isn’t very Swifty, which is too bad. I’ve written a bunch of autogenerated extensions using Sourcery to make it more usable. (I’d share them, but they’re owned by my employer.)
Note that while to-many relationships are NSSets by default, you can write your variable as `@NSManaged var blah : Set<Whatever>`, which works fine.

in reply to self

@bigzaphod Lastly, since Realm was acquired they have focused heavily on their cloud offering. I have no idea how much they’re still investing in their offline implementations. (Literally don’t know. They could be getting great updates! 🤷‍♂️)

Caveat for all of the above: I’ve never used either Realm or Core Data with SwiftUI.