That’s a nice list! We already have our own versions of each of these in Nos, but maybe it will make sense to convert to yours at some point. If we were starting an app like Nos from scratch I would definitely pull these in first thing.
@mplorentz I was able to successfully and easily use SwiftData in iOS 17 as my persistence layer with the data models from Nostr SDK for Apple Platforms. I just put the NostrEvent or any of the subclasses in as a property into a new class tagged with the @Model macro and it worked.
😍 that’s awesome. Are you considering using SwiftData for Comingle?
Yes! It’s using it right now. I haven’t measured performance or space usage yet but it seems fine so far.