PrintNumber | ErrorLocation | Error | Correction | DateAdded |
---|---|---|---|---|
1 | piv | First Printing, June 2011 | Second Printing: August 2011 | 7/25/2011 |
1 | piv | Technical Editor Michael Trent |
Technical Editors Michael Trent Wendy Mui |
7/28/2011 |
1 | pxvi | About the Technical Reviewer | About the Technical Reviewers | 7/28/2011 |
1 | pxvii | You can email or write Mark directly to let us know what you did or didnt like about this bookas well as what we can do to make our books stronger. | You can email or write directly to let us know what you did or didnt like about this bookas well as what we can do to make our books stronger. | 7/28/2011 |
1 | p141 | It says that your add: method will return a Fraction object and that it will take one as its argument as well. The argument will be added to the receiver of the message, which is also a Fraction. | It says that your add: method will return a Fraction object and that it will take one as its argument as well. The argument will be added to the receiver of the message, which is also a Fraction. Note that you need to change your interface section to reflect the fact that the add: method now returns a Fraction object. | 7/28/2011 |
1 | p155 | NSLog (@"Rectangle: w = %i, h = %i" myRect.width, myRect.height); | NSLog (@"Rectangle: w = %i, h = %i", myRect.width, myRect.height); | 7/28/2011 |
1 | p165 | Figure 8.7: Width should be 5 not 100 | fixed | 7/28/2011 |
1 | p189 | If you didnt implement the method, it will take care the event itself, using whatever is defined as the default behavior. | If you didnt implement the method, it will take care of the event itself, using whatever is defined as the default behavior. | 7/28/2011 |
1 | p193 | Throwing exceptions use a lot of system resources, and, as such, Apple generally recommends against using their unnecessary use (e.g., you dont want to throw an exception simply because you cant open a file). | Throwing exceptions use a lot of system resources, and, as such, Apple generally recommends against their unnecessary use (e.g., you dont want to throw an exception simply because you cant open a file). | 7/28/2011 |
1 | p199 | a = [[Fraction alloc] initWith: 1 over: 3; b = [[Fraction alloc] initWith: 3 over: 7; |
a = [[Fraction alloc] initWith: 1 over: 3]; b = [[Fraction alloc] initWith: 3 over: 7]; |
7/28/2011 |
1 | p265 | and run the program, youll get these two lines of output: foo = 10 foo = 20 The first line verifies that the value of foo passed into the block is still the value it had at the time the block was defined. |
and run the program, youll get these two lines of output: foo = 15 foo = 20 The first line shows that the value of foo is now its value at the time the block is called. |
7/28/2011 |
1 | p281 | Note that this is the same declaration used to define a Fraction object. | delete sentence. | 7/28/2011 |
1 | p328 | ...and opts are NSUIntegers, and range is an NSRange object indicating a valid range of characters within a string. | ...and opts are NSUIntegers, and range is an NSRange structure indicating a valid range of characters within a string. | 7/29/2011 |
1 | p331 | (Here we left in the all NSLog output just to distinguish the difference in appearance between the first and second sets of output.) | (Here we left in all NSLog output just to distinguish the difference in appearance between the first and second sets of output.) | 7/29/2011 |
1 | p364 | ALL instances of: indexOfObjectsPassingTest: | indexOfObjectPassingTest: | 7/29/2011 |
1 | p364 | NSIndexSet *result = [book indexOfObjectsPassingTest: | NSUInteger result = [book indexOfObjectPassingTest: | 7/29/2011 |
1 | p365 | NSIndexSet *result = [book indexOfObjectsPassingTest: | NSIndexSet *result = [book indexesOfObjectsPassingTest: | 7/29/2011 |
1 | p367 | After completing exercise 3, modify the lookup: method from exercise 2 to perform a search on all the fields of an address card. | After completing exercise 4, modify the lookup: method from exercise 3 to perform a search on all the fields of an address card. | 8/1/2011 |
1 | p399 | NSNumber *myInt = [[NSNumber alloc: initWithInteger: 100]; | NSNumber *myInt = [[NSNumber alloc: initWithInteger] 100]; | 8/1/2011 |