Build a to-do list app w/ SwiftUI & Firebase - Pt 2: Firestore & Anonymous Auth
Автор: Firebase
Загружено: 2020-04-09
Просмотров: 25297
In this episode, Peter continues on his quest to replicate the iOS Reminders App. Learn how to connect a SwiftUI app to Firebase, fetch data in real time from Cloud Firestore, and how Firebase Anonymous Auth can help you prevent 1-star ratings by improving the user onboarding flow.
Chapters:
0:00 Intro
0:16 Setting up the Firebase project
6:22 Structuring our data model
11:55 Implementing a repository for our tasks
19:55 Using the repository in the view model
16:13 Making sure to map the doucment ID
28:17 Demo
29:17 Implementing adding new elements
33:20 Demo
33:35 Sorting query results
41:07 Implementing a Combine pipeline to trigger updates
43:41 Using debounce() to reduce the frequency of updates
46:20 Introduction to Anonymous Authentication
48:23 Implementing Anonymous Authentication
52:20 Setting up a composite index
55:02 Assigning a task to a user
57:35 Demo to prove that data is properly separated for each user
59:53 Outro
Resources:
Add Firebase to your iOS project → https://goo.gle/39xIIBZ
Get realtime updates with Cloud Firestore → https://goo.gle/2Y54Enl
Firebase Anonymous Auth documentation → https://goo.gle/2wLa36H
Source code of the finished app → https://goo.gle/2JnToIU
Previous video → https://goo.gle/2R45smL
Build a todo app w/SwiftUI & Firebase playlist → https://goo.gle/39UUab3
Subscribe to Firebase → https://goo.gle/Firebase
#FirebaseSemiLive
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: