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
- Host: GitHub
- URL: https://github.com/realm/scrumdinger
- Owner: realm
- License: apache-2.0
- Created: 2020-12-24T13:52:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-27T07:50:46.000Z (over 4 years ago)
- Last Synced: 2025-01-21T01:14:16.594Z (12 months ago)
- Language: Swift
- Size: 568 KB
- Stars: 16
- Watchers: 7
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.