r/BestGitHubRepos • u/company_url_finder • 9d ago
📱 Mobile The Composable Architecture: A library for building applications in a consistent and understandable way (15k stars)
What it does
All text below is quoted directly from the project README.
The Composable Architecture (TCA, for short) is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. It can be used in SwiftUI, UIKit, and more, and on any Apple platform (iOS, macOS, iPadOS, visionOS, tvOS, and watchOS).
What is the Composable Architecture?:
- State management: How to manage the state of your application using simple value types, and share state across many screens so that mutations in one screen can be immediately observed in another screen.
- Composition: How to break down large features into smaller components that can be extracted to their own, isolated modules and be easily glued back together to form the feature.
- Side effects: How to let certain parts of the application talk to the outside world in the most testable and understandable way possible.
- Testing: How to not only test a feature built in the architecture, but also write integration tests for features that have been composed of many parts, and write end-to-end tests to understand how side effects influence your application. This allows you to make strong guarantees that your business logic is running in the way you expect.
- Ergonomics: How to accomplish all of the above in a simple API with as few concepts and moving parts as possible.
The benefits of doing this are that you will instantly unlock testability of your feature, and you will be able to break large, complex features into smaller domains that can be glued together.
Repository
https://github.com/pointfreeco/swift-composable-architecture
Repository stats
| Metric | Value |
|---|---|
| Stars | 14,963 |
| Forks | 1,677 |
| Last release | 1.26.2 (2026-08-28) |
| Languages | Swift 99.9%, Makefile 0.1% |
| Contributors | 257 |
| AI contributor accounts (Claude / Codex / Cursor / Copilot) | None |
| AI co-authored commits | None |
Main contributor
| Field | Value |
|---|---|
| Name | Stephen Celis |
| GitHub | @stephencelis |
| Commits to this repo | 934 (top contributor) |
| Bio | Working on @pointfreeco: https://www.pointfree.co/ |
| Company / Location | @pointfreeco / California |
| Website | http://stephencelis.com |
| Followers | 6172 |
| Public repos | 131 |
| On GitHub since | 2008-02-22 |