Category Archives: Programming
APLevelDB: An Objective-C Wrapper for LevelDB
TL;DR: I made an Objective-C wrapper for LevelDB, called APLevelDB. I’ve been enjoying tinkering with Redis lately, which has left me wanting something similar for Mac and iOS projects. Tokyo Cabinet seems to be the big name in speedy key-value … Continue reading
A Raindrop for Acorn
CloudApp is one of my favorite tools for sharing images quickly, and I also use Acorn quite a bit for quick image editing tasks. I’ve been wanting a quick way to upload a snapshot of what I’ve got in Acorn … Continue reading
All Too Familiar
There was a post on The Guardian’s Technology Blog by Matthew Baxter-Reynolds last week. The piece couches itself as an overview of mobile platforms for the developer looking to get his or her feet wet. Turning its attention to iOS, … Continue reading
Acorn + AppleScript: Adding a White Background
Say you have a lot of transparent images that you need to add a white background to. Flying Meat’s Acorn has some nice scripting bindings that are up to the task. Not being a huge fan of AppleScript, I started … Continue reading
From Blender to iPhone
My first iPhone game, Shufflepuck, was written in the dark ages — before the iPhone SDK was even available — and I modeled the 3D world using the tools I had: basic geometry equations applied to generate all of the … Continue reading
Inheritance and Xcode Data Formatters
If you’re using data structures in your Xcode project and you’ve had to do any level of debugging, perhaps you’ve experimented with setting up Xcode Data Formatters. Data formatters determine what appears in the summary column of the debugger’s data … Continue reading
Fun with Blocks (in Objective-C)
I’ve been working on a Mac application recently that’s 10.6-targeted, which has afforded me a multitude of opportunities to use blocks (Apple’s C language extension introduced in Mac OS X 10.6) to get some tricky features written with a level … Continue reading
NSBackgroundStyleRaised Rx
I was having quite a bit of trouble getting NSBackgroundStyleRaised to work on my NSView subclass’s label, creating the NSTextField programmatically. I tried fiddling with the background color, I tried disabling my drawRect:. Really hard. The strange thing was that … Continue reading
Introduction to pyprocgame
Gerry Stellenberg’s P-ROC became available today and I thought this would be a good time to write about the open source software that’s written to work with it. First, though, I want to talk about what P-ROC is and what … Continue reading
Editing a UITableView: The Animated Insert Row
This post originally appeared on my Incomplete Labs blog on September 2nd, 2009. An iPhone app I’m working on has your traditional table view with an edit button in the upper right. I wanted an “Add New Item” row to … Continue reading