# ochococo/OOD-Principles-In-Swift

💎 The Principles of OOD (SOLID) based on Uncle Bob articles.

Repository: https://github.com/ochococo/OOD-Principles-In-Swift
Canonical: https://ross.abutalabs.com/products/ood-principles-in-swift
Language: Swift
License: GPL-3.0
License Family: copyleft
Topics: ood-principles, object-oriented, liskov-substitution-principle, interface-segregation-principle, dependency-inversion-principle, swift, ood, single-responsibility-principle, open-closed-principle, playground, computer-science, solid
Last push: 2026-03-13T20:21:37+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 72, release rhythm 35, longevity 100
- inputs: {"age_days": 4207, "days_push": 173, "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 1894, forks 156 (observed 2026-08-28T04:05:50.651681+00:00)

## What it is
A cheat-sheet and Swift Playground demonstrating the SOLID principles of object-oriented design based on Uncle Bob's articles, with runnable Swift 5 examples. It serves as an educational reference for learning OOD principles in Swift.

## Use cases
- learn SOLID principles with Swift examples
- understand single responsibility principle
- see Liskov substitution principle in code
- study dependency inversion in Swift
- teach object-oriented design to iOS developers
- find a quick OOD principles cheat sheet

## When to choose
- you are an iOS or Swift developer learning object-oriented design
- you want runnable playground examples of SOLID principles
- you need a concise reference based on Uncle Bob's articles

## When to avoid
- you need SOLID examples in a language other than Swift
- you want a comprehensive design patterns catalog rather than principles
- you need production-ready code rather than educational snippets

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation
- domain: education, programming-languages, tutorials
- platform: cross-platform
- tags: solid-principles, object-oriented-design, swift-playground, cheat-sheet, computer-science, swift, macos

## Member repositories
- ochococo/OOD-Principles-In-Swift (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:50.651681+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:12:54.279973+00:00, confidence not recorded.
  - readme: https://github.com/ochococo/OOD-Principles-In-Swift (fetched 2026-08-28T04:05:50.651681+00:00, sha ac9db7c244f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
