SwiftRichString is a Swift library for creating and manipulating attributed text with a concise declarative styling system. Reusable Style objects can control fonts, colors, alignment, spacing, decorations, typography, and many other native text attributes. StyleXML enables complex XML- or HTML-like tagged strings where individual tags receive predefined formatting. Styles can also be applied through regular expressions, globally registered collections, or Interface Builder properties. The library supports Dynamic Type, text transformations, and composition of local or remote images inside attributed strings. It works across iOS, macOS, tvOS, and watchOS without external runtime dependencies.

Features

  • Declarative attributed-string styling
  • Reusable global style definitions
  • XML and HTML-style tag rendering
  • Regular-expression based formatting
  • Local and remote inline images
  • Dynamic Type and Interface Builder support

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow SwiftRichString

SwiftRichString Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SwiftRichString!

Additional Project Details

Programming Language

Swift

Related Categories

Swift Libraries

Registered

2026-08-20