# Swimat
[![Build Status](https://travis-ci.org/Jintin/Swimat.svg?branch=master)](https://travis-ci.org/Jintin/Swimat)
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift)

An Xcode plug-in to format your Swift code.

## Preview
![](./README/preview.gif)

## Installation
There are two ways to install:
- Clone `extension` branch and archive to Mac App.

Currently the Source Editor Extension feature in Xcode 8 is not very stable. You may find that the command is sometimes not showing up, or not available(grayed out). Please try again if you have a problem, or leave an issue to us.

## Usage
In the menu open **[Editor] -> [Swimat] -> [Format]** or add hot-key you like.

## Contributing
Bug reports and pull requests are welcome on GitHub at [https://github.com/Jintin/Swimat](https://github.com/Jintin/Swimat).

## License
The module is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

# Swimat
[![Build Status](https://travis-ci.org/Jintin/Swimat.svg?branch=master)](https://travis-ci.org/Jintin/Swimat)
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift)

An Xcode plug-in to format your Swift code.

## Preview
![](./README/preview.gif)

## Installation
Clone `extension` branch and archive to Mac App.

Currently the Source Editor Extension feature in Xcode 8 is not very stable. You may find that the command is sometimes not showing up, or not available (grayed out). Please try again or create an issue if you have a problem.

## Usage
In the menu open **[Editor] -> [Swimat] -> [Format]** or map it to a hot-key you like in Xcode's Key Binding preferences.

## Contributing
Bug reports and pull requests are welcome on GitHub at [https://github.com/Jintin/Swimat](https://github.com/Jintin/Swimat).

## License
The module is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Remove superfluous Chracter -> BlockType method
Remove superfluous Chracter -> BlockType method

Replaced with built-in BlockType initializer
