Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional iPhone and iPad Database Application Programming
|
BOOK: Professional iPhone and iPad Database Application Programming
This is the forum to discuss the Wrox book Professional iPhone and iPad Database Application Programming by Patrick Alessi; ISBN: 978-0-470-63617-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Database Application Programming 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 May 10th, 2011, 05:35 PM
Authorized User
 
Join Date: May 2011
Posts: 19
Thanks: 9
Thanked 0 Times in 0 Posts
Default Something strange - anyone know what this is? (pls. see screen shot)

I am working on chapter 3 (at end of pg. 71). I tested the app and did not receive any errors. However, something is strange. There seems to be an extra first letter (or partial letter) before the product name and manufacturer name (maybe an extra label hidden underneath?…But, no, I did *not* add any extra labels).

I wanted to attach the screen shot here, but this site says "Only Wrox Staff, Authors, and technical editors are allowed to post attachments (for example code files related to their book) and pictures." So, I had to upload the screen shot to the following location...

http://imageshack.us/photo/my-images...atalogapp.png/

Does anyone know what might cause this? Or even what it is called?

I would be grateful for any help at all. Thanks!

P.S. I did follow the book exactly, except for one thing. On pg. 66, the book says to use the downloaded project. I downloaded the project and determined it was the same as what we had been doing, only through pg. 61. Since I had a copy of my own project that went through page 61, I opted to use that one instead (I made various comments to myself in mine and wanted to keep them). Other than that, I followed the book exactly.
 
Old May 10th, 2011, 10:06 PM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

The easiest way to diagnose what is going on would be to have a copy of the project.
If you want me to check it out, send a copy to
[email protected]
and I can take a look.

Bob
The Following User Says Thank You to thepianoguy For This Useful Post:
tecky10 (May 10th, 2011)
 
Old May 10th, 2011, 10:12 PM
Authorized User
 
Join Date: May 2011
Posts: 19
Thanks: 9
Thanked 0 Times in 0 Posts
Default Figured out the problem...here is the fix

I figured out the problem and thought I'd post it here in case someone else has the same issue.

The problem was that on pg. 71, the code sample didn't include the following, but it was in the original code [from earlier chapter(s)]. Once the following items were commented out, the extra text went away...

ITEMS TO COMMENT OUT...

cell.textLabel.text = product.name;
cell.detailTextLabel.text = product.manufacturer;
NSString *filePath = [[NSBundle mainBundle] pathForResource:product.image ofType:@"png"];
UIImage *image = [UIImage imageWithContentsOfFile:filePath];
cell.imageView.image=image;

Hope this might help someone.
 
Old May 10th, 2011, 10:17 PM
Authorized User
 
Join Date: May 2011
Posts: 19
Thanks: 9
Thanked 0 Times in 0 Posts
Default Thanks for help

Thanks for your response. I think we were posting at the same time. When I submitted mine, I saw your reply. I was able to finally figure out the problem and included the solution with my original post (some items from earlier chapters just needed to be commented out...I put the detail as a reply to my earlier post). But, thanks so much for the kind offer. I really appreciate it!

<<The easiest way to diagnose what is going on would be to have a copy of the project.
If you want me to check it out, send a copy to
[email protected]
and I can take a look.>>





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert SNP (MS ACCESS snap shot) to PDF with C# roypython C# 0 March 12th, 2007 12:21 AM
Snap Shot of Design View Little Shell VB.NET 2 November 17th, 2006 10:34 AM
AS400 (Its a long shot) interrupt Javascript How-To 1 March 18th, 2005 10:03 AM
I just shot a hole in my Form (literally!) Ryden VB.NET 0 November 29th, 2004 09:31 AM
Automate vba snap shot report to power point learnvb Access VBA 3 January 6th, 2004 07:06 PM





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