Skip to content

Commit

Permalink
add update.
Browse files Browse the repository at this point in the history
  • Loading branch information
qfish committed Dec 3, 2013
1 parent aa30c3f commit b673035
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,33 @@ there are some example format patterns below, of course, you can make your own.
### 3. Align By Property Group
![Equal](http://github.so/XAlign/images/property.gif)

## Install
## Install & Update

1. Terminally

```
$ curl github.so/XAlign/build/install.sh | sh
```
```sh
# install
$ curl github.so/XAlign/build/install.sh | sh

or

# update
$ curl github.so/XAlign/build/install.sh | sh
```

2. Manually

1. Download this package [XAlign.tar.gz](http://github.so/XAlign/build/XAlign.tar.gz)
2. then unpackage it, copy or move the `XAlign.xcplugin` to follow path:
```
```sh
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
```
tips: Quick go in finder `cmd+shift+g`; if there's no dir `Plug-ins`, you should make one.
3. then restart your Xcode.
## Uninstall
```
```sh
$ curl github.so/XAlign/build/uninstall.sh | sh
```
Expand All @@ -45,10 +52,12 @@ $ curl github.so/XAlign/build/uninstall.sh | sh
Xcode -> Edit -> XAlign
```
### Auto Align Shortcut
### Auto Align Shortcut (default)
```sh
shfit + cmd + x
```
You can setting in the setting panel, `Xcode -> Edit -> XAlign -> Setting`.
### Trouble-Shooting
Expand Down

0 comments on commit b673035

Please sign in to comment.