Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.71 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.71 KB

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