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, 03:12 PM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default Chapter 3

Two things.

First, p. 134 is missing a step that becomes apparent when nothing appears in the table while running the program. Figure 3-10 highlights the omission. The first child of Root needs to be contacts of type Dictionary, and the subsequent dictionaries are children of contacts. Without this the -viewDidLoad method in RootViewController ends up setting the NSDictionary to null since there is no key "contacts" in the dictionary loaded from the .plist.

Second, and this is because I love to take advantage of autocompletion, it is a good idea to do the CustomTableView .h and .m coding before completing RootViewController.m since coding the configuring of the cells then autocompletes the accessors when setting the cell text.

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

Yes Bob, good catch. contacts has to be created first !

I agree, autocompletion (especially with Xcode 4) is a great helper when coding !

Thanks again 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.