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

  Рет қаралды 272,472

CodeWithChris

CodeWithChris

Күн бұрын

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
⚡ codewithchris.com/source-code...
Firebase Authentication Documentation:
⚡firebase.google.com/docs/auth...
Regular Expressions in Swift Blog Post I Used:
⚡iosdevcenters.blogspot.com/20...
Cocoapods Tutorial:
⚡ • CocoaPods Tutorial - H...
🚨 SPECIAL CWC+ OFFER FOR KZfaq:
cwc.to/youtubeoffer
MY FREE ONLINE COURSE:
⚡ How to make an app in 14 days - cwc.to/14days
CWC+ PROGRAM:
👩‍💻 All our courses in a learning path - cwc.to/plus
WEEKLY UPDATES VIA EMAIL:
✉️ Every Saturday, receive an email digest of new content - cwc.to/newsletter
CONNECT:
🌍 Website - codewithchris.com
😺 GitHub - github.com/codewithchris
📸 Instagram - / codewithchris
🐦 Twitter - / codewithchris
ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! cwc.to/reviews
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

Пікірлер: 1 600
@CodeWithChris
@CodeWithChris 5 жыл бұрын
QOTD ⚡ What else do you want to see about Firebase Authentication? Let me know! 👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan
@lightmusicofficial1985
@lightmusicofficial1985 5 жыл бұрын
Other Authentication, like google sign-ins
@bodyhanger7137
@bodyhanger7137 5 жыл бұрын
Using the database to store images and documents etc, then retrieving them to the app. Thanks Chris, your No 1 on YT buddy...⭐️⭐️⭐️⭐️⭐️
@wowtheworldchannel
@wowtheworldchannel 5 жыл бұрын
Please upload phone number authentication tutorial and database tutorial like how to save data from app to the database automatically and how to retrieve them and show in the app or update if anyone tapped on forgot password then how to handle this process? It will be helpful if you make an app where we have to do all these things. You can make blood donating app or something like this. Where everyone who wants to donate and who need blood has to create an account. Then we need to store their info in our database like blood groups, addresses, phones, emails. Thanks!
@kianaharris6819
@kianaharris6819 5 жыл бұрын
It would be awesome if you could show a video on how to store the authenticated user's data (such as from a text field) into each user's account! Maybe you could store that text field into a TableView and that information would be saved per user account! It would be great to be able to connect all of your videos into one. It seems like a majority of us are wondering the same thing based on other replies. Thanks Chris!
@umayangaalahakoon
@umayangaalahakoon 5 жыл бұрын
Hey Chris, I really need this same tutorial using SwiftUI. Now SwiftUI is kinda stable and I decides to skip learning UIKit and start iOS development with SwiftUI. So please, I really need a SwiftUI Firebase Authentication video. Thanks for your super useful tutorials.
@KanyantaMubanga
@KanyantaMubanga 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for the kind words! We agree with that. :) - Kat
@carlspackler6942
@carlspackler6942 4 жыл бұрын
Yeah, I took his pay course. It's definitely worth the investment if you want to program iOS/Swift
@mayaa6910
@mayaa6910 4 жыл бұрын
IKR! God bless Chris for making this channel
@gayalkuruppu9387
@gayalkuruppu9387 3 жыл бұрын
He even goes through the errors he encounters, where most of the people doing tutorials just edits those parts. Even though he knows how to work around those errors, it's always a good experience and a guide for beginners.
@bodyhanger7137
@bodyhanger7137 5 жыл бұрын
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 KZfaq 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. ⭐️⭐️⭐️⭐️⭐️
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thank you very much Steve! Your kind words motivate us to keep making more content! -Kat
@lockylucy7158
@lockylucy7158 5 жыл бұрын
Youre a legend man i swear to god, absolute legend. keep the vids up!!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thank you so much! -Kat
@alejandrosejas
@alejandrosejas 5 жыл бұрын
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!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
So glad to know you have learned a lot through the tutorials! Motivates us more to keep making content! Good luck and enjoy coding! -Kat
@klhmia
@klhmia 4 жыл бұрын
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!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for the feedback! Really appreciate it. - Kat
@RealMoistSquid
@RealMoistSquid 5 жыл бұрын
I LOVE your videos! They help me out so much! Everything worked :) definitely subscribed now
@semilife
@semilife 4 жыл бұрын
Thanks so much chris for a practical detailed and hands on view. Very refreshing to see a more realistic insight into developing a project along with making mistakes as the process. This is very important as software development often follows a similar series of steps. I really cannot believe that with the number of views of the tutorial only around 650 have bothered to like this video. Keep up the great work and continue making your excellent tutorials.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you so much for your feedback. That's enough motivation for us to keep making more content like this. :) -Kat
@CodeWithChris
@CodeWithChris 5 жыл бұрын
KZfaq is still processing the higher qualities so 4K quality will be ready in a few hours!
@joshquila
@joshquila 5 жыл бұрын
best birthday gift to me 😍 thanks Chris!!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Happy Birthday to you! Have a great one!
@alseynidiop8650
@alseynidiop8650 5 жыл бұрын
You are a lifesaver. Thanks man for your pedagogy. You explain well the concepts. You Deserve one billion likes.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thank you so much for the kind words! Knowing that the tutorials have helped is enough to motivate us! -Kat
@xreed8
@xreed8 4 жыл бұрын
Thank you for the detailed walkthrough Chris! This was the best source I've found for Firebase authentication. Much appreciated!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for your kind words! It means a lot! -Kat
@Nevergnnanoe
@Nevergnnanoe 4 жыл бұрын
Just came to tell you, you're a legend and I wouldn't have made it through uni without your videos.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for mentioning that! We're happy to know we've been a big help. 🙌🙌🙌 Kat
@muthukumar8009
@muthukumar8009 4 жыл бұрын
Very good course, I was able to follow up with you and built the app. Also adding Sign out option and navigation to go back and forth. Thanks a lot man!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Great job!!👏👏 -Kat
@abaytler
@abaytler 4 жыл бұрын
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
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad it helped! We'd really appreciate if you wrote a testimonial for us. Thank you for your kind words. feedback.codewithchris.com/ - Kat
@leoturlock1335
@leoturlock1335 2 жыл бұрын
Looks like you used this tutorial for the same thing as I did! 🤓
@markthrower224
@markthrower224 5 жыл бұрын
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
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thanks for choosing to learn with us! Hope you try the other series as well! -Kat
@CodeWithChris
@CodeWithChris 5 жыл бұрын
That is so awesome!! Thanks for making my day :)
@smsparatodosstartup5331
@smsparatodosstartup5331 4 жыл бұрын
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!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Wow, that's great to hear! - Kat
@maximpotapov2056
@maximpotapov2056 3 жыл бұрын
you started learning swift from wrong videos / this is a tutorial he didnt explain the basics / many things are to hard to understand for begginers / my suggestion , watch stanford developing on ios 11/ best course i've seen
@hayitsmitch
@hayitsmitch 4 жыл бұрын
Just went through the whole video coding along and wow! I learned SO much! Thank you for the video and I can't wait for more!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you so much, M! More power to you! :-) -Arthur
@garrett3338
@garrett3338 3 жыл бұрын
I really enjoyed going through this tutorial. I learned a ton.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Great to hear! 🙌 - Kat
@moheebabdulla4196
@moheebabdulla4196 4 жыл бұрын
Bro chris is the legend. RESPECT.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! 🙌 - Kat
@hamitatalar447
@hamitatalar447 Жыл бұрын
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
@theIfrit552
@theIfrit552 4 жыл бұрын
I just got in to Xcode, having learned java and stuff without any real use for it. You really helped me to get to know xcode and how it differs from what I know. thanks for being so patoent and explaining every little detail. Subbed
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! 🙌 -Kat
@rahulravula
@rahulravula 4 жыл бұрын
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?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, there is no "stay loggedin" state actually, what you could do is probably save username and password using UserDefaults and have it "auto login" when you launch your app - Francis
@heybitchex8985
@heybitchex8985 4 жыл бұрын
Hi Chris! Thanks for awesome tutorial! But I wonder if this will keep the user logged in or if the user has to log in everytime to use the app? How can I add a feature that allows users to stay logged in even though the app is closed?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, maybe you can set a local variable to save the state/info of the user, some sort of "remember me" functionality that should auto log-in the user or use saved info to authenticate the user without having to log-in again - Francis
@IDK-fi1gb
@IDK-fi1gb 4 жыл бұрын
You are honestly one of the best people for computer science I have seen on KZfaq, thank you so much for your videos
@CodeWithChris
@CodeWithChris 4 жыл бұрын
You're very welcome! - Kat
@louisconway8556
@louisconway8556 5 жыл бұрын
Once again you have created another incredible tutorial that explains everything very clearly. Thank you for your hard work, you deserve all the success that will follow!
@teodorgerov6906
@teodorgerov6906 4 жыл бұрын
Hey, Chris! I can't sign up a new account, after writing the code for testing if a password is secure enough, no matter what password I'm typing in. Do you have any suggestions of what the reason may be?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
hello, there might be something wrong with your logic on how to test the password, you might want to look for help on that one instead. If your app is fine when you remove the security for any password then it is surely the logic in your code that's causing the problem - Francis
@Freedom180
@Freedom180 5 жыл бұрын
Absolutely elementary explanation tutorial. Extremely helpful mate. Question as an absolute starter: When’s User Logs in, how do we get to show the user login details on the welcome page such as WELCOME CHRIS, LAST LOGGED IN ON: 23.3.2018 for example and perhaps also extract a value from the database that may have been stored during the count creation ? Your help would be immensely appreciated. Thanks. Ram
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Hello, you can easily do this by adding an extra attribute during account creation or create a table just for logging when a user logs-in. You can always call two separate inserts or more during the same function call, you can also improve the welcome page by using the value that you query from a table to display it in the welcome page - Francis
@spliffsenseiroejogan9380
@spliffsenseiroejogan9380 4 жыл бұрын
Finally got thru the vid after endless procrastination ur the 🐐 bday twin LOL ! Thanks for these vids I’m super excited !!! Keep up the great work Chris n team !!!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for the support! :) -Kat
@Noah-km7hl
@Noah-km7hl 2 жыл бұрын
chris you're a legend there's no one out there with swift guides like you lol my guy's got a monopoly on quality ios development content
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You're too kind, thanks Noah! -Arthur
@alainperez8579
@alainperez8579 5 жыл бұрын
It would be great if you can make a video on reading and writing data using firebase in real time.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thanks for the suggestion! -Kat
@aarongose1336
@aarongose1336 3 жыл бұрын
@@CodeWithChris Any update on this suggestion?
@jodypalacios5225
@jodypalacios5225 4 жыл бұрын
Hi Chris, I’m stuck on min 24 of the video when you add a class folder that contains the design of the registration. I’m confused. How can I access that folder.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, those files were manually created and linked to a storyboard page at around the 3 minute mark - Francis
@redimido3255
@redimido3255 4 жыл бұрын
Thank You Chris! Every time you make a video remember the fans you inspired to become coders! You really make a great difference! :) Keep it up with the great videos man!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you so much for the support! - Kat
@redimido3255
@redimido3255 4 жыл бұрын
@@CodeWithChris btw I was watching a 2016 Firebase tutorial for my app and I was confused, so I came here and this updated info rocks! Thanks :)
@omerfarukaltun2480
@omerfarukaltun2480 3 жыл бұрын
This is one of the cleanest tutorials on Swift man. Your dictation and pace is on point. Subscribed and liked immediately. Keep it up mate!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thank you so much! We can never thank you enough for your support. Keep on having fun! :-) -Arthur
@haofangliu9456
@haofangliu9456 4 жыл бұрын
Hi chris, I got a question after I followed your turoial. I knew the data of user like name is stored in database, how can I fetch that name of logged in user? and what the right way to add document under that logged in user? It's a very great tutorial BTW. Thank you
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, we created a forum to help people with the tutorials. Could you share your questions to our CodeCrew Community codecrew.codewithchris.com/? Thanks! Kat
@pjogilvie8821
@pjogilvie8821 4 жыл бұрын
Chris, how do I get The pod init to work it says -bash: pod: command not found. Thanks
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Hello, you will need to install cocoapods for that, i also suggest to be familiar with cocoapods as well, check out our article on it codewithchris.com/cocoapods/ - Francis
@siem0510
@siem0510 4 жыл бұрын
I always love your videos so much, the way you explain so well and clear I can't stop bingewatching your whole channel
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Yay! Thank you! ♥ - Kat
@andricozach
@andricozach 4 жыл бұрын
A fantastic tutorial. Thank you for making this. I had a few small bumps along the way but could find everything else using Firebase's documentation! :)
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Awesome, thanks for learning with us! 🙌 - Kat
@ii-to1nz
@ii-to1nz 4 жыл бұрын
Hey Chris, around 40:38 when I try to run the app it crashes. The debug navigator pops up and says it cannot find a valid GoogleService plist in the project even though it is in the right place, the same exact spot as yours. It gives me this link: github.com/firebase/firebase-ios-sdk/blob/master/README.md. I have no idea what to do, my code I entered is the exact same as yours, our projects are identical. Please help!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, make sure your GoogleServices-Info.plist is written exactly as that, not GoogleServices-Info (2).plist because it will not read that - Francis
@ii-to1nz
@ii-to1nz 4 жыл бұрын
CodeWithChris thank you! This fixed the problem.
@carloderouaux7639
@carloderouaux7639 4 жыл бұрын
Hey Chris, I've got a question. I wrote exactly the same code and implemented everything with my firebase account, but in the signUpViewController it says always Use of unresolved identifier 'Utilities' and Use of unresolved identifier 'Constants´
@reececalvin3551
@reececalvin3551 4 жыл бұрын
I have "Use of unresolved identifier 'Constants" as well
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, did you add the Utilities file to the "target" you might also need an updated version of firebase for this so just check the documentation on how to install - Francis
@reececalvin3551
@reececalvin3551 4 жыл бұрын
​@@CodeWithChris I have the same issue and I just installed firebase yesterday so not sure if that could still be an issue. In regards to the Utilities file, I haven't touched it really outside of the password verification and it is in a folder with the Constant file
@carloderouaux7639
@carloderouaux7639 4 жыл бұрын
CodeWithChris okay I’ll check. Thank you very much for helping me I don’t know if I could do this on my own 😍
@DrChazz26
@DrChazz26 3 жыл бұрын
Thanks for another great tutorial. I think it would be a good idea to post the video background tutorial as a separate video as well; that was a total bonus. I had searched for ways to implement a video background and eventually got it to work but your method is way more clear. You rock, Chris.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for your feedback, Kevin! :-) We'll remain motivated to produce better content because of very kind students like you. :-) -Arthur
@cocothegamer194
@cocothegamer194 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you so much! Make sure you practice too and not just watch. 😄 Kat
@et.taylor
@et.taylor 4 жыл бұрын
when i click sign up it says this > Thread 1: Exception: "-[testapp.SignUpViewController singUpTapped:]: unrecognized selector sent to instance 0x7f9e4e46d220". how do i fix thix?????
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, it seems that you are missing a function called "singUpTapped", maybe you forgot to make it or changed it to another name? - Francis
@lukievanos
@lukievanos 4 жыл бұрын
I have the same thing, did you find a solution?
@singh16simarjot
@singh16simarjot 4 жыл бұрын
I had the same problem. I would recommend you to reinspect all the outlets and actions. There might be a conflict in those. I removed all the connections and reconnected them and it resolved the issue.
@iambenmitchell
@iambenmitchell 5 жыл бұрын
Could you do this in SwiftUI and also Integrate Sign in with Apple ID?
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Hello, I'm pretty sure its possible but you have do to everything manually as there is no storyboard to help you drag and drop to design your page :) - Francis
@iambenmitchell
@iambenmitchell 5 жыл бұрын
@@CodeWithChris Thank you ;)
@YC80087
@YC80087 4 жыл бұрын
Thank you Chris!! I appreciates your time to make these videos and I am on my way to make an app for my existing business.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Awesome! Share it with us when it's finished! - Kat
@sunnypadileti12
@sunnypadileti12 3 жыл бұрын
Thank you so much!! This was the only video that helped me build my interface. Thank you so much Chris, love the videos!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Glad you were able to get it up and working! @AdrienVillez
@aarongose1336
@aarongose1336 3 жыл бұрын
38:09 TO ALL ""M1 Processor"" MAC USERS: When doing -- pod install -- you will likely get an error. Do this: sudo arch -x86_64 gem install ffi Then arch -x86_64 pod install THAT WILL ALLOW FOR M1 PROCESSORS TO BE COMPATABLE.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Awesome, thanks for sharing this tip! :-) -Arthur
@hsuscott2804
@hsuscott2804 3 жыл бұрын
Thank you Aaron - you’re a life saver!
@ingongoyama3995
@ingongoyama3995 4 жыл бұрын
My first time rocking you. Heard Many good things. Been a while since I firebased so need to brush up. Looking forward!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! 🙌🙌 -Kat
@alecmather7122
@alecmather7122 4 жыл бұрын
You're awesome man, really appreciate what you do! Great teacher, clear and thorough :)
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! 🙌 -Kat
@pacoramirez8298
@pacoramirez8298 4 жыл бұрын
When launching the project and trying to sign up all works perfectly, except for the database. When I go to the auth menu the new user appears perfectly however it doesn't appear at database "users"
@trainwithkevin6863
@trainwithkevin6863 4 жыл бұрын
Adrian Castello sane here man
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, is your database in "test mode" meaning it allows read and write from everyone?, i suggest doing this first to see if its a permission problem - Francis
@pacoramirez8298
@pacoramirez8298 4 жыл бұрын
CodeWithChris okey thanks!
@trainwithkevin6863
@trainwithkevin6863 4 жыл бұрын
@@CodeWithChris this helped. thank you!
@Wonixer
@Wonixer 4 жыл бұрын
I just wish the user can automatically be logged in
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello, you might be automatically log-in the user if you save his username and password in UserDefaults, you might need to code it yourself a bit but it should do the trick :) - Francis
@Wonixer
@Wonixer 4 жыл бұрын
Thanks for the different ides but I used stack overflow to find the answer
@Wonixer
@Wonixer 4 жыл бұрын
You’re trick requires the user to click the login Button
@alexwarrener3770
@alexwarrener3770 4 жыл бұрын
@@Wonixer Can you tell me how? or at least give me the StackOverflow link to do it please. Thanks
@muhammadtaimoorhassan96
@muhammadtaimoorhassan96 3 жыл бұрын
hello brother , its so nice of you . that was great tutorial .. you are loved by me because you never tries to sound smart or talk down to you or anything. It's nice to learn from you man. Thanks for doing this all .
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Salaam, Muhammad! You're very much welcome! You are a wonderful part of the CodeCrew community. Shukran for learning with us! -Arthur
@tylerchurchwell4053
@tylerchurchwell4053 3 жыл бұрын
Thank you so much! You video jump started my App 3 weeks before it is due at my Uni!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Yay, cheers, Tyler! Update us on your app or project. All the best! :-) -Arthur
@Nayero26
@Nayero26 4 жыл бұрын
I'm so appreciative for this. I started selling App using a generic temple and building on it. This make it so easy and now because of your videos I'm able to do more and offer more to clients. I'm definitely donating to you as soon as my client pays for this app. You're the best. Thank you.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! But there's no need to donate. If you want to support us, we appreciate if you'll purchase our course instead. :) - Kat
@jaredthomas2957
@jaredthomas2957 4 жыл бұрын
Chris, you are truly an amazing teacher. Thank you very much!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thanks for your kind words! -Kat
@timothyrosenvall1496
@timothyrosenvall1496 3 жыл бұрын
This is a beautiful tutorial, thank you for posting this video. Two things though. If you want to bring up the assistant editor on the right file, hold the option key and select the file. Also, I saw in one of your view controllers that you had imported Foundation and UIKit. Foundation is actually included in UIKit so you can replace import Foundation with import UIKit where necessary. I don't know much about programming but those are two things I have learned :) Happy Programming!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for the tips! - Kat
@amalkahsay8885
@amalkahsay8885 3 жыл бұрын
this channel is great I've been looking for a website to help me learn swift and this channel was better than anything I found!!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Wow, your comment just made our day, thank you, so, so much, Amal! :-) -Arthur
@gugogs1223
@gugogs1223 4 жыл бұрын
You are the best!!! Thank you for the most comprehensive, nicely distributed tutorials ever!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Wow, thank you! - Kat
@knox7477
@knox7477 5 жыл бұрын
Your videos course my recipe for my brain 🧠.. thanks Chris for continuing boosting my coding skills.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thanks a lot! Enjoy coding! -Kat
@darrensnapes6646
@darrensnapes6646 4 жыл бұрын
Brilliant video Chris. Thanks a lot. I learned so much and was a productive way to spend this time in lockdown! Thank you.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad you enjoyed it! - Kat
@lounisphotography
@lounisphotography 2 жыл бұрын
You are the best! Best tutorial! Nice warm voice. Nicely explained.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Thank you so much for kind words! We appreciate it so much! :-) -Arthur
@medichiswq2148
@medichiswq2148 5 жыл бұрын
You have greate tallent! You can make difficult things look obvious. Waiting for new videos with firebase, they seem to be very helpful.
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thank you so much! Make sure you're subscribed! -Kat
@doomsweb
@doomsweb 5 жыл бұрын
Thank you Chris. your videos are awesome!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thanks a lot! Glad you enjoyed them! -Kat
@adriantoth1230
@adriantoth1230 2 жыл бұрын
Chris! You are a true legend Mr! Thank you for the tutorial, I have learned a lot. Everything works just like on the video.
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You are so welcome, Adrian! Your kind words mean a lot! -Arthur
@iOSDevAnjali
@iOSDevAnjali 10 ай бұрын
this is one of the best tutorials . Thanks a lot !
@jianqinzhao6617
@jianqinzhao6617 4 жыл бұрын
I love you, Chris! Thank you so much for your tutorial!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
You're very welcome! - Kat
@samuelmcconnell6051
@samuelmcconnell6051 2 жыл бұрын
Hey man Im creating a project and your a huge help. Keep doing what u do we all really appreciate it
@CodeWithChris
@CodeWithChris 2 жыл бұрын
We're cheering for you! You got this! -Arthur
@nishanth4054
@nishanth4054 3 жыл бұрын
Man I love you, with your Videos, I just Cracked my interView, You're a legend. Keep Up the good Work
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thank you! 🙌 - Kat
@lensbongaerts5805
@lensbongaerts5805 2 жыл бұрын
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
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Cheers, we're all in this together, Lens! :) -Arthur
@jonKempEsq
@jonKempEsq 4 жыл бұрын
Another monster of a tutorial from the AppMaster! Thanks Chris
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Welcome! Thanks for learning with us. - Kat
@ameenghazal2259
@ameenghazal2259 4 жыл бұрын
thank you sooooo much ! I tried many times with many errors specially tracking the curly brakets !! but finally it works ! and its working on my iPhone which I guess it can use my device network by default ! amazing
@CodeWithChris
@CodeWithChris 4 жыл бұрын
You're welcome! That's awesome to hear. - Kat
@redactedbass
@redactedbass 4 жыл бұрын
Hey Chris, just wanted to say thanks for all your help through these videos. You’re awesome and keep up the good work! I’m just curious if you’ll put out a video describing how you can link ones account to specific things in the app?
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Hello. im not really sure what you mean? its possible to connect different types of account using firebase because of their built-in Auth - Francis
@ruhithudakara2802
@ruhithudakara2802 3 жыл бұрын
thanks a lot Chris, you are a awesome teacher
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Glad you think so! Thanks for watching. - Kat
@marinaalecriim
@marinaalecriim 2 жыл бұрын
thank you Chris! this tutorial was so helpful!! :)
@CodeWithChris
@CodeWithChris 2 жыл бұрын
You are so welcome, Marina! :) -Arthur
@Arhaanmastar
@Arhaanmastar 4 жыл бұрын
Hi Chris , I followed your tutorials to build my own project with my own styling . Everything just worked fine also i added autologin and logout option . If user is logged first time by saving token
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Congrats!!!!! @AdrienVillez
@youngjeilee9027
@youngjeilee9027 4 жыл бұрын
Hi! That's honestly so cool. I was wondering how you did it. Thanks!
@annazislina6335
@annazislina6335 4 жыл бұрын
Thank you so much for this video! Very well explained, especially for beginners like me!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad it was helpful! Thanks! - Kat
@hvneyray
@hvneyray 4 жыл бұрын
Thank you so much! the best explanation! you literally saved my life
@CodeWithChris
@CodeWithChris 4 жыл бұрын
👿 { Noooooo, come back to me!!!!!!!!!!!!) @AdrienVillez
@swaggouttheroof
@swaggouttheroof 4 жыл бұрын
Super helpful video Video, Chris!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you! Glad you found it helpful! 👍 -Kat
@ignaciooromendia6010
@ignaciooromendia6010 4 жыл бұрын
I think the best video explaining Firestore Auth, you are the best man, thanks
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you!! Have you tried it so far? Kat
@ignaciooromendia6010
@ignaciooromendia6010 4 жыл бұрын
CodeWithChris yes, and works perfect, now I want to send an email to verify it, but I don t know how, I m trying to do it reading the documentation
@hectorsvill
@hectorsvill 5 жыл бұрын
Thank you for your hard work! I learned a lot!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
That's great to hear! Thank you! -Kat
@yhwhdesigntruth7987
@yhwhdesigntruth7987 4 жыл бұрын
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.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad to hear this! You're doing a great job! - Kat
@haza1289
@haza1289 3 жыл бұрын
really brilliant video! easy to understand and great intro into ios development for me! cheers!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
We appreciate you a ton, Haza! :-) -Arthur
@swado_2000
@swado_2000 4 жыл бұрын
Chris you are doing great work brother keep on making videos for us . Love from India.
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Thank you for watching our content! We have a new video dropping tomorrow! Love from Toronto (Chris) and San Francisco (Me) @AdrienVillez
@thomaswahahauw560
@thomaswahahauw560 5 жыл бұрын
Chris I thank you very much, I love it, you the MAN, Your explaining damn. Thankss thanks for doing this!!!!!!!!!!!!!
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Hello Thomas! Thank you so much. That's very nice of you. -Kat
@ajayspatil
@ajayspatil 2 жыл бұрын
You're amazing!!! Best IOS Dev channel as well as the video :)
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Best comment of the day! Thank you so much, Ajay! -Arthur
@elsab6884
@elsab6884 4 жыл бұрын
This was really helpful! I was wondering for another video if you could show how to make a comment section using Firebase. Anyway, great work as always :)
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Great suggestion! Thanks for watching this tutorial! - Kat
@raelenelizabeth
@raelenelizabeth 4 жыл бұрын
This was so helpful. Complete lifesaver. Thank you, Thank you, Thank you!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Welcome! Glad you found this super helpful! Kat
@Reallymellie
@Reallymellie 3 жыл бұрын
Thank you Chris for all your help!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
You're so welcome, Melvin! Thanks for supporting us! -Arthur
@user-fc6ti5gj3e
@user-fc6ti5gj3e Жыл бұрын
Excellent! Thank you Chris!
@CodeWithChris
@CodeWithChris Жыл бұрын
Thank you for watching! - Pat
@diegocadena7693
@diegocadena7693 4 жыл бұрын
Amazing tutorial. Thanks a lot man!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
You're welcome! - Kat
@KangaRyoo98
@KangaRyoo98 4 жыл бұрын
Love your Videos! Helped me so much to get started!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad to hear that! Thanks for watching! Kat
@ethanhouseworth6129
@ethanhouseworth6129 3 жыл бұрын
I don't usually comment on videos but this one was absolutely perfect! Thank you for helping me build my first app! Will be coming back in the future. Keep up the good work!!!!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Ahhhh, Ethan! Thank you so, so much! We'll be waiting for your return. Next time update us on your first app. Congratulations! -Arthur
@ethanhouseworth6129
@ethanhouseworth6129 3 жыл бұрын
@@CodeWithChris Still wonder how you add a back button though. Do you have a video on that?
@ivana4983
@ivana4983 2 жыл бұрын
Thank you SO MUCH!! I have to develop an app for university and as I am a beginner with no experience you literally saved me😅
@CodeWithChris
@CodeWithChris 2 жыл бұрын
Glad we helped you! Keep on going! -Arthur
@hardipgajera2316
@hardipgajera2316 4 жыл бұрын
thanks chris this video made my day 👌
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad to hear it! Thank you for learning with us. 🙌 - Kat
@explosionradical
@explosionradical 4 жыл бұрын
Thanks for the video! extremely helpful!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
Glad it was helpful! - Kat
@timchenkoms
@timchenkoms 3 жыл бұрын
That was great. I did my first app in 8 hours. Everything was pretty smoth.
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Wow, brilliant! Proud of you! -Arthur
@calebharms7372
@calebharms7372 3 жыл бұрын
CHRIS, THANK YOU, BEST TEACHER OUT THERE
@CodeWithChris
@CodeWithChris 3 жыл бұрын
So humbled by your kind words, Caleb! Have a great 2021! :-) -Arthur
@FedericoTartarini
@FedericoTartarini 4 жыл бұрын
Thank you so much for this video. Extremely useful!!
@CodeWithChris
@CodeWithChris 4 жыл бұрын
You're very welcome Federico! -Kat
@vhhidalgo
@vhhidalgo 5 жыл бұрын
Million thanks for the tutorial, you are the best Chris, greetings form Perú
@CodeWithChris
@CodeWithChris 5 жыл бұрын
Thanks for the kind words! Really appreciate it! -Kat
@changethementality
@changethementality 3 жыл бұрын
Thanks for all the awesome tutorials! Very well done!
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Thanks for the kind words! :-) -Arthur
@BilalAhmed-xn5pz
@BilalAhmed-xn5pz 3 жыл бұрын
Thank you so much! I learned a lot :)
@CodeWithChris
@CodeWithChris 3 жыл бұрын
Yay, happy to know this! :-) -Arthur
Xcode Tutorial for Beginners - (using the new Xcode 11)
41:10
CodeWithChris
Рет қаралды 499 М.
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 73 М.
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 45 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 194 МЛН
Tienda de Productos Digitales con Integración de PayPal
24:10
Mauricio Sevilla Britto
Рет қаралды 5
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 2,6 МЛН
How To Work With Any API (API Tutorial using URL Requests)
27:07
CodeWithChris
Рет қаралды 124 М.
How to Get User Location on a Map - Swift
26:11
Sean Allen
Рет қаралды 62 М.
Authentication in SwiftUI App Using JSON Web Token (JWT)
54:38
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22