August 2010
3 posts
Michael Casteel is my new hero! Got mom a 13” MBP a while ago to replace a Performa, but she missed Klondike and none of the other osx card games I had found were as good. Turns out Casteel ported his original Klondike to OS X! It’s originally a game for the Plus, I hadn’t even considered that he still worked on it.
Aug 21st
Andrey Subbotin: iPhone 4 @2x assets made easy →
We were updating our app’s graphics for the gorgeous screen of iPhone 4 the other day and it was a pain to update all the 163 PNG files we had and not to miss a thing. So, I’ve come up with a simple Ruby script that checks that for each @1x image you have a properly sized @2x image. Man, such a life saver. sudo gem install ios-png-check is the path to bliss.
Aug 11th
32 notes
7 tags
One-line closures in ObjC without blocks; or,...
Objective-C is wonderfully dynamic. One of my favorite wonders is the invocation grabber. I never paid them much attention at first, only using them when I explicitly needed an NSInvocation for some API. Then, I started working at Spotify and found a certain header file; suddenly, I saw the light. If you know what that an invocation grabber is, you can just skip down to the code. For...
Aug 6th
30 notes