aschuch/StatefulViewController
Placeholder views based on content, loading, error or empty states observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 4383
- days_rel: n/a
- days_push: 2120
- n_releases_24m: 0
Adoption not part of the score
2111 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift library providing a protocol for UIViewControllers and UIViews to display placeholder views based on content, loading, error, or empty states. It manages the state machine for showing and hiding the appropriate placeholder automatically.
Use cases
- show loading spinner while fetching data in ios view controller
- display empty state view when no content available
- show error placeholder when network request fails
- manage view states in uitableview or uicollectionview
- add placeholder screens to custom uiviews
When to choose
- building an iOS or tvOS app in Swift that needs loading/empty/error placeholder views
- you want a lightweight protocol-based approach instead of a full UI framework
When to avoid
- building for Android or cross-platform frameworks
- using SwiftUI rather than UIKit
- you need actively maintained dependencies - last release was 2020
Facets
library · maturity maintenance
ui-components state-management mobile-development frontend uikit view-controller placeholder-views loading-states swift ios mobile
1 source
- readme: https://github.com/aschuch/StatefulViewController · fetched 2026-08-28 · a7d10b7232c2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aschuch/StatefulViewController | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="aschuch/StatefulViewController")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem