xcodeclangformat

Install command:
brew install --cask xcodeclangformat

Name: XcodeClangFormat

Format code in Xcode with clang-format

https://github.com/mapbox/XcodeClangFormat

Cask JSON API: /api/cask/xcodeclangformat.json

Cask code: xcodeclangformat.rb on GitHub

Current version: 1.2.1

Current version requires: macOS >= 10.11

xcodeclangformat is built for Intel macOS and so requires Rosetta 2 to be installed.
You can install Rosetta 2 with:
    softwareupdate --install-rosetta --agree-to-license
Note that it is very difficult to remove Rosetta 2 once it is installed.

Analytics:

Installs (30 days)
xcodeclangformat 19
Installs (90 days)
xcodeclangformat 79
Installs (365 days)
xcodeclangformat 425
Fork me on GitHub