Errata for iOS SDK Development
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is B2.0, released about 1 month ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 23 |
#48783: Text currently reads "Find
the “Round Rect Button”, and click and drag it into the gray view."
Very minor, but the element to find should ...more...
Chris Adamson says: In Xcode 4.3, the Media pane uses the term "Round Rect Button", both in list view and in the popup for icon view.
|
B2.0
20-Feb-12 |
||
| 26 |
#48784: At the bottom of page 26 it states: "In it, we
see the template has provided trivial implementations for a lot of methods
like didReceiveMem...more...
Chris Adamson says: Yep, that's a 4.3 change. Nice catch. There used to be more than a dozen method stubs, either with trivial implementations or just commented out.
|
B2.0
20-Feb-12 |
||
| 26 |
#48545: last paragraph before section 2.2 Methods and Messaging. Sentence: "In this case, it means PRPApplicationDelegate handles callback methods rel...more...
|
B2.0
20-Jan-12 |
||
| 30 |
#48785: On page 30 there is the sentence: "Let’s tease out how this code works."
Did you mean to say "Let's check out how this code works?" I say ...more...
Chris Adamson says: http://dictionary.reference.com/browse/tease+out : "tease out: Lure out, obtain or extract with effort, as in We had a hard time teasing the wedding date out of him . This term alludes to the literal sense of tease , "untangle or release something with a pointed tool." [Mid-1900s]"
|
B2.0
20-Feb-12 |
||
| 31 |
#48546: Since this is a sort of an iOS Programming intro chapter, the reader may not know where to place an @property in a header file. At the top of...more...
|
B2.0
20-Jan-12 |
||
| 38 |
#48672: In the code example for string substitution, the closing square brace for the alloc message is missing.--Preston Marshall |
B2.0
06-Feb-12 |
||
| 47 |
#48538: The callout on Categories talks about adding a category on NSArray but the example code and header file use NSString.--Gareth Fleming |
B2.0
16-Jan-12 |
||
| 48 |
#48492: Line 90 from the source file is missing from the example code on the page.
[self dismissModalViewControllerAnimated:YES];
The app freeze...more...
Chris Adamson says: Possible you're looking at beta 1.0? We fixed this in beta 2.0 and added the following explanation: "We start with a call to [self dismissModalViewControllerAnimated: YES] on line 10. We didn’t have to explicitly dismiss the TWTweetComposeViewCon- troller before we had a custom completionHandler — heck, we couldn’t have known when to do so — but our beta readers discovered the UI becomes unresponsive if we don’t do it now (we think this might be an iOS bug and have filed it with Apple)." (beta 2, p. 48)
|
B2.0
11-Jan-12 |
||
| 50 |
#48494: The connection to twitterWebView is automatically broken by deleting the webview. This might be due to a xcode update, but this was my experie...more...
|
B2.0
11-Jan-12 |
||
| 56 |
#48677: When telling the reader to run the new version, warn the reader to quit emulator before running. Otherwise iOS tries to restore webview state ...more...
Chris Adamson says: I tested this and didn't have a problem. If you click "Run" in Xcode and the previous version is still running in the Simulator, Xcode prompts you to stop the version in the Simulator: "“PRPFirstProjectTweeter” is already running. Click Stop to terminate and launch a new instance." Doing this was sufficient to run the UITextView version of the app, without restarting the Simulator.
|
B2.0
07-Feb-12 |
||
| 65 |
#48488: The name of the class to be created is never specified (though the superclass to use is...). It is shown in "figure 24" as PRPRecipe, but neve...more...
|
B2.0
10-Jan-12 |
||
| 66 |
#48489: "Figure 24" doesn't actually show the process of specifying the save location for the new file, as the label suggests (as well as the text on ...more...
|
B2.0
10-Jan-12 |
||
| 70 |
#48490: Unless we prefixed our classes with PRPRecipes instead of just "PRP" (on pg. 65), the names of the classes/files will not be PRPRecipesAppDele...more...
|
B2.0
10-Jan-12 |
||
| 73 |
#48767: Last paragraph on page, second sentence: "The window knows what to display by asking the rootViewController for it's view."
End of sentence...more...
|
B2.0
18-Feb-12 |
||
| 74 |
#48687: In "Intentionally Breaking Things", when telling how to restore the connection, "Control" would be preferable to "^" to specify the key to pre...more...
|
B2.0
08-Feb-12 |
||
| 74 |
#48782: The ellipsis is not being turned into the unicode char in 'Intentionally Breaking Things' in the VC Chapter.
Recipes[15932:207] *** Termina...more...
|
B2.0
20-Feb-12 |
||
| 75 |
#48491: redundant #1 and #3 in list?
|
B2.0
11-Jan-12 |
||
| 77 |
#48610: Although it can be derived from the programming listing, you never specifically state the name for the "PRPRecipe" class when setting up the O...more...
|
B2.0
29-Jan-12 |
||
| 80 |
#48529: The second to last sentence ends in a comma or Even should be lowercased.
These properties have a strong relationship to the objects they a...more...
|
B2.0
15-Jan-12 |
||
| 84 |
#48656: Under 5.2 "Create a Table View Controller", paragraph two, the name of the UITableViewController subclass is not specified so you cannot progr...more...
|
B2.0
04-Feb-12 |
||
| 84 |
#48692: It would be easy if you mention about the class name here.--Pramod Patlolla |
B2.0
09-Feb-12 |
||
| 84 |
#48535: The description of how to implement the PRPRecipesListViewController is a bit fuzzy. I think you mean to select Objective-C class and then th...more...
|
B2.0
16-Jan-12 |
||
| 84 |
#48536: My last submission is an error for Xcode 4.3. it works okay in Xcode 4.2. --David Loeffler |
B2.0
16-Jan-12 |
||
| 88 |
#48537: Header file, PRPAppDelegate.h should have import statement (top of page) #import "PRPRecipesListViewController.h"
|
B2.0
16-Jan-12 |
||
| 89 |
#48614: Second line of the first full paragraph says:
Open the PRPRecipesViewController.m and go back to the viewWillAppear: method.
When it shou...more...
|
B2.0
30-Jan-12 |
||
| 89 |
#48615: The end of the 4th full paragraph has:
Open the file PRPRecipesAppDelegate.m and select the application:didFinishLaunchingWithOptions: method...more...
|
B2.0
30-Jan-12 |
||
| 91 |
#48768: Figure 34 shows 7 items, but the sample code only created two. Perhaps change the description on page 86 to something like:
.. to create t...more...
|
B2.0
18-Feb-12 |
||
| 101 |
#48794: In the fifth paragraph on this page the second sentence should begin with a capitalised "We" or the structure of the first sentence needs to b...more...
|
B2.0
22-Feb-12 |
||
| 113 |
#48481: The code sample on this page includes "@end", which implies that this method should be placed just before the end of the implementation. Expli...more...
|
B1.0
10-Jan-12 |
||
| 116 |
#48521: The fifth paragraph should begin with "Container controllers define this interaction model ..."--Gabriel Mei |
B2.0
14-Jan-12 |
||
| 129 |
#48482: There is no instruction to "synthesize" the textView or recipe properties within the implementation--donald hutchison |
B1.0
10-Jan-12 |
||
| 140 |
#48495: The "recipeListVC" property does not appear to ever be set to an active instance of PRPRecipesListViewController within the chapter.--donald hutchison Bill Dudney says: In the first code listing on page 141 of b2 the editor's recipesListVC is set to self. If that does not make sense please post int he forums so I can help clear it up. |
B2.0
11-Jan-12 |
||
| 143 |
#48499: On page 144 of the iBooks version: ',' instead of '.' before 'Even':
These properties have a strong relationship to the objects they are co...more...
|
B2.0
11-Jan-12 |
||
| 145 |
#48496: The text says: "Control click and choose “New File...” or Command-Shift-N. However, the correct key command to create a new file is Command-N....more...
|
B2.0
11-Jan-12 |
||
| 145 |
#48497: The text says, "Select the DocumentRecipes group;". This is correct for people who are using the example code, but it will appear to be a typo...more...
|
B2.0
11-Jan-12 |
||
| 145 |
#48781: In second bullet for creating the new PRPRecipesDocument class, the correct shortcut would be Command-N, not Command-Shift-N.--Raúl Pedroche |
B2.0
20-Feb-12 |
||
| 151 |
#48570: "We need a couple of changes to enable editing existing apps:" Should read: "We need a couple of changes to enable editing existing recipes:"--Tom Crinson |
B2.0
25-Jan-12 |
||
| 156 |
#48500: The following sentence should end with a question mark instead of a period:
"Since users are allowed to edit the directions property, why a...more...
|
B2.0
11-Jan-12 |
||
| 161 |
#48657: PRPRecipesListDataSouce should be PRPRecipesListDataSource--Tom Crinson |
B2.0
04-Feb-12 |
||
| 161 |
#48658: PRPRecipeDocument should be PRPRecipesDocument--Tom Crinson |
B2.0
04-Feb-12 |
||
| 162 |
#48502: In the sendEmail: method listed on this page, the following is found: "mimeType:@"application/octet-stram"". It appears that it should have be...more...
|
B2.0
11-Jan-12 |
||
| 167 |
#48503: On this page, the following instruction is given: "First, we don’t currently have a pointer to the existing doc. Fix that by adding a new prop...more...
|
B2.0
12-Jan-12 |
||
| 170 |
#48507: There shouldn't be an apostrophe in the "its" in the following sentence: "We want the view controller to listen to the notifications only whil...more...
|
B2.0
12-Jan-12 |
||
| 171 |
#48508: "applications" should be "application's" in the following sentence:
"First, the Key-Value Store field becomes a way to distinguish this appl...more...
|
B2.0
12-Jan-12 |
||
| 171 |
#48509: The last word of the following sentence should be "to", not "too":
"The next field, iCloud Containers, is a list of identifiers of each clo...more...
|
B2.0
12-Jan-12 |
||
| 172 |
#48512: It would be helpful to warn the reader that the app will no longer run in the simulator, and will only run on a device that has iCloud configu...more...
Bill Dudney says: Thanks for the erratum! It is mentioned as the second sentence of the second paragraph on page 173 in b2. Do you think it would help to move that statement to the beginning of the section?
|
B2.0
13-Jan-12 |
||
| 182 |
#48513: In the following sentence, "representations" should be replaced with "representation":
"To do that we’ll need a path, which is a geometric ...more...
|
B2.0
13-Jan-12 |
||
| 189 |
#48514: In the following part of a sentence on this page, "ran" should be replaced with "run":
"...recall that a block is just a simple way to wra...more...
|
B2.0
13-Jan-12 |
||
| 190 |
#48515: In the following sentence, "PRPRecipesListViewController" should be changed to "PRPRecipeEditorViewController".
"Copy the code over to the...more...
|
B2.0
13-Jan-12 |
