Tag Archives: code

Afternoon Apps: Captionator

A couple weeks ago, a friend of mine showed me the app I’d Cap That. After making some hilarious pictures, and after a few drinks, I made the claim that I could probably clone the app in a couple of … Continue reading

Posted in Afternoon Apps | Tagged , , , | Leave a comment

Afternoon Apps: Descrumbled

At events like Startup Weekend, you try to build an idea in a weekend. I wanted to see if I could do something even faster. So I bring you Afternoon Apps, where I build an app in a single afternoon. … Continue reading

Posted in Afternoon Apps | Tagged , , , | 7 Comments

Building a static library that works on the iPhone and the simulator

Apple’s iPhone simulator runs really smooth and fast. This is because they aren’t emulating the ARM code on your Mac, they’re actually building x86 binaries that will run in the simulator. Because of this, code written for the iPhone needs … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

How to change the color of UIBarButtonItem on iOS 5

My most popular blog post is how to change the color of a UIBarButtonItem. It’s something that lots of people want to do, but it involved some pretty weird hacks to get it working. Now that iOS 5 is out, … Continue reading

Posted in Uncategorized | Tagged , , , | 2 Comments

Introducing: HappyCampfire, a Campfire framework for OS X and iOS

One of my favorite tools that I use at work is Campfire. If you haven’t heard of Campfire, it’s a group chat web app built by 37 signals. It’s very easy to use and has some fun features. One day … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

How to make your app open in full screen on Lion

One of Lions new features is full screen apps. Full screening an app is supposed to remove all distractions and make room for more of the app’s UI. Actually implementing this in your app is quite simple, but finding how … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Automatic Link Detection in an NSTextView

NSTextView is a really powerful text view class. It can do all kinds of stuff like automatic spelling correction, email, phone number, and address detection, and link detection. I was working on a chat application and I wanted to have … Continue reading

Posted in Uncategorized | Tagged , , , | 5 Comments

How to change the color of a UIBarButtonItem

EDIT: There is a new way to do this in iOS 5 that is much easier and nicer. If you want to support iOS 4, keep reading. A UIBarButtonItem is an item that goes on a UIToolbar or a UINavigationBar. … Continue reading

Posted in Uncategorized | Tagged , , , , | 5 Comments

Simple imgur iPhone Uploader

Recently I’ve been toying with the idea of adding image uploading to Thoughtback. One easy way to do that is to use another image host and just post a link in the thought. I decided to try out imgur because … Continue reading

Posted in Uncategorized | Tagged , , , , , | 2 Comments

How to create a custom cocoa framework

I was recently trying to rip out some code from the¬†Thoughtback app into it’s own framework so that I could eventually open source when we decide to make our API public. I’ve used frameworks plenty of times, but I’ve never … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment