Building an Universal Framework
Fork me on GitHub

These days I had to convert the core of an iOS app to a framework that could be shared between projects. It was fairly simple considering the “new” framework products available in Xcode. I managed to build it with the desired public headers, copied it from the “Products” folder to the new project and everything flowed smoothly.

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.