xtro/SwiftMVI
66.5
Adequate · 9 November 2026
1.6k
lines of production code
Swift
primary language
7
measurements over time
What this system is
SwiftMVI is a multi-platform framework for building iOS, macOS, tvOS, and watchOS applications using a Model-View-Intent architecture. It provides a modern state management system that replaces immutable patterns with a \Modulable\ protocol and \ReducibleState\ to handle mutable and immutable states. The system integrates with external dependencies like SwiftUseCase and CasePaths to manage features and events within SwiftUI views.
Behavioural changes
Refactored state management to support mutable and immutable states
The framework now distinguishes between mutable and immutable state handling. Immutable state management has been removed, and the system now relies on a new \Modulable\ protocol and \ReducibleState\ for state management. This change introduces new core components like \AnyPath\, \Property\, and \ValueFeature\ to manage state and events, while removing older patterns like \ImmutableReducer\ and \Observer\. Users will now interact with features using the new \Modulable\ protocol and \ReducibleState\ for state updates, enabling more flexible state management in SwiftUI views.
Sources · high confidence
Test coverage
Updated copyright header in SwiftMVI tests
The copyright header in the SwiftMVI test file was updated to reflect the year 2023, indicating a maintenance update to the test suite's metadata.
Tests · high confidence
Dependencies
Add SwiftMVI dependencies and multi-platform support
The SwiftMVI library now depends on the SwiftUseCase and CasePaths packages, integrating their functionality into the core target. Additionally, the package now supports multiple Apple platforms, including macOS, iOS, tvOS, and watchOS.
(dependencies) · medium confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 66 → 66 (+0.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 100 → 98 (-1.5)
- Maturity 62 → 66 (+4.0)
- Readiness 48 → 48 (+0.0)
- Security 97 → 97 (+0.0)
- Performance 100 → 100 (+0.0)
New (1)
- High interface indirection
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
xtro/SwiftMVI was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 9b583728722b703b60f039b81998af04798c224e — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-bb0cb800cd0f.