small medium large xlarge

Errata for iPad Programming

 

The latest version of the book is P1.0, released almost 6 years 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.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (11-Oct-10)
#45335
PDF page: 20

AssignmentViewController.h is not available at this point (the controller is created on page 22). This causes a build error.--David Rupp

  • Reported in: P1.0 (03-Oct-10)
#45208
PDF page: 20
Date: Sat Oct 2 21:46:34 2010 -0500 p20 The C in MVC, connect the outlet Took a bit to figure this out. "Jump over to IB and ...more...
  • Reported in: P1.0 (07-Oct-10)
#45285
PDF page: 36
On page 36 section 2.1 of P1.0 version of the PDF in the section just before the sentences: Save your work. Build and run. Add something...more...
  • Reported in: P1.0 (08-Oct-10)
#45294
PDF page: 46
In section 2.5 page 46, after reading "Save all of your changes, build and run, and everything should run as before." To verify my implementation ...more...
  • Reported in: B7.0 (30-Aug-10)
#44761
PDF page: 78
In the discussion for adding the DeleteGestureRecognizer to the viewDidLoad method of Bubles5ViewController.m, you might want to remind the reader to ...more...
  • Reported in: B7.0 (30-Aug-10)
#44760
PDF page: 79
This is just a question of consistency. In the code for updating viewToDelete, in the condition part of the if statement, you refer to the instance v...more...
  • Reported in: B7.0 (31-Aug-10)
#44775
PDF page: 135
I am not sure how consistent you want to be or if you are just showing different ways to get something done. On page 18 you talk about disappearing i...more...
  • Reported in: B7.0 (31-Aug-10)
#44776
PDF page: 135
Another question about consistency. In the paragraph after the @synthesize viewForMovie; statement, you describe in great detail how to connect up th...more...
  • Reported in: B7.0 (07-Sep-10)
#44922
PDF page: 137
Towards the end of the page, in the paragraph that starts with "Back from our detour, we’re now going to look at one of the most impor- tant concepts ...more...
  • Reported in: B7.0 (31-Aug-10)
#44777
PDF page: 141
The declaration for the getInfo: method is different in the .h file and the .m file. Even though (void) and (IBAction) are the same, I tend to use (I...more...
  • Reported in: B7.0 (31-Aug-10)
#44778
PDF page: 141
I know that this is really picky but up to now, all method definitions have had the opening { on the same line as the definition. The code for getInf...more...
  • Reported in: B7.0 (31-Aug-10)
#44782
PDF page: 145

In the PlaylistController.h listing in the book, you might want to include the @class MoviePlayerViewController; statement.--Kim Shrier

  • Reported in: B7.0 (31-Aug-10)
#44783
PDF page: 145
In the paragraph right before the PlaylistController.m listing, second sentence, you mention that you are going to use the player property. There are...more...
  • Reported in: B7.0 (31-Aug-10)
#44784
PDF page: 145
In the PlaylistController.h file listing in the book, you might want to include the declaration for the initializer -(id)initWithPlayer:(MoviePlayerVi...more...
  • Reported in: B7.0 (31-Aug-10)
#44785
PDF page: 145
In the paragraph after the PlaylistController.m listing, first sentence, you say that you are assigning the player to a local property when actually y...more...
  • Reported in: B7.0 (31-Aug-10)
#44789
PDF page: 146
In building the items array, you use the movieURL:withFileType: method from MoviePlayerViewController and this method has not been mentioned in the te...more...
  • Reported in: B7.0 (31-Aug-10)
#44787
PDF page: 147
In the second paragraph, second sentence, you added an additional indexPath: segment to the method selector. It should say, "... so we’ve supplied yo...more...
  • Reported in: B7.0 (31-Aug-10)
#44790
PDF page: 155
In order to avoid a compiler warning in handleTapFrom:, you need to add a cast when assigning the value to imageView. The statement should be: Ima...more...
  • Reported in: B7.0 (31-Aug-10)
#44791
PDF page: 158
Before showing the code for viewDidLoad in MoviePlayerViewController, you should probably mention that the reader should add shoutOutTexts and shoutOu...more...
  • Reported in: B7.0 (31-Aug-10)
#44792
PDF page: 158
Also before showing the code for viewDidLoad in MoviePlayerViewController, you should probably mention that the reader should add the position instanc...more...
  • Reported in: B7.0 (31-Aug-10)
#44795
PDF page: 163
In the paragraph after the "Creating the View" heading, you talk about opening the movieplayer/MoviePlayer6 project however the PlaybackViewController...more...
  • Reported in: B7.0 (31-Aug-10)
#44797
PDF page: 166
In the first paragraph of section 8.3 you say to add a new property to PlaybackViewController.h when you are actually adding an instance variable.--Ki...more...
  • Reported in: B7.0 (31-Aug-10)
#44798
PDF page: 168
In the movieDurationAvailable: method, you use the playbackTimer instance variable without mentioning that you have added it to PlaybackViewController...more...
  • Reported in: B7.0 (01-Sep-10)
#44799
PDF page: 170
In the first paragraph, third sentence, you say that you update the selected state of the playPauseButton when the play and pause notifications happen...more...
  • Reported in: B7.0 (01-Sep-10)
#44805
PDF page: 173
Before the code listing for the playbackSliderMoved: method, you should tell the reader to create the BOOL slider instance variable and explain why it...more...
  • Reported in: B7.0 (01-Sep-10)
#44806
PDF page: 173
Just being picky again. The initial { should be on the same line as the method definition for playbackSliderDone: if you want the coding style to be ...more...
  • Reported in: B7.0 (01-Sep-10)
#44808
PDF page: 175

Although it is probably obvious, you might want to mention that the gesture recognizer code also goes into viewDidLoad:.--Kim Shrier

  • Reported in: B7.0 (01-Sep-10)
#44809
PDF page: 176
Before the code for setControlsTimer you might want to mention that the controlsTimer instance variable should be created in PlaybackViewController.h....more...
  • Reported in: B7.0 (01-Sep-10)
#44810
PDF page: 176
This may be splitting hairs again but in the last paragraph on the page you refer to the controlsTimer instance variable as a property. Since it is n...more...
  • Reported in: B7.0 (01-Sep-10)
#44821
PDF page: 193

In the last paragraph, second sentence, you say you are adding the externalScreen property when you are adding it as an instance variable.--Kim Shrier

  • Reported in: B7.0 (01-Sep-10)
#44822
PDF page: 194
Since you added the line: externalScreen = (UIScreen *)[notification object]; to the screenDidConnectNotification: method, shouldn't you also ad...more...
  • Reported in: B7.0 (01-Sep-10)
#44825
PDF page: 195

This is just a question. Did you mean to not capitalize the b in the setbackgroundColor: method name?--Kim Shrier

  • Reported in: B7.0 (01-Sep-10)
#44826
PDF page: 195
Before the code for the setupExternalScreen method, you should probably mention that they need to define the externalView instance variable;--Kim Shri...more...
  • Reported in: B7.0 (02-Sep-10)
#44827
PDF page: 198
When looking at the code added in ExternalDisplay3/Classes/ExternalDisplayViewController.m in the viewDidLoad method, the second to last line is: [...more...
  • Reported in: B7.0 (02-Sep-10)
#44828
PDF page: 198
Looking at the ExternalDisplay3/Classes/ExternalDisplayViewController.h file and the ExternalDisplayViewController.xib, I notice that you have an outl...more...
  • Reported in: B7.0 (02-Sep-10)
#44829
PDF page: 200
In both the code listings for the switchMovie method, you always use player as an instance variable but in the viewDidLoad method you referenced it as...more...
  • Reported in: B7.0 (27-Aug-10)
#44732
PDF page: 222

URL in footer 4 is truncated off the side of the page, confirmed by clicking the link.--Matthew Robinson

  • Reported in: B7.0 (03-Sep-10)
#44848
PDF page: 228
I have been trying the technique of copying Mood.txt or iPadBook.pdf into the Documents directory for SingleFile to fake out file syncing without iTun...more...
  • Reported in: B7.0 (27-Aug-10)
#44731
PDF page: 238

Weird characters "ïz ̇£" at the end of the Bibliography section, they make me wonder if the references have been corrupted.--Matthew Robinson