Flutter开发App的未来及其在各行业的应用潜力分析
1146
2022-11-03
使用GitHub API基于SwiftUI + MVVM和Combine框架构建的iOS示例项目
SwiftUI-MVVM
One of the biggest idea for having MVVM is that most of data flow can be testable. Data binding in view layer by SwiftUI is awesome. However, this project has view model layer to make it testable as much as possible. This idea can be achieved by Flux or Redux as well, but I chose MVVM first because it's handy.
Requirements
Xcode 11.0 Beta 5+ Swift 5.1+
More examples
See other architectures as well
Flux: https://github.com/kitasuke/SwiftUI-FluxRedux: https://github.com/kitasuke/SwiftUI-Redux
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~