Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old March 28th, 2011, 02:04 PM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default Chapter 9

A few Xcode 4 points worth noting for the .plists.
1. When creating the Settings.bundle the type of Root.plist will be set to iPhone Settings plist by default.
2. When making the ChildPane .plist there is no longer a Main Menu item View>Property List Type option (that I could find), selecting the file in the Project Navigator and right-clicking in the editor area (not on the file name) will present a context menu with one of the options Property List Type so it can be set in this manner.
3. When adding Preference Items by selecting an existing Item and hitting return (or clicking the plus sign in the Preference Items row) by default a Textfield Item is created. A checklist of the various options appears in the Key column, with the TextField checked. Attempting to change the type, to Group for example as in the project, from this checklist causes Xcode to open an Alert Panel warning of an internal error, and with the option of crashing or continuing in a inconsistent state. The type can be changed successfully by opening the disclosure triangle and changing the type in the Value column. this will then be reflected in the Key column Item row.
4. The BankAccount.plist as created does not end up in the Settings.bundle, so it will not be found in the path as written in the -bundleSettings method. In Xcode I have not found a way to place the file into the Settings.bundle, but it can be placed there manually in the project directory by selecting Settings.bundle, right-clicking and choosing Show Package Contents and dragging the file in. If the project is open you will get a warning that the file is missing from its previous location. When asked to re-save it, you should choose not to.

As mentioned in a previous post, the layout of the .plist editor in Xcode 4 has a different appearance and so certain things do not match up with the figures in the book. Fortunately, it is relatively easy to work out the differences.

  #2 (permalink)  
Old March 29th, 2011, 11:53 AM
Wrox Author
Points: 362, Level: 6
Points: 362, Level: 6 Points: 362, Level: 6 Points: 362, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2010
Posts: 61
Thanks: 0
Thanked 9 Times in 7 Posts

Thanks Bob,

Yes Xcode 4 has really changed the workflow, and it has made somethings easier and some things very hard to find

I do like it a lot, however.

Take Care,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 02:39 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.