Home | Developer Blog

iPhone Fonts

John Gruber of Daring Fireball fame wrote a great article on the fonts that shipped with the iPhone back in July 2007. However, with the iPhone SDK launch, the article is somewhat out of date. Based on the latest available iPhone SDK here’s the current state of play in regards to built-in iPhone fonts.

Read More…

Stopwatch timing in Cocoa

Sometimes you want to time things in your code. The usual pattern is to store the current time, do something, store the current time, compute the difference, and then convert it to something useful, like seconds elapsed. That pattern gets old fast, so here’s a little Cocoa stopwatch class that neatly encapsulates stopwatch timing on Mac OS X.

Read More…