Xcode插件

古人有云:工欲善其事,必先利其器;

整理一下自己常用的几个插件,以后会不断更新;要使用插件就不得不说包管理工具:Alcatraz

Alcatraz is an open-source package manager for Xcode 5+. It lets you discover and install plugins, templates and color schemes without the need for manually cloning or copying files. It installs itself as a part of Xcode and it feels like home.

install:

1
curl -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh

unstall:

1
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin

VVDocumenter

下载地址

一个帮助你快速添加注释的插件,绝对不容错过。
通过///直接产生注释模板,通过Tab键填充即可,相当好用;完美支持OC & Swift;

效果图.gif

ESJsonFormat

下载地址

一个可以把JSON数据转画为模型属性的插件
使用方法如图:

效果图.gif

XAlign

下载地址

一个帮你自动对齐代码的插件(简直是强迫症福音啊~)
选中要对齐的代码,按下Shift+command+X,搞定~
小Tips:不要选择全部选择一次性对齐,分段对齐更完美,实在对齐不了的就不要强求了

效果图.gif

KSImageNamed

下载地址

一个自动检索出图片名的插件
效果图如下:
效果图.gif

XActivatePowerMode

下载地址

一个用来装逼的插件…写代码也可以很燃..

效果图.gif

ColorSense

下载地址

一个可以直接看到代码设置的RGBA是什么颜色的插件,很好用,墙裂推荐。

效果图.png

最后附上Xcode插件的文件路径:~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

参考文章

文章目录
  1. 1. VVDocumenter
  2. 2. ESJsonFormat
  3. 3. XAlign
  4. 4. KSImageNamed
  5. 5. XActivatePowerMode
  6. 6. ColorSense