# swiftlang/swift-book

The Swift Programming Language book

Repository: https://github.com/swiftlang/swift-book
Canonical: https://ross.abutalabs.com/products/swift-book
Language: Markdown
License: Apache-2.0
License Family: permissive
Last push: 2026-08-24T16:24:10+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 1492, "days_push": 9, "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 2003, forks 233 (observed 2026-08-28T04:06:04.564192+00:00)

## What it is
The official source for 'The Swift Programming Language' book, written in Markdown and published on docs.swift.org using Swift-DocC. It serves as the canonical reference and learning resource for the Swift programming language.

## Use cases
- learn the Swift programming language
- official Swift language reference documentation
- fix a typo in the Swift book
- read Swift documentation offline
- contribute to Swift language docs
- build the Swift book locally with DocC

## When to choose
- you want the authoritative, up-to-date Swift language reference
- you are learning Swift from scratch
- you want to contribute corrections or improvements to official Swift docs

## When to avoid
- you need a tutorial-style course with exercises rather than a reference book
- you want documentation for Swift Package Manager or other Swift tools (separate repos)
- you need API documentation for specific Swift libraries

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, markdown
- domain: programming-languages, documentation, education, tutorials
- platform: cross-platform, cli
- tags: swift, tspl, docc, programming-book, official-documentation, macos

## Member repositories
- swiftlang/swift-book (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:04.564192+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:01:55.875142+00:00, confidence not recorded.
  - readme: https://github.com/swiftlang/swift-book (fetched 2026-08-28T04:06:04.564192+00:00, sha 77adc363abd1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
