{"id":13995469,"url":"https://github.com/QuickBirdEng/SwiftUI-Architectures","last_synced_at":"2025-07-22T22:30:58.501Z","repository":{"id":49557377,"uuid":"221225972","full_name":"QuickBirdEng/SwiftUI-Architectures","owner":"QuickBirdEng","description":"Three different architectures (Model-View, Redux, MVVM) for using SwiftUI implemented at the example of a chat app","archived":false,"fork":false,"pushed_at":"2019-12-08T14:20:28.000Z","size":344,"stargazers_count":695,"open_issues_count":3,"forks_count":55,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-06-23T02:09:56.404Z","etag":null,"topics":["architectural-patterns","architecture","ios","ios-swift","ios-ui","model-view","redux","swift","swiftui","swiftui-example","swiftui-mvvm"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuickBirdEng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-12T13:35:52.000Z","updated_at":"2025-06-17T02:44:28.000Z","dependencies_parsed_at":"2022-09-12T19:10:25.816Z","dependency_job_id":null,"html_url":"https://github.com/QuickBirdEng/SwiftUI-Architectures","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QuickBirdEng/SwiftUI-Architectures","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2FSwiftUI-Architectures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2FSwiftUI-Architectures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2FSwiftUI-Architectures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2FSwiftUI-Architectures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuickBirdEng","download_url":"https://codeload.github.com/QuickBirdEng/SwiftUI-Architectures/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuickBirdEng%2FSwiftUI-Architectures/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266585663,"owners_count":23952163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["architectural-patterns","architecture","ios","ios-swift","ios-ui","model-view","redux","swift","swiftui","swiftui-example","swiftui-mvvm"],"created_at":"2024-08-09T14:03:25.672Z","updated_at":"2025-07-22T22:30:57.885Z","avatar_url":"https://github.com/QuickBirdEng.png","language":"Swift","readme":"# SwiftUI Architectures: Model-View, Redux \u0026 ViewState MVVM\n\nThis repository contains implementations of a simple chat client called QBChat. Each implementation uses SwiftUI while applying a different architecture (Model-View, Redux \u0026 ViewState MVVM). \nMore explanation about each SwiftUI architecture example can be found in [this blog article](https://quickbirdstudios.com/blog/swiftui-architecture-redux-mvvm/). \nCurrently, QBChat is implemented using the following app architectures:\n\n### Model-View\n\n![](README/ModelView.jpeg)\n\nThe Model-View architecture does not enforce abstraction of business logic from Views similar to the MVC architecture pattern with UIKit.\n\n### Redux\n\n![](README/Redux.jpeg)\n\nIn [Redux-like architectures](https://redux.js.org), 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.\n\n### ViewState MVVM\n\n![](README/MVVM.jpeg)\n\nViewState 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.\n\n## Author\n\nSwiftUI-Architectures is created with ❤️ by [QuickBird Studios](https://quickbirdstudios.com).\n\nTo get more information on the different app architectures check out [our blog post](https://quickbirdstudios.com/blog/swiftui-architecture-redux-mvvm/).\n\n## Contributing\n\nOpen an issue if you need help, if you found a bug, or if you want to discuss a feature request.\n\nOpen a PR if you want to add other SwiftUI app architectures to the repository or make changes to the different implementations.\n\n## License\n\nSwiftUI-Architectures is released under an MIT license. See [License.md](https://github.com/quickbirdstudios/SwiftUI-Architectures/blob/master/LICENSE) for more information.\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQuickBirdEng%2FSwiftUI-Architectures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQuickBirdEng%2FSwiftUI-Architectures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQuickBirdEng%2FSwiftUI-Architectures/lists"}