Posted on October 15th, 2007 by Paul Lefebvre
by Seth Willits
After much hard work and perspiration (not really)…….. it’s done.
As I originally thought, this code will take forever to explain and I don’t think many of you will want to read it anyway. It works and that’s all you need to know, right? If you have any questions about how this [...]
Read More
Posted on September 15th, 2007 by Paul Lefebvre
by Seth Willits
Continuing the article about drawing a simple rectangle with a Quartz shadow, in this article we take a look at axial gradients. The code for this is actually a major pain to explain (I admit I don’t know everything there is to know about it as well), so, sorry, but I’m going to [...]
Read More
Posted on September 13th, 2007 by Paul Lefebvre
by Erick Tejkowski
Should you accidentally enter the wrong password while logging onto an OS X machine, you’ll notice that the login window wiggles back and forth a few times. In fact, it looks like the login window is shaking its head “NO!” at you. This week we’ll look at how to implement this functionality with [...]
Read More
Posted on March 7th, 2007 by Paul Lefebvre
The Singleton design pattern is probably the simplest of all the common design patterns. Its purpose is also simple: to ensure that only once instance of a class is ever instantiated.
You might be thinking that you could just use a module for this purpose. A module is close to a singleton, but since it is [...]
Read More