A port of the Visual Basic code in the book Visual Basic 2005 Express Edition Programming to Objective-C code.