Category Archives: text and fonts

Drop shadows on text

UILabel is built with a handy shadow feature, but it doesn’t always look the way you might want – in this post I’ll describe the ShadowedLabel subclass which draws nicer shadows.  (Code links below.) Default UILabel shadows This code: generates a shadow that looks like this: It’s not the end of the world, but it’s […]

iPad fonts

Below is a graphic listing all the fonts supported by default on the iPad.  It’s a rather tall graphic, so I’ll keep the rest of this short post above it. Here’s the main chunk of code used to generate these images: This is the only method you need to override in your own UIViewController in […]