attributed-string
CommunityMaster AttributedString for rich text.
Authorgustavscirulis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers correctly use Apple's AttributedString API for creating, styling, and manipulating rich text in Swift applications, ensuring proper formatting and integration with SwiftUI.
Core Features & Use Cases
- Styled Text Creation: Generate text with custom fonts, colors, and other inline attributes.
- Paragraph Formatting: Control text alignment, line height, and writing direction.
- Text Editing & Selection: Programmatically manage text selections and perform replacements.
- SwiftUI Integration: Seamlessly use
AttributedStringwithinTextandTextEditorviews. - Use Case: A developer needs to display a document with different sections styled with specific fonts, colors, and paragraph spacing, and also needs to implement a rich text editor in SwiftUI.
Quick Start
Use the attributed-string skill to create a bold, red AttributedString with the text "Important Notice".
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: attributed-string Download link: https://github.com/gustavscirulis/snapgrid/archive/main.zip#attributed-string Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.