DEV Community

Cover image for Realm SwiftUI Template App
Dachary
Dachary

Posted on

3

Realm SwiftUI Template App

I regularly spin up new Realm SwiftUI client applications to test new features and play with different proof-of-concept app ideas. I love using Realm with SwiftUI, but there's a bit of boilerplate involved in even a basic project that has a list view, a detail view, an edit view, and a create view.

To shortcut this, I've created a local-only Realm SwiftUI template app based on the Device Sync task tracker app. This iOS SwiftUI App has all of the Device Sync logic stripped from it, and persists data locally to the device using free, open-source Realm Database via the Swift SDK and some of its SwiftUI property wrappers.

Styling and models are minimal to support adapting this to any type of list-style app you might want to quickly PoC.

The GitHub repo is: https://github.com/dacharyc/realm-swiftui-local-client - feel free to fork and use this as a quick start for your own Realm SwiftUI PoC apps. Happy building!

Item List View

Create Item View

Update Item View

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more