# linkedin/swift-style-guide

LinkedIn's Official Swift Style Guide

Repository: https://github.com/linkedin/swift-style-guide
Canonical: https://ross.abutalabs.com/products/linkedin-swift-style-guide
License: NOASSERTION
License Family: other
Topics: swift, style-guide, ios
Last push: 2025-01-15T19:12:12+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 1, release rhythm 35, longevity 100
- inputs: {"age_days": 3725, "days_push": 595, "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 1452, forks 190 (observed 2026-08-28T04:04:46.429359+00:00)

## What it is
LinkedIn's official style guide for the Swift programming language, covering code formatting, naming, coding style, and documentation conventions. It is a reference document rather than executable software.

## Use cases
- standardize Swift code style across a team
- decide how to format braces and guard statements in Swift
- learn naming conventions for Swift APIs
- set up Swift linting rules based on a company style guide
- onboard new iOS developers to a shared coding style

## When to choose
- you want a battle-tested corporate Swift style guide to adopt or adapt
- you need a reference for consistent Swift formatting and naming conventions
- you are aligning an iOS team on code review standards

## When to avoid
- you need an automated formatter or linter rather than a written guide
- you need guidance for Swift versions newer than 4.0, as the guide was last updated in 2018
- you are looking for Objective-C or other language conventions

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation
- domain: programming-languages, mobile-development, developer-tools
- platform: -
- tags: swift, style-guide, coding-conventions, code-style, ios

## Member repositories
- linkedin/swift-style-guide (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.429359+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-30T04:35:48.660508+00:00, confidence not recorded.
  - readme: https://github.com/linkedin/swift-style-guide (fetched 2026-08-28T04:04:46.429359+00:00, sha a58331eecc9d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
