# HeshamMegid/HMSegmentedControl

A highly customizable drop-in replacement for UISegmentedControl.

Repository: https://github.com/HeshamMegid/HMSegmentedControl
Canonical: https://ross.abutalabs.com/products/hmsegmentedcontrol
Language: Objective-C
License: NOASSERTION
License Family: other
Topics: ios, objective-c, hmsegmentedcontrol
Last push: 2024-03-26T02:26:56+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4999, "days_push": 891, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4078, forks 819 (observed 2026-08-28T04:08:34.384420+00:00)

## What it is
HMSegmentedControl is a highly customizable drop-in replacement for UISegmentedControl on iOS, written in Objective-C and usable from Swift. It supports text and image segments, multiple selection styles, horizontal scrolling, and advanced title styling.

## Use cases
- replace uisegmentedcontrol with a customizable segmented control in ios
- create a scrolling segmented control with many segments in swift
- style segmented control fonts colors and selection indicator on ios
- add image-based segmented control to an ios app
- use a segmented control compatible with both swift and objective-c

## When to choose
- you need a UIKit segmented control with custom selection indicators, fonts, or scrolling segments
- your project mixes Swift and Objective-C and needs a drop-in UISegmentedControl replacement
- you want a battle-tested component used in thousands of production iOS apps

## When to avoid
- you are building with SwiftUI and want a native declarative picker
- you need cross-platform (Android or web) segmented controls
- you require a license with clear terms, since the repository license is non-standard

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

## Member repositories
- HeshamMegid/HMSegmentedControl (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.384420+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-29T18:23:26.493322+00:00, confidence not recorded.
  - readme: https://github.com/HeshamMegid/HMSegmentedControl (fetched 2026-08-28T04:08:34.384420+00:00, sha c148891449f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
