awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
optonaut avatar

optonaut/ActiveLabel.swift

0
View on GitHub↗
4,610 stars·680 forks·Swift·MIT·13 views

ActiveLabel.swift

ActiveLabel.swift is a rich text parsing library and interactive text label for iOS. It functions as a replacement for standard labels, identifying specific text patterns within strings and applying distinct visual styles to recognized entities.

The project enables the detection and highlighting of hashtags, mentions, and URLs using a custom regular expression text recognizer. It allows for the definition of project-specific text patterns and uses predicate-based filtering to determine if detected entities should be highlighted or ignored.

The system manages user interaction through entity tap handling, which triggers callback functions when users interact with recognized elements. It also includes utilities for URL management, such as truncating long web addresses to maintain layout consistency.

Features

  • Text Highlighting Components - Implements a specialized UI component for identifying and styling social patterns and web addresses in mobile interfaces.
  • Regex Pattern Matching - Identifies hashtags, mentions, and URLs by matching text strings against a collection of regular expression patterns.
  • UI Element Callbacks - Executes predefined closure functions when users tap recognized interactive entities within the text.
  • Entity Visualizations - Visually highlights identified semantic entities like hashtags and links within text for user interaction.
  • Attributed Text Interaction - Enables specific actions, such as opening links, when users tap attributed text entities within a flow.
  • Regex Text Recognizers - Provides a system for defining regular expression patterns to identify and style project-specific text elements.
  • Rich Text Rendering - Identifies specific text patterns within strings and applies distinct visual styles to the recognized entities.
  • Text Attribute Styling Systems - Implements a system for mapping detected text entities to native attributed string styles for visual differentiation.
  • Text Highlighting Utilities - Provides logic for identifying and styling specific patterns of text within a Swift user interface.
  • Text Labels - Provides an enhanced label component that detects and highlights hashtags, mentions, and URLs using regular expressions.
  • Entity Callback Handlers - Provides a mechanism to execute predefined callback functions when users interact with recognized hashtags, mentions, URLs, or emails.
  • Custom Entity Recognizers - Provides custom rules to evaluate whether recognized hashtags and mentions should be highlighted.
  • Data Detection Patterns - Automatically identifies social patterns like hashtags and mentions in strings to enable distinct styling.
  • Predicate-Based Filtering - Uses boolean logic predicates to determine whether detected text entities should be highlighted or ignored.
  • Interactive Link Highlighting - Recognizes web addresses in text and marks them as interactive elements through visual highlighting.
  • UIKit Component Subclassing - Extends the standard UILabel to integrate custom parsing and interaction logic while preserving layout constraints.
  • Entity Pattern Definitions - Allows the definition of project-specific text patterns using custom regular expressions for entity recognition.
  • Social Media Text Styling - Styles mentions and hashtags within Swift text labels to make them visually distinct and interactive.
  • Labels - Label supporting hashtags, mentions, and URLs.
  • Text Display Components - Supports hashtags, mentions, and URLs within standard labels.
  • Text Labels - Label replacement with support for interactive hashtags.
  • UI Components - Label replacement supporting hashtags, mentions, and URLs.

Star history

Star history chart for optonaut/activelabel.swiftStar history chart for optonaut/activelabel.swift

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with ActiveLabel.swift

These projects share indexed features with ActiveLabel.swift. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • suzuki-0000/countdownlabelsuzuki-0000 avatar

    suzuki-0000/CountdownLabel

    1,015View on GitHub↗

    Simple countdown UILabel with morphing animation, and some useful function.

    Swift
    View on GitHub↗1,015
  • kciter/glitchlabelkciter avatar

    kciter/GlitchLabel

    1,051View on GitHub↗

    G..lit...c...hing UILa..bel fo..r iO...S :tv:

    Swiftswiftui-components
    View on GitHub↗1,051
  • lexrus/ltmorphinglabellexrus avatar

    lexrus/LTMorphingLabel

    8,144View on GitHub↗

    LTMorphingLabel is a Swift UI component and animation framework designed to create visual morphing transitions between text strings within labels. It functions as a text morphing library that replaces static text updates with dynamic visual effects. The framework utilizes shaders and animations to blend one text string into another using effects such as scaling, pixelation, or burning. It achieves these transitions by coordinating high-level animation timing with low-level graphics rendering. The project covers a range of capabilities including temporal image blending and snapshot-based stat

    Swift
    View on GitHub↗8,144
  • ankurp/dollarankurp avatar

    ankurp/Dollar

    4,240View on GitHub↗

    Dollar is a functional programming library for Swift that provides a comprehensive toolkit for collection manipulation, string processing, mathematical calculations, and date and time management. It serves as a utility suite for filtering, aggregating, and restructuring arrays and dictionaries. The project implements functional programming patterns such as currying, memoization, and function composition. It also features a chainable wrapper interface that allows multiple data transformations to be applied sequentially before extracting a final result. The library covers a wide range of capab

    Swift
    View on GitHub↗4,240
Compare all 30 related projects→

Frequently asked questions

What does optonaut/activelabel.swift do?

ActiveLabel.swift is a rich text parsing library and interactive text label for iOS. It functions as a replacement for standard labels, identifying specific text patterns within strings and applying distinct visual styles to recognized entities.

What are the main features of optonaut/activelabel.swift?

The main features of optonaut/activelabel.swift are: Text Highlighting Components, Regex Pattern Matching, UI Element Callbacks, Entity Visualizations, Attributed Text Interaction, Regex Text Recognizers, Rich Text Rendering, Text Attribute Styling Systems.

Which projects share features with optonaut/activelabel.swift?

Projects with overlapping indexed features include: kciter/glitchlabel — G..lit...c...hing UILa..bel fo..r iO...S :tv:. lexrus/ltmorphinglabel — LTMorphingLabel is a Swift UI component and animation framework designed to create visual morphing transitions between… suzuki-0000/countdownlabel — Simple countdown UILabel with morphing animation, and some useful function. ankurp/dollar — Dollar is a functional programming library for Swift that provides a comprehensive toolkit for collection… mantinedev/mantine — Mantine is a comprehensive component library for building accessible and responsive web applications. It provides a… tttattributedlabel/tttattributedlabel — TTTAttributedLabel is a rich text label for iOS applications that serves as an extension to UIKit typography. It…