By Developers, For Developers
| PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
|---|---|---|---|---|---|
| 54 | SUGGEST | In the assertEqual method, consider using = rather than for the equality check. Triple-equal checks for equal type and equal value, double-equal checks for equal value after coercing the two values into the same type. For example, double equal will report that the digit 1 and the string “1” are equal. This can lead to some very subtle bugs. | 2013-03-30 | Thanks for pointing this out! In the early stages of the book, I toyed with the idea of using a JavaScript linter to help catch edge cases and I had planned to "fix" these assertions when the linter raised this exact complaint about ===. But those ideas ended up on the cutting room floor and I hadn't revisited this section yet. I've put the === in place in these pages and it will appear in the next beta release. | |
| 55 | SUGGEST | In the assertNotEqual method, consider using !== rather than !=. | 2013-03-30 | Fixed the same way as #51146 on page 54. Thanks! | |
| 62 | TYPO | In the last paragraph there is a sentence with “and and” - it should be easy enough to do a text search | 2013-04-02 | ||
| 9 | TYPO | In the second paragraph you have “theme” instead of “them” | 2013-04-02 | ||
| 22 | TYPO | You have the title “Testing With A Modal Alert View” the capital ‘A’ seems a little uncomfortable. Looking at some other titles in the chapter you vary between all caps for the first letter and sometimes using lower case for joining words (which to me seems a little nicer). | 2013-04-02 | Makes sense to me. I'll change it and see what the final copy editor says. :) | |
| 10 | TYPO | The title “Talking The UI Through Javascript” is probably missing a ‘to’ or needs restructuring? | 2013-04-02 | Yup, the "to" fell out. | |
| 20 | 9 | TYPO | In paragraph 1, “tap “OK” to create" should be “tap “Add” to create". This will match the actual UIAlert-button in the example app. | 2013-04-07 | |
| 9 | TYPO | Duplicate ‘if’ in third paragraph: “What happens if if you try to capture gestures”. | 2013-04-07 | ||
| 9 | TYPO | Last paragraph. Hyphenate “long living” and “quickly adapted”. | 2013-04-07 | ||
| 27 | TYPO | Paragraph 2 of section 3.2. Review sentence: “Let’s construct this master script in place and them export it to a file.” | 2013-04-07 | ||
| 47 | TYPO | This first checks to see if the values are equal and exists early if so. Should read: This first checks to see if the values are equal and exits early if so. | 2013-04-10 | Thanks! This will be fixed in the next release. | |
| 30.. | TYPO | There is a large number of places “it’s” is used incorrectly. “It’s” (with the apostrophe) is a conjunction for “it is” or “it has”, whereas when used to show possession, as on p. 30, paragraph 4, “…and try to find one of it’s[sic] cells…”, and p. 54, paragraph 1, “Then, we change it’s[sic] prototype to be…”, it should be “its”, without an apostrophe. Also appears (as numbered on pdf page): | 2013-04-15 | Thanks! Since the book is in beta, the technical content of the book is still being tweaked and it hasn't gone through the final copy editing phase, yet. Thanks for bearing with us while we continue to clean things up, and thanks for pointing these out! I'm addressing them now and they should be fixed in the next release. | |
| 72 | TYPO | 72 Use of apostrophe in “gesture’s” is incorrect in last paragraph: | 2013-04-15 | ||
| 12 | TYPO | Yes it does! If you choose your device in Xcode, Instruments will launch and attach to the to the app running on the device instead. -> Yes it does! If you choose your device in Xcode, Instruments will launch and attach to the app running on the device instead. | 2013-04-27 | ||
| 19 | TYPO | “What happens if if you try to capture gestures like swipes or pinches?” : Duplicated “if”. | 2013-04-27 | ||
| 19 | 6 | ERROR | In fig. 6, on the third screen from the left “By Recent” should be decorated with circles, not “By name”. | ||
| 66 | TYPO | The mobi version comes with no images (see chapter 1 for example)! | |||
| 26 | SUGGEST | A suggestion for those running Xcode 5 with iOS 7. The line “app.alert().defaultButton().tap();” doesn’t work and yields the following error: “Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().alert().defaultButton() on line 21 of add_search_term.js”. Using “app.alert().buttons()[”Add“].tap();” does still work. | |||
| 26 | ERROR | Xcode 6 / iOS8 but this does: |