The Swift package for building Apple apps on Marfa.
// momentum
// why it's here
- Active: last commit today
- Health 100/100 with only 10 stars
- 10 releases in the last 90 days
// how to help
// readme
Marfa Swift SDK
Early project. Marfa is at version 0.0.x. Things will change without notice, and nothing is stable yet.
The Swift SDK for Marfa, a home for your personal data that you run yourself. It lets an iOS or macOS app work with a Marfa instance.
An app built on it keeps a working copy of its data on the device. The app reads from the copy with or without a connection, queues its writes until it can send them, and follows changes from the instance. The SDK gives Swift types, async calls and typed errors over Marfaβs Rust core, which does the networking, storage and syncing.
Where the SDK stops
- Marfa decides what things mean: an itemβs name and preview, what a link points to, whether an edge is allowed and what a filter matches. The SDK passes on the coreβs answers, so every app agrees.
- The SDK does what every Swift app needs: keeping the copy in step, retrying with back-off, sorting errors into kinds, replacing a refused copy, keeping keys, reading dates and drawing icons.
- Your app decides the rest: its screens, its words, and choices such as what to call an item with no name.