Lightlines
By n0an

swift-format-style

n0an445 installs

Replace legacy value formatting in your Swift code.

What it does

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.

How to use it

It changes how the agent writes and reviews Swift value-formatting code, requiring modern FormatStyle APIs and direct edits for fixes.

What you provide

  • An existing project

Latest review

What you need · 2

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.


Access · 0

No additional actions listed.