Загрузка...

How to switch view flows SwiftUI

#Swift / #iOS / #SwiftUI / #UIKit

Something you often need to do when building SwiftUI apps is change the flow of the views. How do you switch to your main app, when they have finished onboarding?

In this video we'll look at one way to use `ObservableObject` to track your application state and easily detect when to switch from one flow of views to another.

0:00 What's the problem?
0:37 New project
3:00 Adding observable
6:31 Switching UI views
7:50 Wrap-up

https://github.com/jrasmusson/swiftui/blob/main/NavigationFlow/Onboarding/README.md

Courses

Data Structures & Algorithms
https://www.udemy.com/course/the-swift-arcade-data-structures-and-algorithms-bootcamp/?referralCode=22C5D5BFE3E3CBFAC679

Level Up AutoLayout
https://www.udemy.com/course/level-up-in-auto-layout/?referralCode=BBCF1340150A86E7F6C4

Level Up in Swift
https://www.udemy.com/course/level-up-in-swift/?referralCode=98AA1A570E12A5A180C3

Source code
https://github.com/jrasmusson/swiftui
https://github.com/jrasmusson/swift-arcade

Free e-Book getting started iOS
https://www.iostutorialbook.com/

Twitter
@jrasmusson

Видео How to switch view flows SwiftUI канала Swift Arcade
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять