# Clean-Swift/CleanStore

A sample iOS app built using the Clean Swift architecture. Clean Swift is Uncle Bob's Clean Architecture applied to iOS and Mac projects. CleanStore demonstrates Clean Swift by implementing the create order use case described by in Uncle Bob's talks.

Repository: https://github.com/Clean-Swift/CleanStore
Canonical: https://ross.abutalabs.com/products/cleanstore
Homepage: https://clean-swift.com/clean-swift-ios-architecture/
Language: Swift
License: MIT
License Family: permissive
Last push: 2021-10-05T04:06:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4017, "days_push": 1793, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1922, forks 309 (observed 2026-08-28T04:05:55.263983+00:00)

## What it is
CleanStore is a sample iOS app demonstrating the Clean Swift architecture, which applies Uncle Bob's Clean Architecture to iOS and Mac projects. It implements the create order use case from Uncle Bob's talks and serves as the reference example for the Clean Swift VIP (View-Interactor-Presenter) pattern and its Xcode templates.

## Use cases
- learn clean architecture for iOS apps
- see an example of the VIP view-interactor-presenter pattern
- fix massive view controller problems in Swift
- study how to unit test iOS view controllers with TDD
- understand interactor, presenter, and worker roles in iOS architecture
- find a reference implementation of Clean Swift templates

## When to choose
- you are an iOS/Swift developer wanting to adopt Clean Architecture or the VIP cycle
- you want a concrete, worked example of Clean Swift scenes with tests
- you are evaluating alternatives to MVC/MVVM for structuring iOS apps

## When to avoid
- you need a production-ready framework or library to drop into your app - this is a sample app, not a dependency
- you develop for Android, web, or non-Apple platforms
- you need actively maintained code for the latest Swift/Xcode versions - the last release was in 2021

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: mobile-framework, testing, developer-tools
- domain: mobile-development, tutorials, education
- platform: -
- tags: clean-architecture, clean-swift, vip, sample-app, ios, swift, tdd, mvc, uncle-bob, xcode-templates, ios-architecture, mobile

## Member repositories
- Clean-Swift/CleanStore (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.263983+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-30T03:09:39.482702+00:00, confidence not recorded.
  - readme: https://github.com/Clean-Swift/CleanStore (fetched 2026-08-28T04:05:55.263983+00:00, sha ec011722134e)
  - homepage: https://clean-swift.com/clean-swift-ios-architecture/ (fetched 2026-08-29T10:49:17.627863+00:00, sha 70b5b585f880)
  - site_page: https://clean-swift.com/about (fetched 2026-08-29T10:49:17.639985+00:00, sha 9c2189c56653)
  - site_page: https://clean-swift.com/role-of-the-interactor-and-its-workers (fetched 2026-08-29T10:49:17.644027+00:00, sha eea3de570ffb)
  - site_page: http://clean-swift.com/swift-3-compatible (fetched 2026-08-29T10:49:17.642087+00:00, sha e041f03da7db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
