1.安裝Alcatraz:
mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins;
(1)xcode7.x之前
curl -L http://git.io/lOQWeA | tar xvz -C ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins
(2)xcode7.x
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
(3) xcode8.x 之后 (參閱 Xcode 8.x 安裝Alcatra xcode插件)[http://www.reibang.com/p/8f69b809dad0]
2.安裝過程
屏幕快照 2016-01-07 上午10.33.44.png
3.安裝完成后需重啟xcode,就可以在Xcode的頂部菜單中找到Alcatraz津肛,如下所示:
屏幕快照 2016-01-07 上午10.23.40.png
4.Alcatraz打開下圖所示
屏幕快照 2016-01-07 上午10.27.52.png
5.刪除Alcatraz
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
rm -rf ~/Library/Application\ Support/Alcatraz
6.各種xcode常用插件
(1) KSImageNamed,提供了圖像名稱填寫的自動(dòng)化.
27224954_UCAt.gif
(2) XAlign,RegX代碼整理工具,代碼對(duì)齊.
(3) XToDo,項(xiàng)目中的 TODO弃锐、FIXME等注釋列出來.
18091757_I6IP.png
(4)Auto-Importer 自動(dòng)導(dǎo)入頭文件 git倉庫 安裝完:control+cmd+h, 然后輸入
demo.gif
(5) IconMaker 自動(dòng)生成各種尺寸AppIcon
IconMaker.png
(6) JSPatchX JSPatch Xcode 代碼自動(dòng)補(bǔ)全插件
JSPatchX.gif