SwiftFormat banner

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.

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.