SwiftUI Search Bar for Querying A Firestore Database
Mark Kraay
0:00 / 0:00
SwiftUI Search Bar for Querying A Firestore Database
2 123 просмотра · 4 г. назад
Mark Kraay
1,8 тыс. подписчиков
2 123 просмотра · 4 г. назад
In this video, I will create a Search Bar to execute live queries against a Firestore database. This will enable us to search for users within our database in an Instragram-like fashion.
⏮️ Part I: • SwiftUI User Authentication and Data Stora...
🚀 Code: https://github.com/markkraay/SwiftUIF...
Timestamps:
0:00 Introduction
0:33 ContentView changes
1:12 Application Initial State (Final Code from Part I)
1:40 Creating UsersLookupViewModel (for interacting with Firestore)
5:16 Changes to the User model
9:10 Changes to UserViewModel
11:40 Changes to AuthenticationView
12:32 ProfileSearchView (Implementing the Search Bar)
18:25 Quick Bug Fix in UserViewModel
18:56 Demoing the Application
20:39 Finishing Touches / Styling
24:56 Final Product