x-swiftformat
« Back to VersTracker
Description:
Xcode extension to format Swift code
Type: Cask  |  Latest Version: 2.1@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: swift xcode formatting developer-tools ios-development
Install: brew install --cask x-swiftformat
About:
X-SwiftFormat is an Xcode extension that provides on-the-fly Swift code formatting directly within the IDE. It leverages Apple's native SourceKit for parsing, ensuring that formatting adheres to Swift syntax rules without external dependencies. This tool helps developers maintain consistent code style and improve readability, saving time on manual formatting tasks.
Key Features:
  • Real-time formatting via Xcode extension
  • Native SourceKit integration for accuracy
  • Customizable formatting rules
  • Support for Swift Package Manager projects
Use Cases:
  • Standardizing code style across a team
  • Quickly cleaning up code copied from external sources
  • Enforcing formatting rules during code reviews
Alternatives:
  • SwiftLint – Focuses on linting and style enforcement rather than direct formatting
  • Prettier (with Swift plugin) – Requires external setup and Node.js environment
Version History
Detected Version Rev Change Commit
Aug 1, 2025 9:10pm 2.1 0 VERSION_BUMP 5ce00dd4