# HamzaGhazouani/HGPlaceholders

Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project

Repository: https://github.com/HamzaGhazouani/HGPlaceholders
Canonical: https://ross.abutalabs.com/products/hgplaceholders
Language: Swift
License: MIT
License Family: permissive
Topics: placeholder, empty, loading, uitableview, uicollectionview, empty-state, state-management
Last push: 2022-01-13T09:38:55+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3330, "days_push": 1693, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2200, forks 158 (observed 2026-08-28T04:06:25.603461+00:00)

## What it is
A Swift library for iOS that displays placeholder and empty states (loading, no results, error, no connection) for UITableView and UICollectionView. It provides ready-made and customizable placeholder views via simple subclassing and one-line calls.

## Use cases
- show a loading placeholder while fetching data in a table view
- display an empty state when a collection view has no results
- show an error placeholder when an API request fails
- display a no connection placeholder when the network is offline
- customize placeholder views for table and collection views in iOS apps

## When to choose
- you are building an iOS app in Swift with UITableView or UICollectionView and need empty/loading/error states
- you want a drop-in CocoaPods or Carthage dependency with minimal setup
- you need prebuilt, customizable placeholder screens without writing them from scratch

## When to avoid
- you are not developing for iOS or not using UIKit table/collection views
- you use SwiftUI exclusively
- you need a heavily maintained library with recent updates and modern Swift features

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, state-management
- domain: mobile-development, frontend
- platform: -
- tags: uitableview, uicollectionview, empty-state, placeholder-views, cocoapods, carthage, ios, swift, mobile

## Member repositories
- HamzaGhazouani/HGPlaceholders (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.603461+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-30T02:47:04.390329+00:00, confidence not recorded.
  - readme: https://github.com/HamzaGhazouani/HGPlaceholders (fetched 2026-08-28T04:06:25.603461+00:00, sha a5155e3e9eed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
