VGTech is a blog where the developers and devops of Norways most visited website share code and tricks of the trade… Read more



Are you brilliant? We're hiring. Read more

Xcode Plugins

iOS

If you haven’t done so already it’s time to check out some Xcode plugins. How about managing cocoapods from inside Xcode or getting a Todo-list window generated from your code comments? Clang-formatting your code, install new colorthemes or getting a minimap-view like in Sublime text?
It’s easy to get started – find a plugin on github and clone it to ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins. If it’s your first time you’ll need to create the Plug-ins folder first though. Open terminal and enter:

Show code
 
mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins;

There’s a decent list of plugins at maniacDev

One plugin to rule them all

Even though it’s easy to download and install plugins yourself, there is an even better way: Enter the Alcatraz package manager

Alcatraz Package Manager view

Just click on the ones you want and restart Xcode and you’re done! Install this gem by entering the following line in Terminal (but remember to create the plugins folder first):

Show code
 
curl -L http://git.io/lOQWeA | tar xvz -C ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins

(Alcatraz requires Xcode Command Line Tools, which can be installed in Xcode via Preferences > Downloads)

Restart Xcode and have a look in the Window menu:
How to start the Alcatraz Package Manager

What’s your favorite plugins? Please share in the comments.
Happy Xcode hacking!

(The images in this post was shamelessly stolen from the Alcatraz github page)

iOS Developer at VG Mobil


0 comments

    Leave your comment