The latest version of the book is P2.0, released about 6 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P1.0 (20-Nov-10)
Paper page: 1
This is the first Mac programming book which I have used and would benefit from a glossary, perhaps with examples.
- Reported in: P1.0 (09-Nov-10)
Paper page: 50
In the second paragraph from the bottom, the sentence begins 'The <<word>> in brackets before...'. Should it read the 'The <<word>> in parentheses before...'?
- Reported in: P1.0 (13-Oct-10)
- Fixed: 09-Nov-10, awaiting book release
Paper page: 68
Example is only valid if the base column header is 100.
JFB --Jim Byers
- Reported in: P2.0 (17-Jul-11)
Paper page: 78-79
In the section on floating-point numbers, the exercise has us set the value of the variable to "3.14159265", but when the program is run, the value is presented in the text box as "3.141593", rounding off the last few digits, and there is no explanation in the text for why this happens. So I don't know if I've done something wrong, or if the text has just omitted that detail.--Phil
- Reported in: P1.0 (17-Jul-11)
Paper page: 94
after the code sample, the paragraph ends with "the value output to the text view is now the value returned by the generateValue method (5.0)."
the actual value output by my program is (5.000000). minor issue, but it would be nice if the text matched up with the actual output so i can be sure i've not done something wrong.--Phil
- Reported in: P2.0 (26-May-11)
PDF page: 138
The fisrt code block under "Rewrinting the init Method" had the following line:
`NSLog(@"Object was initialized!");`
But regarding what it was done before, it should be:
`NSLog(@"A WonderfulNumber object was initialized!");`
- Reported in: P2.0 (04-Dec-10)
PDF page: 160
End of second paragraph:
...and call the new project "Shopping List."
--this should probably be "Shopping List". (with the period outside the quotes, as the period isn't actually part of the new project's name)--Kelsey McClanahan
- Reported in: P2.0 (08-Sep-11)
Paper page: 170
After adding the code for addNewItemToShoppingList it asks you to Build & Run the code and you will be able to add new items to the shopping list. However there was no instruction to "remind" you to link the Button to the addNewItemToShoppingList event using the HUD. Only held me up for a couple of minutes but worth mentioning.
Version 2010-2-16--Andrew Richardson
- Reported in: P2.0 (16-Nov-10)
Paper page: 171
Not an error, but I got hung up for several days on the tableView method (on page 171) that enables you to edit the array items directly on the table.
I assumed that the code snippet on page 171 was meant to replace the existing tableView method! After downloading the code from this site I saw that you can have an (id)tableView and a (void)tableView in the same implementation - maybe just add a line of text that clears that up?
Otherwise the book is extremely valuable, and the best intro I've found so far - really enjoying working through it.--Chris McCaleb
- Reported in: P2.0 (31-May-11)
PDF page: 194
In the code block under :
> "With this in mind, let’s change the displaySomeText: method in TextApp to the following:"
In the _first_ block of the if statement,
there is a problem of typo at the blue line
> `stringToOutput = @"Access Granted!";`
Regarding what it was done before, either `Access Granted!` should be in the same red who underline the modifications, either it should be replaced by `You clicked the button!`.
- Reported in: P2.0 (04-Jun-11)
PDF page: 197
In the first code block of the page, the code to be changed is not in red. So, unlike the others code block of the book, the part to be changed is not obviously pointed out.
- Reported in: P2.0 (03-Oct-11)
PDF page: 197
"In modern mathematics, writ- ing “2 + 4 * 5” would be interpreted as “2 + 20” rather than “8 * 5” because multiplication should be carried out before addition."
It should be "6 * 5" instead of "8 * 5".--Maddin
- Reported in: P2.0 (21-Oct-10)
PDF page: 333
Same problem, won't compile.
Obviously a different version of Xcode is required to follow this book.
I wish the author would type the actual syntax instead of pointing me at the Xcode documentation. It's hard to see the trees for the forest.
- Reported in: P1.0 (26-Nov-10)
Paper page: 367
Insert the words "Add this method below the existing initWithName:quantity: method" before "implement it like this" in the instructions prior to adding the initWithCoder: method.--Tim Isted
- Reported in: P2.0 (09-Feb-11)
Paper page: 397
The applicationDidFinishLaunching: method should be application:didFinishLaunchingWithOptions: (this changed from iPhone/iOS SDK at time of original writing)--Tim Isted