iOS SwiftUI Authentication pt. 2 - Navigation, ViewModels and Finishing Up
Автор: Techne Coding
Загружено: 2024-02-11
Просмотров: 1827
Welcome back to another video! In this one we bring in our model layer code from the UIKit project (with a quick overview of it). Then we set up our navigation using the SwiftUI coordinator pattern and finish our view models. We fix a few issues I introduced 😅 and finish up the app.
This is a bit of a long one so sit back, grab a sandwich or some coffee and enjoy. The next video I’m going to quickly show the actual navigation pattern and setup that I use in my client projects. I promise this will be last one in the series!
Making the Model Layer: • iOS Authentication - Keychain and Making N...
🔒 Key Highlights:
Bring in the model layer from the UIKit project.
Making a SwiftUI Coordinator View and Coordinator object for navigation.
Adding the model layer to our ViewModels and making network calls
Fixing some bugs and testing the final app!
👨💻 What’s Next:
The next video will be the final in the series! I will be showing the actual navigation that I use for client projects and the pros and cons of all the navigation patterns that I used for this series.
Don't forget to like, subscribe, and leave your questions or suggestions in the comments below. Happy coding!
00:00 Intro
01:06 Refresher: Target Functionality
02:42 Bringing in Model Layer Code
15:11 Navigation using Coordinator Pattern
19:26 About NavigationPath
21:28 Making the Coordinator Class
26:34 Configuring Views for the Coordinator
39:41 Configuring our Root View
43:40 Building Views for the Coordinator View
48:10 Hooking up our navigation
53:23 Explanation on Out Paths
58:35 Finishing HomeView + ViewModel
01:08:49 Finishing LoginView + ViewModel
01:16:31 Finishing RegisterView + ViewModel
01:26:35 Updating the ViewModels within our Coordinator
01:27:12 Fixing Build Issues and Navigation Issues
01:27:48 Testing the App
01:28:51 Fixing Navigation Issues
01:30:51 Demo Final Product
01:33:56 Conclusion
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: