Test cases
You can never test too often…. and on that subject, you should try to test early. Getting into...
Exceptions are for programming errors
You should catch errors but be very careful about swallowing it and not re-throwing the exception. I have...
What’s wrong with this code?
Recently, I was looking at a bug report for an error that would only happen on one operating...
Passing parameters to shell scripts
I recently fell in love with TextMate. For me, programming 24/7, TextMate helps me edit files that would...
Programming language and convention
A programming language does not enforce rules. It just gives you the means to tell a computer how...
I created a new target template in Xcode
In my office, I use a certain framework for unit testing. Setting up my unit tests are pretty...
Another Cocoa technology I had to battle with
So, I was messing around with a Cocoa app I created to test out some imaging code I...
How do I know if a method is available?
The Mac OS supports, and has for a long time now, methods for checking whether or not you have functionality available to you from the SDK or from a class that was built by another developer. This may be compared to COM, which is fair, but the implementation is much richer.
Changing library dependency paths
If you want to change what your host application is dependent on, without having to rebuild it, you...
What are the default icon sizes in iPhone?
Continuing my iPhone development, I had a hard time finding the default icon sizes.