Errata

Programming iOS 7

Errata for Programming iOS 7

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
PDF
Page 12
last paragraph

Missing "to" before "appear" in "Suppose we have a superview and a subview, and the subview is appear inset by 10 points, as in Figure 1-3."

Note from the Author or Editor:
Quite right; caught this one independently.

Peter Olsen  Sep 29, 2013 
PDF
Page 26
4th paragraph

"If no views in to interface opt in the autolayout, layout for the entire interface behaves as in iOS 5 and before."

Should be:

"If no views in the interface opt in to autolayout, layout for the entire interface behaves as in iOS 5 and before."

Note from the Author or Editor:
Quite right, caught this one independently.

Jamie McDaniel  Sep 23, 2013 
ePub
Page 48
4th paragraph. 2nd sentence.

"?If no views in to interface opt in the autolayout?

Excerpt From: Neuburg, Matt. ?Programming iOS 7.? O?Reilly Media, 2013-09-16. iBooks.
This material may be protected by copyright.

Should read "If no views in the interface opt-in to autolayout"

Note from the Author or Editor:
Already fixed in my copy.

Alexis Gallagher  Nov 24, 2013 
PDF
Page 50
4th paragraph

Missing article before (or missing plural in) "actual resource file" in "Methods that specify a resource in the app bundle, such as imageNamed: and pathFor- Resource:ofType:, respond to suffixes in the name of actual resource file."

Note from the Author or Editor:
Inserting "an" for now.

Peter Olsen  Oct 07, 2013 
Printed
Page 432
1st paragraph

In 4th edition, Chapter 8: Table Views and Collection Views, Table View Scrolling and Layout

The statement "The scrollPosition parameter is as for selectRowAtIndexPath:..." is false.
According to Apples documentation, UITableViewScrollPositionNone makes the table view scroll "the row of interest to be fully visible with a minimum of movement". This is the case for the scrolling methods mentioned here! However, the method selectRowAtIndexPath:... that is mentioned (and described earlier in the book) treats UITableViewScrollPositionNone differently - it does not make it scroll at all (as you said in your description of that method)!

You could also add this tip that Apple provides for selectRowAtIndexPath:... : "To scroll to the newly selected row with minimum scrolling, select the row using this method with UITableViewScrollPositionNone, then call scrollToRowAtIndexPath:atScrollPosition:animated: with UITableViewScrollPositionNone".

Note from the Author or Editor:
This is not strictly an erratum, but it's an interesting suggestion and I've made a note in the manuscript

Peter Billstrom  Apr 02, 2014 
ePub
Page 464
3rd paragraph

under subheading:
"shouldAutomaticallyForwardAppearanceMethods"

Line says: "If you override this method to return YES..."

Instead, line should read: "if you override this method to return NO..."

Note from the Author or Editor:
Thank you, nice catch! Corrected in my copy.

Eric Habberstad  Jan 15, 2014