Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Mobi | Page location 919 The Basics of Swift->Control Flow->Loops->4th paragraph |
Can't give a page number; Kindle app on macOS doesn't show page numbers (only locations). |
Bacil Donovan Warren | Jan 04, 2017 |
The Notes app will not compile for the following two reasons: |
Earl Quinones | Mar 12, 2017 | ||
Web Site | Actually, not in the book, but on the O'Reilly web site for the book: |
Michael L. Connolly | Aug 22, 2017 | |
Page 22 1st paragraph |
...which is the third tab from the right at the top of the utilities pane. I am using Xcode 8.2.1 and it is the "fourth tab" from the right. (file, quick help, identity, attributes) |
Rick Jepson | Jan 05, 2017 | |
Page 23 bottom |
page 23 bottom: UIButton should be UIButton! |
David Head | Jan 06, 2017 | |
Page 24 Code Sample 4. |
Using Xcode 8.2.1 some case changes but especially "self.presentViewController" has been renamed "selfpresent". The code becomes: |
Rick Jepson | Jan 05, 2017 | |
Page 24 top |
page 24 top (sender: Any) instead of (Sender:AnyObject) |
David Head | Jan 06, 2017 | |
Page 24 top (Step 4) |
page 24, step 4 (the new code). Every line has a problem. E,g, first line .Alert should be .alert. Same for second line (.default, not .Default). In the third line, the compiler seems to be saying that the name of the presentViewController method has been changed (not sure though). |
David Head | Jan 06, 2017 | |
Printed | Page 25 Item 4. showAlert method |
Due to a language update, in the last line of code in the showAlert method, change parameter label "forState" to "for", as shown in the following: |
Anonymous | May 04, 2017 |
Page 32 2nd bullet point |
In section "“Swift 2 Versus Swift 3” |
Anonymous | Jan 25, 2017 | |
Page 46 Final paragraph |
Text says: |
Anonymous | Jan 07, 2017 | |
ePub | Page 63 - 78 |
The swift code in the book is not up to date with xcode 8.2 remaining is the main problem. |
Herman C Vermeulen | Jan 11, 2017 |
Page 68 Sample code |
A global function named `sqrt` is maybe replicated. |
Anonymous | Feb 25, 2017 | |
ePub | Page 70 4. In the ShowAlert... |
var alert - Xcode 8 gives warning, suggesting var should be let as it is not mutated |
Kevin G O'Mara | Jan 02, 2017 |
70 Chapter 4 |
Raw/Uneditied version, has no page numbers yet. Chapter 4 examples show Xcode version 7.0 Note from the Author or Editor: |
Ken Williams | Apr 04, 2017 | |
ePub | Page 74 TIP sidebar |
I do not list as an "error" since I am a Swift beginner. I tested the |
Dan Delgado | Dec 16, 2016 |
ePub | Page 81 Last paragraph |
You probably want to use: |
Dan Delgado | Dec 17, 2016 |
Printed | Page 86 in func withdraw |
The comment describing the the first block of code in func withdraw(amount: Float) should be corrected from |
Anonymous | May 04, 2017 |
Printed | Page 103 Figure 4-5 and last line of text on the page |
The check box labelled "Use Storyboards" has been removed in XCode 8.3 and the Cocoa Application template used to develop the Mac OS application employs storyboards. Perhaps stating the obvious, this completely obliterates the UI development discussion later in the chapter. |
Anonymous | May 06, 2017 |
Printed | Page 103 Figure 4-5 and last line of text on the page |
Until the authors address the inability in XCode 8.3 to use nib files, the simplest workaround I've found is to download an earlier version of XCode from the Apple Developer site. Xcode 8.2.1 will work. |
Anonymous | May 16, 2017 |
Printed | Page 114 Code snippets at bottom of page |
Replace "NSData" with "Data" (2 instances) |
Anonymous | May 05, 2017 |
ePub | Page 118 Declaration of privateSetterProperty |
Minor consistency issue. You refer to the access as fileprivate in paragraph and declare as private in example. Not wrong, but figure sticking to one would less (momentary at best) confusing. |
Dan Delgado | Dec 19, 2016 |
ePub | Page 118 Last section starting with Bold |
In the current epub version as seen on a 9.7" iPad Pro, the example operator+ overloading example is on page 118. |
Dan Delgado | Dec 19, 2016 |
ePub | Page 127 Between 2nd & 3rd paragraph |
Not sure if it's an oversight or you just haven't written that part yet. It appears contents of Package.swift is not included. |
Dan Delgado | Dec 20, 2016 |
ePub | Page 160 1st bullet |
I believe you meant "is clear and" in the following sentence: |
Kevin G O'Mara | Jan 02, 2017 |
ePub | Page 190 Last paragraph |
The narrative reads “declaring that its setter is fileprivate”, but the code uses “private” |
Kevin G O'Mara | Jan 02, 2017 |
ePub | Page 191 1st code example |
Suggestion - don’t use a code example that compels you to provide a WARNING not to use it. The Vector2D example is sufficient. |
Kevin G O'Mara | Jan 02, 2017 |
ePub | Page 205 2nd paragraph |
capitalization of WARNING: YOu |
Kevin G O'Mara | Jan 02, 2017 |
ePub | Page 206 main.swift code example missing |
Both code examples are missing - Package.swift and main.swift |
Kevin G O'Mara | Jan 02, 2017 |
Printed, Mobi | Page 2389 Figure 4-5 |
2389 is the "Location" in Kindle |
Al Fraser | May 07, 2017 |
Printed, ePub | Page 2389 Figure 4-5 and last line of text on the page |
Until the authors address the inability in XCode 8.3 to use nib files, the simplest workaround I've found is to download an earlier version of XCode from the Apple Developer site. Xcode 8.2.1 will work. |
Anonymous | May 16, 2017 |