Muhammed9991 / TCANavigationStackExample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Navigation Stack and resuable flow example

Introduction

Tool Version
Xcode 15.2
iOS Target 16.0.0
Swift 5.9.0

This repostory shows an example of one of the possible ways of creating re-usable flows of screen. The project was created using The Composable Architecture (more info on TCA here).

graph TD;
A[Splash screen]--> B{Is user signed in?};
B -- Yes --> C[Welcome screen];
B -- No --> D[Home screen];
C --> E[Year of Birth screen];
E --> F{Is user above 18?};
F -- Yes --> G[Naming Flow];
F -- NO --> H[Onboarding complete screen];
H --> D
G --> I[First name screen];
I --> J[Family name screen];
J --> K[Name completion screen];
K --> H;
Loading

If user is above 18, they have an option to updat their name. This reuses the naming flow.

demo.mov

About


Languages

Language:Swift 100.0%