Learning iOS Programming

Errata for Learning iOS Programming

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
Printed, PDF, Safari Books Online, Other Digital Version
Page 1
Description on ORA site

The Description for the book on the ORA page seems to be for a book about Linux. At first I thought the book was about iOS development for Linux users (a curious concept, but indeed not one that far outside O'Reilly's breadth). But it seems to be a description about general Linux usage, rather than iOS development.

Note from the Author or Editor:
Yes, that's bizarre. Not sure what's going on there. It appears the description is wrong on Amazon as well. Well fix that as soon as possible. Thanks for pointing this out.

Chris Nehren  Mar 26, 2012 
Printed
Page 28
Second full paragraph (under "Creating a Project")

Xcode is no longer located in /Developer/Applications, but directly in /Applications.

Note from the Author or Editor:
Confirmed. In the "Creating a Project" section, /Developer/Applications should read /Applications.

Simon D. Levy  Apr 22, 2012 
PDF, Other Digital Version
Page 33
sentence before heading "Exploring the Project in Xcode"

s/For now you MY want to minimize/For now you MAY want to minimize/

Bruce Wisentaner  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 33
3rd para from bottom

s/BUT default the project will open/BY default the project will open/

Bruce Wisentaner  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 33
Symbol Navigator section of the "The Navigator Window" box

Typo. "brows" should be "browse"

Note from the Author or Editor:
Fixed in the production version. Thanks for finding this one.

bstonecrest  Dec 19, 2011 
PDF, Other Digital Version
Page 37
2nd para from bottom

"In" hanging loose at end of para.

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 38
end of top paragraph

Looks like a missing sentence? The "In" just hangs. Properties are a generic way of declaring the data a class provides. In Letís look at the corresponding implementation. Click on the AppDelegate.m file to open it in the Standard Editor:

Note from the Author or Editor:
Fixed in the production version. Thanks for finding this one.

bstonecrest  Dec 19, 2011 
PDF, Other Digital Version
Page 41
2nd para from bottom

s/the files contain the read-to-run object instances,/the files contain the ready-to-run object instances,/

brucewise  Feb 29, 2012 
PDF, Other Digital Version
Page 44
2nd para from bottom

s/A popup window will appear to create and Outlet./A popup window will appear to create an Outlet./

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 48
3rd para from bottom

s/in my case Iím using and iPhone 4S/in my case Iím using an iPhone 4S./

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 58
last para

The first sentence of "Declaring Methods" section is inconsistent with example code and following text.

Note from the Author or Editor:
If you mean the first sentence of the Declaring Methods section in Chapter 4, on p54. Yes, that looks like a language change that didn't get fixed in the transition from 1st to one Edition. Instead of "We declare one method in the HelloWorldViewController class, called pushButton:" it should read "We declare one method in the ViewController class, called pushButton:"

brucewise  Feb 29, 2012 
PDF, Other Digital Version
Page 72
3rd para from bottom

s/What weíve done here indicate that/What weíve done here indicates that/

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 73
2nd para from bottom

truncated sentence "We need to go ahead and" ...?

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 78
last para

s/Xcode will generate go ahead and generate a pair of files/Xcode will go ahead and generate a pair of files/

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 80
2nd para from bottom

s/Youíll see that this isnít anything to be concerted about/Youíll see that this isnít anything to be concerned about/

brucewise  Feb 29, 2012  Mar 09, 2012
PDF, Other Digital Version
Page 105
4th para from top

s/Add this line CGViewController.m near the top/Add this line near the top/ "CGViewController.m" looks misplaced in text.

brucewise  Feb 29, 2012  Mar 09, 2012
Other Digital Version
108
4th Paragraph

"We declare one method in the HelloWorldViewController class, called sayHello:" Should be "... called pushButton:"

Note from the Author or Editor:
Fixed in production. Thanks for spotting this one.

J Paul Daigle  Jan 17, 2012 
Printed
Page 208
second line on page

The second line of sample code (and the second line of the page itself) is: response_data = [[NSMutableData data] retain]; This creates an unbuildable project as that line is incompatible with ARC(automatic reference counting) which the reader is instructed to have turned on per the last sentence of the last paragraph of page 201: "Remember to make sure the checkbox to use ARC is ticked." This seems to leave the reader with an unbuildable sample project?? I'm guessing the line instead should be: response_data = [[NSMutableData data] retain]; Anthony

Note from the Author or Editor:
I'm presuming you mean responseData rather than response_data as there isn't a variable of that name? In any case, yes. The line responseData = [[NSMutableData data] retain]; should be, responseData = [NSMutableData data]; without the retain statement, which is not needed with ARC.

Anthony Dellos  Apr 16, 2012 
Printed
Page 208
fifth line

Hi Alasdair, Similar issue on line 5 of page 208: theURL = [[NSURL URLWithSring:url] retain]; I think should be: theURL = [NSURL URLWithSring:url]; Correct? (Sorry about the variable names in my prior errata, I pasted that from my code where I had changed the variable name) Thank you for your quick responses, Anthony

Note from the Author or Editor:
Yup, theURL = [[NSURL URLWithSring:url] retain]; it should be theURL = [NSURL URLWithSring:url];

Anthony Dellos  Apr 16, 2012 
Other Digital Version
1075
First sentence

In the mobi version of the book, the first sentence at location 1075 of 10189 (Chapter 3), it says: "If you click the button in the Xcode toolbar (see Figure 3-4 again)" This should probably read: "If you click the RUN button in the XCode toolbar..." There are a few buttons on the Xcode toolbar, so the omission of which button may confuse the user this early in the text.

Note from the Author or Editor:
It should indeed be, "If you click the run button in the XCode toolbar..." thanks for picking this one up. (for my own reference this occurs on p32 of the printed version)

Anonymous  Mar 01, 2012 
Other Digital Version
1159
1st Paragraph

In the mobi version there seems to be the start of a sentence which goes nowhere. The section runs like this: "Properties are a generic way of declaring the data a class provides. In Let's look at the corresponding implementation." Note the word "In" that starts the next sentence. There is nothing after this word.

Anonymous  Mar 01, 2012  Mar 09, 2012