Skip to content

Jintin/Swimat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7104ba2 · Nov 18, 2022
May 2, 2020
Sep 23, 2017
Nov 22, 2020
May 28, 2020
Nov 22, 2016
Nov 22, 2020
Nov 18, 2022
May 28, 2020
Sep 29, 2017
Nov 15, 2015
Nov 21, 2019
Oct 13, 2017
Nov 22, 2016
May 8, 2021
Sep 11, 2020

Repository files navigation

Swimat

Build Status Codacy Badge Awesome

github homebrew-cask

Swimat is an Xcode plug-in to format your Swift code.

Preview

Installation

There are three way to install.

  1. Install via homebrew-cask
# Homebrew previous version
brew cask install swimat
# Homebrew latest version
brew install --cask swimat
  1. Download the App directly.
    https://github.com/Jintin/Swimat/releases/download/1.7.0/Swimat.zip

  2. Clone and archive to Mac App by yourself.

Usage

After installation, you should open the Swimat.app once to make the functionality works.

In the Xcode menu click [Editor] -> [Swimat] -> [Format] then the current active file will reformat.

You can also create a hot-key in [Xcode] -> [Preferences..] -> [Key Bindings], if you don't have any prefernce you can set as + + L.

TroubleShooting

Check [System Preferences] -> [Extensions] -> [Xcode Source Editor] -> [Swimat] is checked.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Jintin/Swimat.

License

The module is available as open source under the terms of the MIT License.