swift-formatstyle
OfficialFormat values with Swift FormatStyle.
Authoronymchat
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Formatting values for display is a common task that benefits from a modern, type-safe approach. This skill enables developers to present numbers, currencies, percentages, dates, durations, measurements, and more in a human-friendly way using Swift's FormatStyle protocol, ensuring locale-aware and consistent output across UI components.
Core Features & Use Cases
- Formats numbers, currencies, percentages, dates, durations, measurements, and names using concrete FormatStyle types.
- Supports composition and localization to produce consistent UI strings in SwiftUI and UIKit applications.
- Allows creating custom FormatStyle conformances for domain-specific formatting and reusable logic across an app.
Quick Start
Format a sample value using a FormatStyle to see the resulting string.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: swift-formatstyle Download link: https://github.com/onymchat/onym-ios/archive/main.zip#swift-formatstyle 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 471,000+ vetted skills library on demand.