Skip to content

Locale-aware Foundation FormatStyle and ParseableFormatStyle for numbers, currencies, dates, durations, measurements, and more.

CCM score
73 of 100
skills.sh installs
3K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers display and parsing of numbers, currencies, percentages, dates, durations, measurements, names, lists, byte counts, and URLs
  • Includes a quick-reference table mapping each value type to its default style and key constraints, plus a references file of recipes
  • Enforces ISO 4217 currency codes, exact Decimal handling, and inherited user locale unless a protocol fixes one
  • Designed for iOS developers replacing legacy Formatter subclasses or using SwiftUI Text(_:format:) across locales

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-formatstyle -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Swift FormatStyle

Use Foundation's type-safe FormatStyle APIs for user-facing display and ParseableFormatStyle when the same convention must accept input. Route String Catalogs, plurals, localized copy, bundles, and RTL layout to ios-localization; formatting still requires locale review even when no text is translated.

Contents

Workflow

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, Go
First seen
Jun 3, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Swift Formatstyle

More Mobile Apps