FireBase Login | SwiftUI | Xcode Tutorial

Опубликовано: 15 Декабрь 2024
на канале: NDC
103
5

Firebase Sign-In with SwiftUI! 🚀
https://firebase.google.com/
https://firebase.google.com/docs

In this tutorial, we build a login system in SwiftUI with Firebase Email Authentication. Learn how to set up Firebase and integrate into your app for a seamless user experience.

What You’ll Learn:

Set up Firebase for email and Google authentication.
Create a SignInViewModel to handle login logic.
Add email sign in and sign up buttons to your SwiftUI UI.
By the end, you’ll scaffolding for allowing users to sign in for real world apps!

🔥 Download My Project Files & More! 🔥
👉 Get the source code for this project & other Swift resources here:
🔗 https://ndcswift.github.io/Swift-Proj...
Subscribe for more bite-sized lessons and full tutorials on Swift, SwiftUI, and UIKit.

Links:
Xcode: https://developer.apple.com/xcode/
Swift Documentation: https://www.swift.org/documentation/


Timestamps:
0:00 Introduction
0:40 Setting Up Firebase
3:36 Using Swift Package manager
5:05 Firebase Setup in AppDelegate
6:55 SignInViewModel for Firebase
10:33 Adding Extra Dependencies
11:19 Creating our Login Page
15:48 Adding Google PList
16:47 Testing
17:36 Add and manage users
19:59 User sign up
23:22 Sign up testing & Settings