# AliSoftware/Reusable

A Swift mixin for reusing views easily and in a type-safe way (UITableViewCells, UICollectionViewCells, custom UIViews, ViewControllers, Storyboards…)

Repository: https://github.com/AliSoftware/Reusable
Canonical: https://ross.abutalabs.com/products/reusable
Language: Swift
License: MIT
License Family: permissive
Last push: 2023-09-11T13:52:18+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3879, "days_push": 1087, "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 2978, forks 232 (observed 2026-08-28T04:07:33.043359+00:00)

## What it is
A Swift protocol mixin (library) that enables type-safe reuse of UITableViewCells, UICollectionViewCells, UIViewControllers, and custom UIViews without string-based reuse identifiers. It also supports loading arbitrary views from XIB files with a simple loadFromNib() call.

## Use cases
- dequeue table view cells without string reuse identifiers
- register and reuse collection view cells in a type-safe way
- load a UIView from a XIB file with one line of code
- instantiate view controllers from storyboards type-safely
- eliminate force-unwrapped casts when dequeuing cells

## When to choose
- you build UIKit apps in Swift and want to remove stringly-typed reuse identifier boilerplate
- you want compile-time safety for cell and view controller reuse
- you frequently load views from XIBs and want a concise API

## When to avoid
- you use SwiftUI exclusively rather than UIKit
- you prefer a larger view-layer framework with broader UI tooling
- the project is no longer receiving frequent updates and you need actively developed dependencies

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, developer-tools
- domain: mobile-development, frontend
- platform: -
- tags: uitableview, uicollectionview, storyboard, xib, type-safe, cocoapods, swift-package-manager, ios, swift, mobile

## Member repositories
- AliSoftware/Reusable (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:33.043359+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-30T07:31:31.679124+00:00, confidence not recorded.
  - readme: https://github.com/AliSoftware/Reusable (fetched 2026-08-28T04:07:33.043359+00:00, sha c9df20296c9a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
