p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional iOS Database Application Programming, 2nd Edition (http://p2p.wrox.com/forumdisplay.php?f=743)
-   -   Chapter 3 missing line of code. (http://p2p.wrox.com/showthread.php?t=92341)

Shelton2014 March 3rd, 2014 04:59 PM

Chapter 3 missing line of code.
 
near the top of pg 69. After:
Code:

filePath = [[NSBundle mainBundle] pathForResource:theProduct.countryOfOrigin
                                              ofType:@"png"];
    image = [UIImage imageWithContentsOfFile:filePath];

This code as is, will not draw the flag image to the cell because it is missing this line of code:
Code:

[image drawInRect:CGRectMake(260.0, 10.0, 20.0, 20.0)];


All times are GMT -4. The time now is 06:51 PM.

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