Objective-C Pocket Reference

Errata for Objective-C Pocket Reference

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 "Date 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 Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Printed
Page 10
Second paragraph, starting "Line 3"

Keyword "ec@class" should be "@class".

Anonymous   
Printed
Page 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;

Anonymous   
Printed
Page 10
Second paragraph, starting "Line 3"

Keyword "ec@class" should be "@class".

Anonymous   
Printed
Page 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;

Anonymous   
Printed
Page 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; }

Anonymous   
Printed
Page 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; }

Anonymous   
Printed
Page 22
1st paragraph (last line of code)

The last line of the code should be line 10, not 8.

Anonymous   
Printed
Page 22
1st paragraph (last line of code)

The last line of the code should be line 10, not 8.

Anonymous   
Printed
Page 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.

Anonymous   
Printed
Page 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.

Anonymous   
Printed
Page 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]; }

Anonymous   
Printed
Page 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]; }

Anonymous   
Printed
Page 65
Item 5 in the numbered list

Typo in text: "Both Object and NSObject provides ..." should be: "Both Object and NSObject provide ..."

Anonymous