Objective-C Pocket Reference by Andy Duncan This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated June 18, 2008. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: (10) Second paragraph, starting "Line 3"; Keyword "ec@class" should be "@class". [10] Top of page in line 11 in sample class interface; Class method declaration in line 11 reads as: +(void)numCircles; should be: +(int)numCircles; [12] Middle of page in line 7 of sample class implementation; Class method implementation in line 7 reads as: +(void)numCircles { return count; } should be: +(int)numCircles { return count; } (22) 1st paragraph (last line of code); The last line of the code should be line 10, not 8. (28) Code sample at bottom; Last line of code sample should be numbered 6, not 5. In subsequent discussion, reference to line 5 should also read line 6. {56} First code snippet towards the top of the page; The code snippet for copyWithZone: has too few left brackets. There should be 3 instead. The following is the corrected code: - (id) copyWithZone: (NSZone *) zone { return [[[self class] allocWithZone:zone] init]; } (65)Item 5 in the numbered list; Typo in text: "Both Object and NSObject provides ..." should be: "Both Object and NSObject provide ..."