Skip to content

Demo project that shows how to implement navigation in SwiftUI iOS application using Swift Composable Architecture

License

Notifications You must be signed in to change notification settings

darrarski/tca-swiftui-navigation-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Navigation with Composable Architecture

Swift v5.3 platforms iOS test coverage 95%

📝 Description

This is a demo project that shows how to implement navigation in SwiftUI iOS application using Swift Composable Architecture. It uses NavigationLink to push screens onto the navigation stack. App state is managed using Composable Architecture. It also contains logic responsible for handling long-living effects and dismissing the stack to the root view (pop-to-root).

Solutions used in this project are described in the article: Thoughts on SwiftUI navigation.

Navigation in demo app
navigation in demo app

🛠 Tech stack

The project contains unit and snapshot tests. Reference images for snapshot tests were recorded using iPhone 12 simulator.

☕️ Do you like the project?

Buy Me A Coffee

📄 License

Copyright © 2021 Dariusz Rybicki Darrarski

License: MIT

About

Demo project that shows how to implement navigation in SwiftUI iOS application using Swift Composable Architecture

Topics

Resources

License

Stars

Watchers

Forks