{"repo":"QuickBirdEng/SwiftUI-Architectures","free":true,"listed":false,"github":"https://github.com/QuickBirdEng/SwiftUI-Architectures","clone":"git clone https://github.com/QuickBirdEng/SwiftUI-Architectures.git","description":"Three different architectures (Model-View, Redux, MVVM) for using SwiftUI implemented at the example of a chat app","language":"Swift","stars":692,"topics":["swiftui","swiftui-example","swift","architecture","architectural-patterns","swiftui-mvvm","redux","model-view","ios","ios-swift"],"license":"MIT","category":"mobile-apps","readme_excerpt":"SwiftUI Architectures: Model-View, Redux & ViewState MVVM This repository contains implementations of a simple chat client called QBChat. Each implementation uses SwiftUI while applying a different architecture (Model-View, Redux & ViewState MVVM). More explanation about each SwiftUI architecture example can be found in this blog article. Currently, QBChat is implemented using the following app architectures: Model-View The Model-View architecture does not enforce abstraction of business logic from Views similar to the MVC architecture pattern with UIKit. Redux In Redux-like architectures, a global state is used to ensure consistency across all Views being kept in Stores. View components can trigger Actions which are interpreted into state changes by a reducer. ViewState MVVM ViewState MVVM uses separate ViewModels for each View (if required). Instead of a global state and global actions, ViewState MVVM creates a separate ViewModel interface for each View containing a State and different Inputs. Author SwiftUI-Architectures is created with ❤️ by QuickBird Studios. To get more information on the different app architectures check out our blog post. Contributing Open an issue if you need help, if you found a bug, or if you want to discuss a feature request. Open a PR if you want to add other SwiftUI app architectures to the repository or make changes to the different implementations. License SwiftUI-Architectures is released under an MIT license. See License.md for more informat","default_branch":null,"files":null,"tree":[],"storefront":"/r/QuickBirdEng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/QuickBirdEng/SwiftUI-Architectures/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}