Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional iPhone and iPad Database Application Programming
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
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.
  #2 (permalink)  
Old May 10th, 2011, 10:06 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

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
ipadhelper@me.com
and I can take a look.

Bob
The Following User Says Thank You to thepianoguy For This Useful Post:
tecky10 (May 10th, 2011)
  #3 (permalink)  
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.
  #4 (permalink)  
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
ipadhelper@me.com
and I can take a look.>>
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



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


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