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
Categories
LibrariesLicense
MIT LicenseFollow SwiftRichString
Other Useful Business Software
Build Agents and Models on One Platform
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SwiftRichString!