Back to Basics: Using KVO

One of the things I like most about Apple's iOS SDK is the consistent and easy-to-use API they provide.  Across all their different frameworks there's a pattern at work that makes using their classes easy to understand.  This is due in part to the simplicity for configuring those objects.  In most cases you don't need … Continue reading Back to Basics: Using KVO

Back to Basics: Simple UITableViews

Following up on my previous post in this series, I'm going to continue talking about beginner topics that I and many other developers take for granted. So for this entry in my "Back To Basics" series I'd like to talk about UITableViews, and how to simply and easily construct one without convoluted or confusing code. … Continue reading Back to Basics: Simple UITableViews

Back To Basics: Positioning UIViews

These days I've been working on some fairly advanced iOS development techniques on my various projects: I've taught myself (badly) about Core Audio, I'm learning OpenGL, I'm developing a series of applications using Core Data, asynchronous parsing of JSON from a streaming HTTP connection, etc. It's extremely fun and easy once you understand the basics. What I … Continue reading Back To Basics: Positioning UIViews

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

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

Revenue Canada wants me to buy an iMac 27″

For as long as I've been a developer, there was only ever once when I had a machine that I felt was an adequate development workstation. That was around 2001 when I had a dual-proc 667MHz P3 768MB RAM and three 17" CRT monitors. This baby put out enough heat that my home-office didn't need … Continue reading Revenue Canada wants me to buy an iMac 27″