Replace legacy value formatting in your Swift code.
Writes and reviews Swift display-formatting code to replace legacy formatters with modern, locale-aware APIs.
When to use it
Use when writing or reviewing formatting for numbers, dates, durations, measurements, lists, names, byte counts, or URLs.
It changes how the agent writes and reviews Swift value-formatting code, requiring modern FormatStyle APIs and direct edits for fixes.
What you provide
For an iOS deployment target, basic FormatStyle requires iOS 15+; duration and URL styles require iOS 16+. macOS is an alternative target.
For a macOS deployment target, basic FormatStyle requires macOS 12+; duration and URL styles require macOS 13+. iOS is an alternative target.
No additional actions listed.