nostr:npub16zsllwrkrwt5emz2805vhjewj6nsjrw0ge0latyrn2jv5gxf5k0q5l92l7 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.

Reply to this note

Please Login to reply.

Discussion

😍 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.