Skip to content
项目

QuickBirdEng/SwiftUI-Coordinators-Example

在 GitHub 查看

关于

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

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…