iOS 7 Programming Fundamentals

Errata for iOS 7 Programming Fundamentals

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
Other Digital Version
FlipsideViewController.m lines 67, 69-70.

In the example source code project
FlipsideViewController.m lines 67, 69-70.

The code for WHICH==1 contains misleading comments and a redundant timer invalidate in dealloc{} -- dealloc is, in fact, called when we switch away from the FlipSideView.

- (void) dealloc {
// dealloc is never called, we are leaking
NSLog(@"%@", @"dealloc");
// timer is never invalidate, it keeps running
[self->_timer invalidate];

Note from the Author or Editor:
Right you are; those comments are obviously the result of copy and paste from case WHICH==0

Charles Price  Nov 19, 2013 
Page 97
penultimate paragraph - last line

documenation instead of documentation

Note from the Author or Editor:
Thanks! Corrected in my copy.

Anonymous  Dec 27, 2013