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.
https://github.com/Jintin/Swimat/releases/download/v1.3.2/Swimat.zip - Clone
extension
branch and archive to Mac App.
In the menu open [Editor] -> [Swimat] -> [Format] or map it to a hot-key you like in Xcode's Key Binding preferences.
Check [System Preferences] -> [Extensions] -> [Xcode Source Editor] -> [Swimat] is checked.
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.