Swimat is an Xcode plug-in to format your Swift code.
There are three way to install.
- Install via homebrew-cask
brew cask install swimat
Download the App directly.
Clone and archive to Mac App by yourself.
After installation, you should open the
Swimat.app once to make the functionality works.
In the menu open [Editor] -> [Swimat] -> [Format] or map it to a hot-key you like in Xcode's Key Binding preferences.
Bug reports and pull requests are welcome on GitHub at https://github.com/Jintin/Swimat.
The module is available as open source under the terms of the MIT License.