Xformat makes it easy to format C, C++, Objective-C, and Objective-C++ code using common style guides such as LLVM, Mozilla, and WebKit. You can also define your own styles directly in the app and see a preview as you go.
When you're ready, you can use Xformat's Batch Format tool to quickly re-format an entire directory of source files, or use the included Xcode extension to do so directly from Xcode.
Xformat is powered by the open source clang project and clang-format tool, so it has a deep understanding of your code. This makes the re-formatting process very robust. Xformat can also import and export clang-format configuration files.
Note: Xformat currently does not support re-formatting Swift source files.
点击按钮跳转至开发者官方下载地址...