SwiftUI Coordinators Example Save

Sample app that showcases the use of the Coordinator Pattern in SwiftUI

Project README

SwiftUI Coordinators Example

This example app is part of our blog article How to Use the Coordinator Pattern in SwiftUI. While the article introduces the different techniques and components of our approach to the Coordinator Pattern in SwiftUI on a general level, the Recipes App acts as a demonstration and can be used as a starting point to experimenting with it.

In a follow-up article Navigation and Deep-Links in SwiftUI, we have further adapted the example app to use the XUI library. These adaptions can be found on the xui branch.

Recipes App

The Recipes App lists different recipes with instructions on how to prepare it and ratings from previous users having tried it. In its current form, the app does not provide this functionality, but rather displays mock data.

RecipeView RecipeDetail RatingsView

The HomeCoordinatorView and its view model HomeCoordinator coordinate the TabView and create optional sheets. The RecipeListCoordinatorView and RecipeListCoordinator coordinate the list of recipes, displaying a detail screen for a selected recipe and showing ratings of the selected recipe.

Author

This example app and the blog article were created with ❤️ by QuickBird Studios.

License

The Recipes App is released under the MIT license. See LICENSE for more information.

Open Source Agenda is not affiliated with "SwiftUI Coordinators Example" Project. README Source: QuickBirdEng/SwiftUI-Coordinators-Example
Stars
213
Open Issues
2
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating