# joshaber/Few.swift

Views as functions of their state.

Repository: https://github.com/joshaber/Few.swift
Canonical: https://ross.abutalabs.com/products/fewswift
Language: Swift
License: MIT
License Family: permissive
Last push: 2017-01-23T09:26:14+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": 4415, "days_push": 3509, "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 1074, forks 39 (observed 2026-08-28T04:03:29.051406+00:00)

## What it is
Few.swift is a React-inspired Swift library for building AppKit and UIKit UIs as stateless functions of their state. When state changes, it re-renders the UI and intelligently applies only the necessary view updates.

## Use cases
- build declarative macOS AppKit UIs from state
- build declarative iOS UIKit interfaces as functions of state
- avoid mutable stateful view code in Swift apps
- implement React-style unidirectional data flow in native apps
- render UIs automatically when app state changes

## When to choose
- you want React-style declarative UI in Swift on AppKit or UIKit
- you prefer immutable state-driven rendering over imperative view mutation
- you are maintaining an older Swift codebase compatible with Carthage

## When to avoid
- starting a new project, since the library is unmaintained since 2017
- you need SwiftUI or modern declarative UI support
- you need active community support or recent iOS/macOS compatibility guarantees

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, state-management, frontend-framework
- domain: frontend, web-development, developer-tools
- platform: -
- tags: react-inspired, appkit, uikit, unidirectional-data-flow, declarative-ui, carthage, macos, ios, swift

## Member repositories
- joshaber/Few.swift (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.051406+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-30T06:53:31.941903+00:00, confidence not recorded.
  - readme: https://github.com/joshaber/Few.swift (fetched 2026-08-28T04:03:29.051406+00:00, sha 11969880ce59)
- Data as of 2026-08-30T08:39:29.467469+00:00.
