Posts tagged with: ‘xcode’
Posted by Patrick on Wednesday, October 05, 2011Wed, Oct 05, 2011
xcode
icons
Typically, I have at least two versions of Xcode installed. Occasionally more. Keeping track of which one is running can be difficult, so I grabbed this lovely icon by Artua and put a ribbon on it with a label. It helps keep me sane. In the package available below, I've included the Illustrator CS3 file (so you can make your own), ICNS and PNG versions. Download Xcode Versions Icon Pack …
Posted by Patrick on Wednesday, August 24, 2011Wed, Aug 24, 2011
tools
shaderize
xcode
I don't like writing boilerplate code. A while back, I started dragging my game engine kicking and screaming into the world of OpenGL ES 2. The good news is this lets me write shaders. The bad news is I need to write boilerplate code every time I write a shader — you know the kind — scaffolding code to load the shader, code to bind the attributes and uniforms and provide some sort of constant, enu…
Posted by Patrick on Thursday, August 18, 2011Thu, Aug 18, 2011
tips
xcode
In the process of going through my game engine and refactoring a few things, I noticed a bunch of TODO: reminders that I had apparently dropped in months ago and promptly forgot about. Out of sight, out of mind. After a quick search, I found this very helpful post by Jake Marsh for turning them (and other markers) into Xcode warnings at build time. I refactored his snippet slightly and ended up w…
Posted by Patrick on Wednesday, March 09, 2011Wed, Mar 09, 2011
templates
xcode
In case this is driving you up the wall: The new Xcode 4 template locations are: /Developer/Library/Xcode/Templates/... ~/Library/Developer/Xcode/Templates/... Additionally, Xcode 4 changed the File Templates to use a triple-underscore instead of guillemets. The following tags can be used in File Templates.]1] ___DATE___ Current date (using NSCalendarDate format “%x”). ___DIRECTORY___ Full p…