Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolsky2 committed May 23, 2021
1 parent 919cbd4 commit a6f4291
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file added FeatureRoutingSwiftUI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Routing features with SwiftUI

## Problem statement
This sample code contains a solution to a problem of decoupling navigation from Views written with SwiftUI using VIPER architecture.

![Presentation flow](FeatureRoutingSwiftUI.png)

## External resources

[Problem statement and discussions could be found here on stackoverflow](https://stackoverflow.com/questions/61304700/swiftui-how-to-avoid-navigation-hardcoded-into-the-view/62909832)

0 comments on commit a6f4291

Please sign in to comment.