iOS 4 Programming Cookbook

Errata for iOS 4 Programming Cookbook

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, PDF, Safari Books Online, Other Digital Version
Page xi
4th paragraph

Suggest changing "presents useful ways to get things done for iOS programmers ranging from novices to experts" to "presents useful ways to get things done for intermediate to expert iOS programmers"

Brian Jepson
Brian Jepson
O'Reilly AuthorO'Reilly Blogger 
Mar 14, 2011 
Printed
Page many
All iPad figures of chapter 3

The figures with iPad table views in chapter 3 are so small, that they are useless. A serious problem.

Note from the Author or Editor:
I agree with this.

Cornelis van der Bent  Apr 14, 2011 
PDF
Page 22
Tray implementation

- (id) initWithOwnerDevice:(id<TrayProtocol>)paramOwnerDevice { } self = [super init]; if (self != nil){ ownerDevice = [paramOwnerDevice retain]; /* Initially we have only 10 sheets of paper */ paperCount = 10; } return(self); Shouldn't the tray just assign the owner and not retain it? if (self != nil){ ownerDevice = paramOwnerDevice; }

Note from the Author or Editor:
Hi Thomas, I had a look at the code. The .h file declares the delegate like this: @property (nonatomic, retain) id<TrayProtocol> ownerDevice; Which is the issue as I can see because the owner retains the tray and tray retains the owner. You are right, this is problematic and should have actually been avoided. Thank you for submitting this. Regards, Vandad

Thomas Ferguson  Mar 08, 2011