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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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

2 days ago