# kodecocodes/swift-style-guide

The official Swift style guide for Kodeco.

Repository: https://github.com/kodecocodes/swift-style-guide
Canonical: https://ross.abutalabs.com/products/swift-style-guide
License: NOASSERTION
License Family: other
Last push: 2025-04-01T18:21:22+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 14, release rhythm 35, longevity 100
- inputs: {"age_days": 4468, "days_push": 519, "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 13161, forks 2097 (observed 2026-08-28T04:11:02.350289+00:00)

## What it is
The official Swift style guide from Kodeco, defining coding conventions for clarity, consistency, and brevity across their books and tutorials. It includes a companion SwiftLint configuration for automated enforcement of the rules.

## Use cases
- adopt consistent Swift coding conventions across a team
- configure SwiftLint rules for a Swift project
- learn idiomatic Swift naming and code organization
- standardize style for Swift tutorials or books
- review Swift code against a published style guide

## When to choose
- you write Swift for iOS or macOS and want a readable, battle-tested style guide
- you contribute to or author content for Kodeco
- you want a ready-made SwiftLint configuration matching the guide

## When to avoid
- your team already follows Google's or another established Swift style guide
- you need a machine-enforceable linter only, without prose guidelines
- you work primarily in a language other than Swift

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, linter, formatter
- domain: programming-languages, mobile-development, tutorials, developer-tools
- platform: -
- tags: swift, style-guide, coding-standards, swiftlint, kodeco, ios, macos

## Member repositories
- kodecocodes/swift-style-guide (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:02.350289+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:13:29.301939+00:00, confidence not recorded.
  - readme: https://github.com/kodecocodes/swift-style-guide (fetched 2026-08-28T04:11:02.350289+00:00, sha 3d2bc5ee8838)
- Data as of 2026-08-30T08:39:29.467469+00:00.
