February 13, 2006
Unit testing guidelines
Lately I've been spending a lot of time working on my unit testing framework, WOTest. In doing so I've had cause to think about unit testing "best practice", or at least what works best for me.
Posted by wincent at 02:38 AM
January 26, 2006
Locking, double-checked locking and speed
When you're doing multi-threaded programming it's often necessary to use locking to ensure that resources aren't being used in conflicting ways by different threads.
Posted by wincent at 05:08 PM
Objective-C enumeration macro
Three ways to improve upon the standard Objective-C enumeration idiom.
Posted by wincent at 04:50 PM
July 16, 2005
Building Universal Binaries
If you want to build a Universal Binary that runs on both Panther (PowerPC) and Tiger (PowerPC and Intel) then you'll have to make a couple of custom build settings. From reading the xcode-users mailing list and revising the Apple release notes and documentation a couple things have become clear to me.
Posted by wincent at 09:59 AM
December 14, 2004
Messaging nil
Be sure when you message to nil that the selector you're using returns an object.
Posted by wincent at 09:34 PM
November 11, 2004
Localization on Mac OS X
Guidelines for localizing Wincent software on Mac OS X.
Posted by wincent at 02:08 AM