siteline/swiftui-introspect
Introspect underlying UIKit/AppKit components from SwiftUI observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 96
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27.5
- age_days: 2472
- days_rel: 56
- days_push: 28
- n_releases_24m: 9
Adoption not part of the score
6543 stars · 418 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Swift library that lets SwiftUI developers access and customize the underlying UIKit or AppKit views behind SwiftUI views. It works by inserting invisible marker views and traversing the native view hierarchy to find the relevant platform view.
Use cases
- customize a UIScrollView behind a SwiftUI ScrollView
- access the underlying UITextField from a SwiftUI TextField
- modify UIKit view properties not exposed by SwiftUI
- introspect AppKit views on macOS SwiftUI apps
- apply UIKit-level tweaks to SwiftUI components in production apps
When to choose
- you need fine-grained control over UIKit/AppKit views that SwiftUI doesn't expose
- you want a production-safe approach that uses only public APIs
- you need to support specific iOS/macOS versions with explicit opt-in
When to avoid
- you want a pure SwiftUI solution without platform dependencies
- your app targets platforms without UIKit/AppKit (e.g., Linux, Windows)
- you're unwilling to update introspection targets when new OS versions change underlying types
Facets
library · maturity active
ui-components developer-tools mobile-development frontend cross-platform swiftui uikit appkit view-hierarchy introspection swift-package-manager ios macos swift
1 source
- readme: https://github.com/siteline/swiftui-introspect · fetched 2026-08-28 · d611ae81018b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| siteline/swiftui-introspect | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="siteline/swiftui-introspect")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem