DataStoreKit: A SwiftData custom data store implementation

Hello! I am announcing a preview of my library called DataStoreKit. The package is built around SwiftData and its custom data store APIs.

DatabaseStore and DatabaseConfiguration is the first implemented pair that uses SQLite as its persistence layer backend. This is for people who want to mix ORM and SQL workflows, because you can use SwiftData as-is and run SQL statements.

Check out the repository on GitHub:

https://github.com/asymbas/datastorekit

If you want a demonstration or to see how DataStoreKit and SwiftData work under the hood, you can clone my Xcode project, which is based on my Swift Playground package I used to build all of this:

https://github.com/asymbas/editor

I have excluded the documentation articles from the library for now, because they are either no longer accurate or need revision, but you can find my work-in-progress ones on my website:

https://www.asymbas.com

Today and over the weekend I plan to continue writing documentation and articles. They explain how to use DataStoreKit and how it works internally alongside SwiftData. You can also read my observations and implementation/introspection notes about SwiftData that I documented since I started this package.

I appreciate any thoughts or feedback.

1 Like