Animating Interfaces with Core Animation: Part 3

This is the third in a series of posts I'm writing on animating iOS interfaces using Core Animation. In the first post I created a planetary orbit demo using nested CALayer objects. The second post showed how to dress up a UI by animating an image. This time I'll show how you can trigger animations … Continue reading Animating Interfaces with Core Animation: Part 3

Animating Interfaces with Core Animation: Part 2

This is the second in a series of posts I'm writing on animating iOS interfaces using Core Animation. In the previous post I created a planetary orbit demo using nested CALayer objects. This time I'm going to show how you can dress up a UI by creating a simple effect using an image and Core … Continue reading Animating Interfaces with Core Animation: Part 2

Animating Interfaces with Core Animation: Part 1

One of the greatest things about the iOS platform and applications people see on it is its beauty. Smooth gradients, consistent transitions, and animations that illustrate the transition of UI elements from one state to another. Animations are more than flashy eye-candy; they tell the user what's happening. If an element is being deleted, instead … Continue reading Animating Interfaces with Core Animation: Part 1

Fun shadow effects using custom CALayer shadowPaths

I recently had to improve the performance of a few views that utilized CALayer-based shadows on rounded-rect UIView objects. On this particular iPad application, when the device was rotated, the views rotated quite a lot slower than we would have hoped. It wasn't a show-stopper, but the jerky rotation animation made it look cheap and … Continue reading Fun shadow effects using custom CALayer shadowPaths

Rendering views using CALayer, Part 1

For myDrumPad the main pad buttons are images. I create a UIButton object, and use setBackgroundImage:forState: to customize which image will be used for each state (UIControlStateNormal and UIControlStateHighlighted mainly).  I customize the title label font, shadow and color, and voilà I have a pad button that simulates the look and feel of  a Korg … Continue reading Rendering views using CALayer, Part 1

Even geeks forget their passwords

Passwords are definitely fickle beasts.  I'm used to juggling a multitude of different semi-incomprehensible passwords containing a mixture of numbers, symbols, upper and lower-case letters, and in some cases unicode characters (letters such as ü, • and §). And for some mysterious reason I'm able to remember these gibberish-filled passwords with ease. But despite all … Continue reading Even geeks forget their passwords

Recovering from bit rot

One of the things that's hard as a developer is keeping your legacy code up to date.  It's all too easy to fire-and-forget; write your code, debug it just enough so that it compiles, and then forget it until it breaks again.  I'm guilty of that as well.  In fact, just today I discovered that … Continue reading Recovering from bit rot

Localizing iOS apps using ICanLocalize.com

As with most things, the amount of work we as developers see when starting an iOS application is just the tip of the iceberg. There's artwork, "About" screens, tutorial pages, icons, the app's website, and all the marketing the app needs to get it out there. Even writing the app's description or taking screenshots for … Continue reading Localizing iOS apps using ICanLocalize.com