filmov
tv
Build a SwiftUI chat app with Firestore from scratch
Показать описание
💬 Build a chat application with real-time updates from scratch in SwiftUI, with Firebase Firestore
In this tutorial, you'll learn how to code all the components required that make up the chat view, create and configure a Firebase project, connect Firebase to the app, and read from and write to Firestore, with real-time updates - meaning the chat conversation will be updated instantly when a new message is added to Firestore.
🔗 Links mentioned in the video:
👩🏻💻 Source code on Github:
✏️ Watch without ads, and access the written version and source files:
🪄 Join our channel and unlock members-only perks:
👋🏻 Let's connect!
🎞 Video timestamps
➡ Part 1 - Create project, components and model
0:00 - Introduction
1:40 - Create Xcode project
2:51 - Update Assets folder
4:34 - Code the TitleRow
9:03 - Create the Message model
10:31 - Code the MessageBubble
➡ Part 2 - Finish UI and configure Firebase
18:34 - Code the MessageField
23:24 - Create Firebase project
26:01 - Add Firebase SDK and initialization code
28:29 - Create Firestore database
29:34 - Add data to Firestore
➡ Part 3 - Read and write with Firestore
32:07 - Call the data with real-time updates
40:13 - Writing to Firestore
43:42 - Scroll to last message
48:04 - Conclusion
#firebase #firestore #chat #app #tutorial
In this tutorial, you'll learn how to code all the components required that make up the chat view, create and configure a Firebase project, connect Firebase to the app, and read from and write to Firestore, with real-time updates - meaning the chat conversation will be updated instantly when a new message is added to Firestore.
🔗 Links mentioned in the video:
👩🏻💻 Source code on Github:
✏️ Watch without ads, and access the written version and source files:
🪄 Join our channel and unlock members-only perks:
👋🏻 Let's connect!
🎞 Video timestamps
➡ Part 1 - Create project, components and model
0:00 - Introduction
1:40 - Create Xcode project
2:51 - Update Assets folder
4:34 - Code the TitleRow
9:03 - Create the Message model
10:31 - Code the MessageBubble
➡ Part 2 - Finish UI and configure Firebase
18:34 - Code the MessageField
23:24 - Create Firebase project
26:01 - Add Firebase SDK and initialization code
28:29 - Create Firestore database
29:34 - Add data to Firestore
➡ Part 3 - Read and write with Firestore
32:07 - Call the data with real-time updates
40:13 - Writing to Firestore
43:42 - Scroll to last message
48:04 - Conclusion
#firebase #firestore #chat #app #tutorial
Комментарии