optonaut/ActiveLabel.swift
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4017
- days_rel: n/a
- days_push: 1041
- n_releases_24m: 0
Adoption not part of the score
4603 stars · 676 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ActiveLabel is a Swift UILabel drop-in replacement that detects and makes interactive Hashtags, Mentions, URLs, Emails, and custom regex patterns. It is lightweight, customizable, and distributed via CocoaPods and Carthage for iOS apps.
Use cases
- make hashtags and mentions tappable in an iOS label
- detect and highlight URLs in UILabel text
- add custom regex-based tappable text patterns in Swift
- build a Twitter-like social feed UI on iOS
- handle tap events on links inside a label
When to choose
- you need a UILabel replacement with interactive hashtags, mentions, links, or emails on iOS
- you want lightweight, well-tested link detection with custom regex support
- you want tap handlers for specific text elements in a label
When to avoid
- you need rich attributed text editing rather than a read-only label
- your project targets platforms other than iOS or uses Objective-C only
- you need a full text view with link previews or long-press menus
Facets
library · maturity maintenance
ui-components parser mobile-development frontend social-media uilabel hashtags mentions url-detection drop-in-replacement cocoapods carthage ios swift mobile
1 source
- readme: https://github.com/optonaut/ActiveLabel.swift · fetched 2026-08-28 · 6b2e00583d76
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| optonaut/ActiveLabel.swift | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="optonaut/ActiveLabel.swift")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem