Posted by Jaime | Posted in Coding | Posted on 18-03-2015
I use Perforce as my version control system and Xcode as my IDE.
Unfortunately, Apple removed Perforce support from Xcode a whiles back for reasons unknown.
So, to work around the problem, I started to use of DTerm… but I wanted more.
I created AppleScripts for both Xcode4 and Xcode5 which was better, but… I wanted more.
So, I took the plung and wrote a plugin for Xcode using Swift.
The plugin is hosted on Perforce’s Swarm website, which you can download and build in Xcode. Once you build the project, the plugin is automatically installed for you.
Pay attention to the README.md file: you will need set up files that contain the settings for your workspace, or workspaces, and those settings file are used by the plugin to do it’s work.
A big thanks to Delisa Mason for writing a Xcode plugin template. This template was a huge help in creating the plugin and the template available in the Alcatraz package manager as well as in GitHub: https://github.com/kattrali/Xcode-Plugin-Template
If you don’t know what Alcatraz is, you should check out at http://alcatraz.io
Posted by Jaime | Posted in Coding, Tools | Posted on 25-09-2014
I learned about a package manager for Xcode named Alcatraz when I attended CocoaConf in San Jose earlier this year.
Extending the functionality of Xcode through plugins has been something I’ve been looking into for a while and the only plugins I knew about in the wild could only be found through Google searches or on NSHipster.com
The tool makes it much easier to find plugins for Xcode. Buuuut, it actually also serves up themes, templates and more, all from a menu available within Xcode.
Installation is also simple. Type in a single Terminal command and hooorah, it’s installed:
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
Oh, and if you are looking to attend an Apple developer conference, you should definitely consider CocoaConf: the attendee group is primarily developers, attendees and speakers are easy to approach and exchange ideas with, and as they had advertised on CocoaConf’s site, the food is good.