{"id":18132005,"url":"https://github.com/cooler333/swiftea","last_synced_at":"2025-08-10T22:07:14.714Z","repository":{"id":44453269,"uuid":"486329853","full_name":"cooler333/Swiftea","owner":"cooler333","description":"Swift implementation of the elm architecture (TEA)","archived":false,"fork":false,"pushed_at":"2022-06-25T18:33:41.000Z","size":124,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T05:17:53.144Z","etag":null,"topics":["architecture","cocoapods","elm-architecture","ios","model-view-intent","model-view-update","mvi","mvi-architecture","mvu","spm","swift","swift-package-manager","tea","the-elm-architecture","udf","unidirectional-data","unidirectional-data-flow"],"latest_commit_sha":null,"homepage":"","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/cooler333.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":"2022-04-27T19:45:47.000Z","updated_at":"2025-01-21T23:30:12.000Z","dependencies_parsed_at":"2022-09-06T01:20:55.310Z","dependency_job_id":null,"html_url":"https://github.com/cooler333/Swiftea","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/cooler333/Swiftea","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooler333%2FSwiftea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooler333%2FSwiftea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooler333%2FSwiftea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooler333%2FSwiftea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cooler333","download_url":"https://codeload.github.com/cooler333/Swiftea/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooler333%2FSwiftea/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269794097,"owners_count":24476743,"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-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["architecture","cocoapods","elm-architecture","ios","model-view-intent","model-view-update","mvi","mvi-architecture","mvu","spm","swift","swift-package-manager","tea","the-elm-architecture","udf","unidirectional-data","unidirectional-data-flow"],"created_at":"2024-11-01T12:10:01.708Z","updated_at":"2025-08-10T22:07:14.662Z","avatar_url":"https://github.com/cooler333.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swiftea\n\nIf you were looking for a something like this: \n- TEA (The Elm Architecture)\n- MVU (Model-View-Update)\n- MVI (Model-View-Intent)\n- Redux-like\n- Flux-like\n- UDF (Unidirectional Data Flow)\n- e.t.c\n\n...but on Swift. Then you have found it!\n\nSwiftea is implementation of TEA/MVU architecture pattern using Swift.\n\n## Features\n\n- Cancellable side effects (cancel outdated network requests)\n- Do not use 3rd party libraries\n- use Combine\n- 100% business logic code coverage\n- Lightweight: 2 structs, 1 enum, 2 final classes; less than 200 lines of code\n\n#### We're open to merge requests\n\n## Examples\n\n- [Infinite Scroll](https://github.com/cooler333/Swiftea/tree/main/Examples/InfiniteScroll)\n\n#### Other\n- [Cocoapods integration](https://github.com/cooler333/Swiftea/tree/main/Examples/PodExample)\n- [Swift Package Manager integration](https://github.com/cooler333/Swiftea/tree/main/Examples/SPMExample)\n\n## Requirements\n\n- iOS: 13.0\n- Swift: 5.5\n\n## Installation (Cocoapods / SPM)\n\nSwiftea is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Swiftea'\n```\n\nAlso you can integrate framework as SPM package\n\n## Alternatives\n- [Mobius.swift](https://github.com/spotify/Mobius.swift)\n- [ReSwift](https://github.com/ReSwift/ReSwift)\n- [ReCombine](https://github.com/ReCombine/ReCombine)\n- [Swift Composable Architecture](https://github.com/pointfreeco/swift-composable-architecture)\n- [Tea In Swift](https://github.com/chriseidhof/tea-in-swift)\n- [SwiftRex](https://github.com/SwiftRex/SwiftRex)\n- [More](https://github.com/onmyway133/awesome-ios-architecture#unidirectional-data-flow)\n\n## Author\n\nDmitrii Coolerov, coolerov333@gmail.com\n\n## License\n\nSwiftea is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooler333%2Fswiftea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcooler333%2Fswiftea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooler333%2Fswiftea/lists"}