SwiftFormat Overview
A code library and command line tool for reformatting Swift code. SwiftFormat can be added to your project as a Build Phase or run manually from the command line. It applies a set of rules to the whitespace around the code, while leaving the meaning intact, making it great for enforcing a common coding style. It already supports a huge list of rules including spacing around parentheses, brackets and braces, line breaks around scope, semicolons, and more with additional rules planned in a future update.