Firebase Authentication Tutorial 2020 - Custom iOS Login Page (Swift)

preview_player
Показать описание
In this Firebase authentication tutorial, you'll learn how to create a custom login page for your iOS app. We'll be using Swift and building our own custom user interface for this iOS login page.

Furthermore, you'll also learn how to do some form validation with regular expressions and you'll also learn how to add extra custom fields to your sign up form and capture that data in the Firestore database.

I'll be showing you both the Register workflow for a new user and the Login workflow for an existing user.

The type of Firebase authentication I'll be demonstrating is with email and password. In future videos, I'll also show you how to perform social login (ie. logging in with Twitter, Facebook, Google, Apple, etc) so make sure you hit the SUBSCRIBE button!

Source Code and Xcode Project

Firebase Authentication Documentation:

Regular Expressions in Swift Blog Post I Used:

Cocoapods Tutorial:

🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:

MY FREE ONLINE COURSE:

CWC+ PROGRAM:

WEEKLY UPDATES VIA EMAIL:

CONNECT:

ABOUT CODEWITHCHRIS:

About this video:
I've done tutorials using Firebase Authentication before but many people requested that I do one with a custom-built UI instead of using the pre-built UI that Firebase Auth provides. That's what this tutorial covers and because I'm also showing you how to do form validation, the tutorial is pretty long! There's also a bit of Firestore database integration in this auth tutorial! I hope you're able to use this for your own iOS app login page. If you do, please comment below and let me know! :)

#CodeWithChris #FirebaseAuthentication #LoginPage
Рекомендации по теме
Комментарии
Автор

Chris seems like such a nice guy. Like he never tries to sound smart or talk down to you or anything. It's nice to learn from you man. Thanks for doing what you do.

KanyantaMubanga
Автор

YouTube is still processing the higher qualities so 4K quality will be ready in a few hours!

CodeWithChris
Автор

Youre a legend man i swear to god, absolute legend. keep the vids up!!

lockylucy
Автор

It's cool that you leave a portion (not the entire) problem(s) you encounter and the reason for the issue - it helps me associate the function / significance of initially abstract concepts. For example, when you forgot to import the pods at around the 1:00:00 mark which lead to the member functions not working. That helped me understand the process, significance and function of importing the pods into my project.
Thanks, as always for the quality content & teaching!

klhmia
Автор

Never touched FireBase at all Chris. Watched your fantastic video, took loads of notes watching it, twice, opened Xcode 11 and coded up a login, registration and welcome screen in an hour. Couple of silly formatting errors I had, but all fixed and running sweet. Now i'm gonna try and get it running in SwiftUI. That would be a damn game changer. Thanks Chris, you are the best on Youtube IMO mate. Very thorough and straight to the point. Can't wait for the next one buddy. Keep checking my phone in case i've missed the notification from YT. ⭐️⭐️⭐️⭐️⭐️

bodyhanger
Автор

Honestly, I've been trying to learn to code since 2010, with no progress and no positive results at all. Until I discovered your channel, you make it look so easy and understandable to learn new stuff and I feel very motivated each time you upload new content. Keep up the good work!

alejandrosejas
Автор

Chris I've been a senior software engineer for 10+ years now and recently been tasked with learning Xcode. Hooked into your 28 day program after just a few days was able to implement some concepts we were intrested in... thanks for your help

markthrower
Автор

I have a game plan...watch a video about something, do it and learn something different. BUT your videos are just sooo good about IOS I have been literally spending 4-5 hrs a day watching them. Thank you! Hopefully, the knowledge will come in handy.

cocothegamer
Автор

You are a lifesaver. Thanks man for your pedagogy. You explain well the concepts. You Deserve one billion likes.

alseynidiop
Автор

Minute 18:00 - 20:00 i was struggling so much, took me hours to solve that i couldn’t reference things and i was so happy you struggled a few minutes later, made me feel less like a total noob

lensbongaerts
Автор

Just a quick note. I had an issue after adding in the firebase auth and analytics to pod file.
what turns out, i had to upgrade my version of os to at least mojave as well as upgrade my xcode version.

this then took me to upgrading my xcode developer tools and after that, I was able to compile / build / run my project.

This tutorial was great! and has allowed me to quick learn IOS app development / firebase use and build an app to boot.

Thanks to @CodeWithChris for this tutorial and your others, as well as your feedback when needed.

yhwhdesigntruth
Автор

This was awesome! I used your tutorial to do some integrations into my own app. Very easy to understand. Granted, not everything was perfect since I had already my own project and ended up with debugging and errors, but as a beginner like myself, this tutorial was awesome. Thank you Chris! :) p.s It works :P

abaytler
Автор

Thank you with all my heart. I watched many videos for my project. I was used realtime database and i have i problem with read users info from database. Now i watched your video and decide to change may project because you r really good teacher. I got it everything in this video. Thank you so much

hamitatalar
Автор

It would be great if you can make a video on reading and writing data using firebase in real time.

alainperez
Автор

Just came to tell you, you're a legend and I wouldn't have made it through uni without your videos.

Nevergnnanoe
Автор

I LOVE your videos! They help me out so much! Everything worked :) definitely subscribed now

RealMoistSquid
Автор

This is by far the best tutorial I have seen since I started developing in Swift (2 days), you really cover everything in one single video, thank you very much Chris for creating such an incredible tutorial, I learn how to navigate, add associations, render new controllers, associate controllers with the view, that is amazing!

smsparatodosstartup
Автор

Thank you for the detailed walkthrough Chris! This was the best source I've found for Firebase authentication. Much appreciated!

xreed
Автор

You are honestly one of the best people for computer science I have seen on YouTube, thank you so much for your videos

IDK-figb
Автор

Hey Chris! I love your videos! I have a question regarding keeping users logged into the app once they have logged in or signed up previously. Do you have any further videos where you deal with this or can you refer me to another source which can help me with this?

rahulravula