# TTTAttributedLabel/TTTAttributedLabel

A drop-in replacement for UILabel that supports attributes, data detectors, links, and more

Repository: https://github.com/TTTAttributedLabel/TTTAttributedLabel
Canonical: https://ross.abutalabs.com/products/tttattributedlabel
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2024-06-24T02:50:08+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": 5598, "days_push": 800, "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 8711, forks 1691 (observed 2026-08-28T04:10:24.371609+00:00)

## What it is
TTTAttributedLabel is an Objective-C drop-in replacement for UILabel that renders attributed strings with support for embedded links and automatic data detection. It adds advanced text styling options like custom truncation tokens, line spacing controls, and VoiceOver-accessible link interactions.

## Use cases
- render attributed text in an iOS label
- make tappable links inside a UILabel
- auto-detect URLs, phone numbers, and dates in label text
- customize line spacing and truncation token in a label
- add long-press handling for links in text
- support VoiceOver for links in a label

## When to choose
- you need rich text styling or embedded links beyond what UILabel offers on iOS 8+
- you want automatic data detection with custom link styling and accessibility

## When to avoid
- you only need basic attributed text available natively since iOS 6
- you are building with SwiftUI and Text-based APIs instead of UIKit

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, parser
- domain: mobile-development, frontend
- platform: cpp
- tags: uikit, objective-c, uilabel, attributed-string, cocoapods, text-rendering, data-detectors, ios, swift

## Member repositories
- TTTAttributedLabel/TTTAttributedLabel (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:24.371609+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-29T17:25:21.837654+00:00, confidence not recorded.
  - readme: https://github.com/TTTAttributedLabel/TTTAttributedLabel (fetched 2026-08-28T04:10:24.371609+00:00, sha 481ddcb2c203)
- Data as of 2026-08-30T08:39:29.467469+00:00.
