# JohnSundell/SwiftTips

A collection of Swift tips & tricks that I've shared on Twitter

Repository: https://github.com/JohnSundell/SwiftTips
Canonical: https://ross.abutalabs.com/products/swifttips
Homepage: https://twitter.com/johnsundell
License: MIT
License Family: permissive
Topics: swift, tips-and-tricks
Last push: 2023-11-22T03:10:52+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3508, "days_push": 1015, "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 4011, forks 241 (observed 2026-08-28T04:08:32.293405+00:00)

## What it is
A curated collection of Swift tips and tricks originally shared by John Sundell on Twitter, organized as a numbered list with links to the original tweets. It covers language features, testing patterns, and idiomatic Swift techniques, and is no longer updated in favor of the Swift by Sundell website.

## Use cases
- learn idiomatic Swift techniques
- find quick Swift language tricks
- discover patterns for async testing in Swift
- learn dependency injection approaches in Swift
- brush up on Swift enums, optionals, and Codable
- find references to Swift tips from Twitter

## When to choose
- you want a free, curated list of practical Swift tips
- you are learning Swift and want bite-sized examples
- you want links to community discussion for each tip

## When to avoid
- you need up-to-date tips for the latest Swift versions
- you need structured tutorials or a full course rather than short snippets
- you need runnable library code rather than educational content

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: programming-languages, tutorials, developer-tools
- platform: -
- tags: swift, tips-and-tricks, curated-list, twitter-tips, ios-development, ios, macos

## Member repositories
- JohnSundell/SwiftTips (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.293405+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:24:01.532900+00:00, confidence not recorded.
  - readme: https://github.com/JohnSundell/SwiftTips (fetched 2026-08-28T04:08:32.293405+00:00, sha 262c14fa1a44)
- Data as of 2026-08-30T08:39:29.467469+00:00.
