# kudoleh/iOS-Clean-Architecture-MVVM

Template iOS app using Clean Architecture and MVVM. Includes DIContainer, FlowCoordinator, DTO, Response Caching and one of the views in SwiftUI

Repository: https://github.com/kudoleh/iOS-Clean-Architecture-MVVM
Canonical: https://ross.abutalabs.com/products/ios-clean-architecture-mvvm
Homepage: https://tech.olx.com/clean-architecture-and-mvvm-on-ios-c9d167d9f5b3
Language: Swift
License Family: other
Topics: clean-architecture, ios-swift, swiftui, mvvm-ios, mvvm-architecture, viewmodel, mvvm, xcode, architecture, viewmodels
Last push: 2026-07-10T22:16:40+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 35, longevity 100
- inputs: {"age_days": 2570, "days_push": 54, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4402, forks 731 (observed 2026-08-28T04:08:48.302753+00:00)

## What it is
A template iOS application demonstrating Clean Architecture combined with the MVVM pattern, written in Swift with both SwiftUI and UIKit views. It serves as a reference project and starting template, including DI container, flow coordinators, DTOs, response caching, pagination, and unit tests.

## Use cases
- start a new iOS app with clean architecture and MVVM
- learn how to structure an iOS project into domain, data, and presentation layers
- see an example of dependency injection and flow coordinators in Swift
- reuse the same ViewModel with both SwiftUI and UIKit views
- study unit testing of use cases and view models in iOS
- implement response caching and DTO mapping in an iOS app

## When to choose
- you are starting a new iOS app and want a proven Clean Architecture + MVVM structure
- you want a learning reference for layered iOS architecture patterns
- you need examples of DI, coordinators, and DTO mapping without third-party dependencies

## When to avoid
- you need a production-ready framework or library with a maintained license
- you prefer architectures like VIPER, TCA, or MVC
- you want a fully featured app rather than a template to rename and adapt

## Facets
- artifact type: learning-resource
- maturity: stable
- function: developer-tools, boilerplate, templating
- domain: mobile-development, developer-tools, tutorials
- platform: -
- tags: clean-architecture, mvvm, swiftui, uikit, ios-template, dependency-injection, flow-coordinator, ios, swift, mobile

## Member repositories
- kudoleh/iOS-Clean-Architecture-MVVM (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.302753+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-29T18:21:07.807625+00:00, confidence not recorded.
  - readme: https://github.com/kudoleh/iOS-Clean-Architecture-MVVM (fetched 2026-08-28T04:08:48.302753+00:00, sha 5b70f1f0b632)
- Data as of 2026-08-30T08:39:29.467469+00:00.
