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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It 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