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
|