You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I have 4 screens (and 4 Reducers for each).
The flow I have in mind is that RootView is the entry point that will show the SplashView.
After x seconds, it should show LoginView and at the same time replacing SplashView (so this should be removed and de-allocated).
After tapping Login button in LoginView, it should show MainView and at the same time replacing LoginView (so this should be removed and de-allocated).
User can tap the Logout button in MainView and it should show LoginView and at the same time replacing MainView (so this should be removed and de-allocated).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. Quite new to this library and trying to figure things up from https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/whatisnavigation;
but I need help making the intended flow work.
Right now I have 4 screens (and 4 Reducers for each).
The flow I have in mind is that RootView is the entry point that will show the SplashView.
After x seconds, it should show LoginView and at the same time replacing SplashView (so this should be removed and de-allocated).
After tapping Login button in LoginView, it should show MainView and at the same time replacing LoginView (so this should be removed and de-allocated).
User can tap the Logout button in MainView and it should show LoginView and at the same time replacing MainView (so this should be removed and de-allocated).
Please see the attached file for the source code
SampleNavigation.zip
Beta Was this translation helpful? Give feedback.
All reactions