Back From The Dead
Fork me on GitHub

Finally! After long overdue, this lovely little blog has been updated. And upgraded. From one press to another. So long Wordpress, hello Octopress! And we’re now hosted on Github. So, if I ever get lucky and have a truly successful post, there’s no need to worry with the blog being down.

You Shouldn't Use Git Blame to Blame on People

Have you ever used git-blame to blame on people? I have and I was wrong more often than I was right. When I wasn’t the one blaming others, the fingers almost always pointed at me when something went wrong. The problem with “default” git-blame and Xcode’s blame view is that it only shows the last person that committed the lines in question and, not necessarily, wrote them.

This is when a CGFloat may be a double

How would you explain the following code never getting into the if clause? Bear in mind I already knew it to be true at least once. I was an absolute true.

for (UIView *subview in view.subviews)
    CGFloat subviewAlpha = subview.alpha;
    CGFloat myAlpha = 0.15f;
    if (subviewAlpha == myAlpha &&
        [subview isKindOfClass:NSClassFromString(@"_UIPopoverViewBackgroundComponentView")])
        subview.alpha = 0.f;
Memoirs of a WWDC Rookie

This year I went to Apple’s WWDC for the first time. I got the chance to be where every iOS developer wanted to be. The place where stuff happened. The place with the best among all. The place that mattered.

Swift for Dummies

At WWDC 14, Apple introduced its new programming language: Swift. Nobody knows for sure what will happen to Objective-C, but one can only guess it won’t be around for long. My guess is that Apple will be accepting ObjC apps up till iOS 10, but that is just my guest.