# dzenbot/DZNSegmentedControl

A drop-in replacement for UISegmentedControl for showing counts, to be used typically on a user profile

Repository: https://github.com/dzenbot/DZNSegmentedControl
Canonical: https://ross.abutalabs.com/products/dznsegmentedcontrol
Homepage: https://www.cocoacontrols.com/controls/dznsegmentedcontrol
Language: Objective-C
License: MIT
License Family: permissive
Archived: true
Last push: 2017-11-14T01:34:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4558, "days_push": 3215, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1566, forks 176 (observed 2026-08-28T04:05:04.297028+00:00)

## What it is
A drop-in Objective-C replacement for UISegmentedControl on iOS that displays counts, titles, and images with an animated selection indicator. It supports UIAppearance, UIBarPositioning, and scroll offset binding via a UIScrollView extension.

## Use cases
- show tweet/follower counts on a user profile screen
- replace UISegmentedControl with a customizable animated control
- display per-segment counts in a segmented tab bar
- bind segmented control selection to scroll view offsets
- style segmented controls with tint colors and custom fonts

## When to choose
- building an iOS app in Objective-C or Swift needing a count-displaying segmented control
- you want UIAppearance support and animated selection indicators out of the box

## When to avoid
- starting a new project needing actively maintained dependencies
- targeting SwiftUI or modern UIKit patterns
- you need cross-platform UI components

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, animation
- domain: mobile-development, frontend
- platform: -
- tags: objective-c, uikit, segmented-control, cocoapods, carthage, ios, mobile

## Member repositories
- dzenbot/DZNSegmentedControl (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:04.297028+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-30T04:00:09.070205+00:00, confidence not recorded.
  - readme: https://github.com/dzenbot/DZNSegmentedControl (fetched 2026-08-28T04:05:04.297028+00:00, sha 68bcf0cb21b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
