swiftformat-for-xcode
« Back to VersTracker
Description:
Xcode Extension for reformatting Swift code
Type: Cask  |  Latest Version: 0.59.1@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @nicklockwood  |  formulae.brew.sh
Category: Developer tools
Tags: swift xcode formatter developer-tools code-style
Install: brew install --cask swiftformat-for-xcode
About:
SwiftFormat for Xcode is an Xcode Source Editor Extension that automatically reformats Swift code according to a configurable set of rules. It helps teams maintain consistent code style without relying on external scripts or build phases. The tool integrates directly into the Xcode editor, providing instant formatting via the Editor menu or keyboard shortcuts.
Key Features:
  • Direct Xcode integration as a Source Editor Extension
  • Highly configurable rule set for custom code style
  • Supports formatting on save or manually via menu/shortcuts
  • Handles complex Swift syntax including modern features
Use Cases:
  • Enforcing consistent code style across a team
  • Automating code cleanup during development
  • Migrating legacy code to a modern style guide
Alternatives:
  • SwiftLint – Focuses on linting and style violations rather than automatic formatting
  • Prettier (with Swift plugin) – General-purpose formatter requiring external editor integration
Version History
Detected Version Rev Change Commit
Jan 30, 2026 5:06am 0.59.1 0 VERSION_BUMP dba5af68
Jan 25, 2026 7:33pm 0.59.0 0 VERSION_BUMP ce5a38be
Sep 15, 2025 1:04pm 0.57.2 0 VERSION_BUMP fb1d3b07
Jul 28, 2024 6:46pm 0.54.3 0 VERSION_BUMP 6ec449b7
Jul 22, 2024 12:06pm 0.54.2 0 VERSION_BUMP a218e063