An open API service indexing awesome lists of open source software.

https://github.com/realm/scrumdinger

Showing how the app from Apple's SwiftUI tutorial can be enhanced by adding Realm
https://github.com/realm/scrumdinger

Last synced: 3 months ago
JSON representation

Showing how the app from Apple's SwiftUI tutorial can be enhanced by adding Realm

Awesome Lists containing this project

README

          

# Scrumdinger – How to migrate Apple's SwiftUI tutorial app to Realm

The purpose of this repo is to show how the Scrumdinger app fom [Apple's SwiftUI tutorial](https://developer.apple.com/tutorials/app-dev-training) can be extended to use Realm to store the application data.

The [`main` branch](https://github.com/ClusterDB/Scrumdinger) is the app as it appears in Apple's tutorial.

The [`realm` branch](https://github.com/ClusterDB/Scrumdinger/tree/realm) contains a modified version of the Scrumdinger app that persists the application data in Realm.

The [`new-schema` branch](https://github.com/ClusterDB/Scrumdinger/tree/new-schema) contains a modified version of the Scrumdinger app that persists the application data in Realm.
- This branch is here to show how you can migrate your Realm schema (when not using Realm Sync). See [Migrating Your iOS App's Realm Schema in Production](https://www.mongodb.com/developer/how-to/realm-schema-migration/) for details.

You can view the [diff between the `main` and `realm` branches](https://github.com/ClusterDB/Scrumdinger/compare/realm) to see the (very few) changes that were needed to make the app run on Realm.

[Adapting Apple's Scrumdinger SwiftUI Tutorial App to Use Realm](https://developer.mongodb.com/how-to/realm-swiftui-scrumdinger-migration/) explains all of the steps to migrate the app to Realm.