# SimpleBoilerplates/SwiftUI-Cheat-Sheet

SwiftUI 2.0 Cheat Sheet

Repository: https://github.com/SimpleBoilerplates/SwiftUI-Cheat-Sheet
Canonical: https://ross.abutalabs.com/products/swiftui-cheat-sheet
License: MIT
License Family: permissive
Topics: swiftui, swift, uikit, declarative-ui, uikit-equivalent
Last push: 2022-09-04T12:41:56+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": 2643, "days_push": 1459, "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 4462, forks 309 (observed 2026-08-28T04:08:50.743981+00:00)

## What it is
A community-maintained cheat sheet and quick reference for SwiftUI 2.0, mapping UIKit components to their SwiftUI equivalents with code snippets. It covers views, layouts, input controls, lists, navigation, and interop with UIKit.

## Use cases
- look up the SwiftUI equivalent of a UIKit component
- quickly find SwiftUI code snippets for buttons, lists, and layouts
- learn SwiftUI basics coming from an iOS UIKit background
- reference VStack, HStack, and grid layout syntax
- find how to mix UIKit view controllers with SwiftUI views
- get started with SwiftUI using curated tutorials and resources

## When to choose
- you are an iOS developer transitioning from UIKit to SwiftUI and need a quick reference
- you want concise code examples for common SwiftUI views and controls
- you need a free, MIT-licensed reference to keep handy while building SwiftUI apps

## When to avoid
- you need comprehensive, up-to-date documentation for the latest SwiftUI versions
- you want structured, in-depth tutorials rather than a cheat sheet
- you are not developing for Apple platforms

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, ui-components, developer-tools
- domain: mobile-development, tutorials, cross-platform
- platform: -
- tags: swiftui, cheat-sheet, uikit, declarative-ui, reference-guide, ios, macos, swift

## Member repositories
- SimpleBoilerplates/SwiftUI-Cheat-Sheet (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:50.743981+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:20:41.052535+00:00, confidence not recorded.
  - readme: https://github.com/SimpleBoilerplates/SwiftUI-Cheat-Sheet (fetched 2026-08-28T04:08:50.743981+00:00, sha 44fa599a01c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
