Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By Corrected
Printed Page Examples
All Examples

In this book, I erroneously use the following code to determine whether an object has been instantiated:

if ((self == [ super initWithFrame: rect ]) != nil) {

I later realized that this is incorrect. The proper way to do this is as follows:

self = [ super initWithFrame: rect ];
if (nil != self) {

Generally this does not present any problems, but is a good idea to change this in your projects, in the event that future
versions are less forgiving.

Anonymous 


"I see this book being a great tool for the person who wants to write their own personal applications for the iPhone, and who doesn't want to live with the restrictions that Apple is placing on the use and distribution of "official" applications."
--Thomas Duff, Duffbert's Random Musings