# pointfreeco/swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.

Repository: https://github.com/pointfreeco/swift-composable-architecture
Canonical: https://ross.abutalabs.com/products/swift-composable-architecture
Homepage: https://www.pointfree.co/collections/composable-architecture
Language: Swift
License: MIT
License Family: permissive
Topics: architecture, composition, modularity, testability, swiftui, uikit
Last push: 2026-07-24T14:53:59+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 94, longevity 100
- inputs: {"age_days": 2313, "days_push": 40, "days_rel": 43, "gap_med": 14.0, "n_releases_24m": 31}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14886, forks 1673 (observed 2026-08-28T04:11:08.868296+00:00)

## What it is
The Composable Architecture (TCA) is a Swift library for building applications with a consistent, testable architecture based on state management, composition, and controlled side effects. It works with SwiftUI, UIKit, and all Apple platforms including iOS, macOS, iPadOS, visionOS, tvOS, and watchOS.

## Use cases
- manage app state in SwiftUI with value types
- write unit and integration tests for app features
- break large features into composable modules
- handle side effects like API calls in a testable way
- share state across multiple screens
- structure an iOS app with unidirectional data flow

## When to choose
- building SwiftUI or UIKit apps on Apple platforms
- you want highly testable business logic with strong guarantees
- you prefer unidirectional data flow and functional composition
- you need modular features that can be developed in isolation

## When to avoid
- building for non-Apple platforms like Android or web
- your team prefers minimal architecture with no framework constraints
- you want a very lightweight solution for tiny apps
- you dislike boilerplate around reducers and actions

## Facets
- artifact type: library
- maturity: stable
- function: state-management, testing, ui-components
- domain: mobile-development, frontend, developer-tools
- platform: -
- tags: swiftui, uikit, unidirectional-data-flow, redux-style, apple-platforms, composable-architecture, tca, swift, ios, macos, mobile, desktop

## Member repositories
- pointfreeco/swift-composable-architecture (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:08.868296+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:07:00.509639+00:00, confidence not recorded.
  - readme: https://github.com/pointfreeco/swift-composable-architecture (fetched 2026-08-28T04:11:08.868296+00:00, sha fdceb17db47b)
  - homepage: https://www.pointfree.co/collections/composable-architecture (fetched 2026-08-29T08:05:05.228504+00:00, sha 4387ee10a310)
  - site_page: https://www.pointfree.co/about (fetched 2026-08-29T08:05:05.262528+00:00, sha c3a02fbfb680)
  - site_page: https://www.pointfree.co/pricing (fetched 2026-08-29T08:05:05.259463+00:00, sha 57955cb678af)
- Data as of 2026-08-30T08:39:29.467469+00:00.
