Animating Interfaces with Core Animation: Part 4

This is the fourth 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. The third post shows how you can trigger animations … Continue reading Animating Interfaces with Core Animation: Part 4

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

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

Using Amazon S3 as your iOS app’s server-side

While developing myDrumPad, I came across an interesting problem for my in-app purchase support. The app allows users to download additional packs of sounds (referred to as "sound packs" in the app) that they can use to tap out songs and rhythms. The sound packs themselves were a collection of CAF-encoded uncompressed PCM audio files, … Continue reading Using Amazon S3 as your iOS app’s server-side

Filtering great ideas to fit my available time (and budget)

I'm an avid "Idea Man".  I love coming up with new ideas; for iPhone apps, for web apps, and even for real-world inventions.  Most of my ideas only sound great in my head, but when I open my mouth the idea seems to turn sour.  A smaller number of ideas manage to survive the thought-to-word … Continue reading Filtering great ideas to fit my available time (and budget)

Building a custom Dashboard-like UIButton

As part of the Parking Mobility iPhone app I've been building, I wanted to integrate a simple "Quick Start" help guide to show people how to use the app without being intrusive.  I wanted to use the project's branding as much as possible, and give the user a feeling like they haven't left the main … Continue reading Building a custom Dashboard-like UIButton