通过iOS Tutorial - Scrumdinger 学习如何使用SwiftUI+Realm+Combine组合构建App


8个月前 511次点击 来自 移动端

标签: SwiftUI

参考链接:
Use Realm Database with SwiftUI and Combine
Adapting Apple’s Scrumdinger SwiftUI Tutorial App to Use Realm
Getting Started with Scrumdinger

Swift Packages 添加依赖:

https://github.com/realm/realm-cocoa

Scrumdinger 是苹果官方的SwiftUI教学Tutorial,将数据持久化工作模块替换为Realm数据库后,整个应用更加完善。

首先

跟着Realm官方Integration Guides教程熟悉SDK集成与基础使用:
Use Realm Database with SwiftUI and Combine

然后

阅读 Realm 官方提供的进阶教程Scrumdinger基本上就能在自己的项目中上手了:

git clone https://github.com/realm/Scrumdinger.git
cd Scrumdinger
open Scrumdinger.xcodeproj

Made with in Shangrao,China By Devler.

Copyright © Devler 2012 - 2022

赣ICP备19009883号-1

Top ↑