Загрузка...

Simple SwiftUI Firebase Chat App: Real-Time Messaging with Firestore & Auth

In this video, we build a real-time messaging app using SwiftUI and Firebase from scratch.
Firebase: https://firebase.google.com/
Firebase SPM link: https://github.com/firebase/firebase-ios-sdk.git

🤔What You’ll Learn
✅How to set up Firebase for a SwiftUI app
✅How Firestore real-time listeners work
✅How to structure chat data models
✅How SwiftUI automatically updates when Firestore changes
✅How to send & receive messages in real time

By the end of this video, you’ll have a fully working live chat app where messages appear instantly - no refresh, no polling.

🖼 Try It Yourself!
Clone or download the full demo project here:
📁 Demo Template: https://github.com/NDCSwift/FirebaseRealtimeChatApp-SwiftUI

⏱️Timestamps
00:00 - Intro & Sample App
01:05 - Project Setup (Xcode)
01:35 - Firebase Project setup
03:25 - Adding iOS app to Firebase
04:21 - GoogleService-Info.plist
05:04 - Adding Firebase SDK to Xcode
06:36 - Add Installation Code
07:28 - Message Data Model
09:00 - Authentication (Anonymous)
13:47 - Enabling Authentication on Firebase
14:27 - ChatViewModel
22:47 - Creating our View
24:19 - Custom Message Bubble
27:25 - TextField, Send Button, & Starting the listener
30:50 - First Test
31:42 - Enabling Google Cloud Firestore
32:28 - Enabling Firestore Database
33:38 - Second Test
35:34 - Recap & Expansion ideas

Видео Simple SwiftUI Firebase Chat App: Real-Time Messaging with Firestore & Auth канала NDC
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять