Wrox Programmer Forums
|
BOOK: Professional iPhone and iPad Application Development
This is the forum to discuss the Wrox book Professional iPhone and iPad Application Development by Gene Backlin; ISBN: 978-0-470-87819-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2011, 12:44 PM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default Chapter 2

A few editorial notes, and minor questions.

p 56 step 5 is redundant, since step 3 already covers the text input.

p 61 Declaring a protocol method in the header? In chapters 1 and 2, this is the only time this is done. When do you consider it advisable to include protocol method declarations in the header?.

Throughout the chapter there is the frequent use of the term "protocol" when I believe "property" is intended. (e.g. the text concerning the instance variable filePath on p. 61 and 62 and subsequent similar references) In other sources I have studied, I have never seen properties refered to as protocols.

p. 62 NSString *title = @"Display File";
should be
NSString *title = @"File Error";
It is correct in the complete listing on p. 65

On p. 70 step 5. making the UIViewController a subclass of the UITableViewController. This is an aesthetic decision not a functional one as far as I can tell, correct? The controller works the same without subclassing the UITableViewController, just lacks the background.

When setting up the interface for the modalView projects, on pp. 96 and 108 step 2, the third bullet point refers to a view which doesn't need to be added. No outlet is ever established to it and it is not used. The project functions fine without it, and as far as I can tell, no differently with it.

p 108 Step 2 incorrectly refers to ModalView_iPhoneViewController.xib and should be ModalView_iPadViewController.xib

The editors might also want to revisit listings that use bold for additions and modifications, for subsequent printings/editions. In a number of places, they are not reliable.

Fortunately, everything works and is informative/clarifying about the subject matter.

Bob
 
Old March 9th, 2011, 09:55 PM
Wrox Author
 
Join Date: Oct 2010
Posts: 61
Thanks: 0
Thanked 9 Times in 7 Posts
Default

Hi Bob,

Once again thank you for taking the detailed time with my book.

The step 3 and 5, is actually doing two things. The step 3 is dragging and placing the controls on the view, the step is properly showing how to identify the controls.

the protocol in the header is usually not done as you have mentioned, I just put it in to illustrate if you wanted to you could declare it. I have had clients that demanded every method one-to-one in .h and .m for what they called "complete" documentation. Personally, I would leave them out :), but there will not be any errors if you did insert them.

Display File, yes good catch a cut and paste error. The complete listing is the correct version.

UITableViewController, yes for aesthetic reasons. When the book began, it was early 3.x of SDK and this was a quick way for the background, now we have the table view background as an option for a regular view background.

ModalView_iPadViewController.xib, yes good catch. It is correctly identified in Step 3. Thanks for pointing this out !

Thanks again Bob, it is appreciated !
 
Old March 9th, 2011, 11:18 PM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

So step 3 …drag them to the View and enter the associated text means
drag them to the View and when you get to step 5 enter the associated text…

Got it.
Bob





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 - Code Download Missing for this Chapter dbaechtel BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 0 August 11th, 2009 11:02 AM
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.