Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Blog Reader iPhone App Adapting Data for Display UITableViewCell with an Image

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

What's my problem?

I think I almost finished the challenge, but I'm not sure what to do next. I am on step 2. After trying a few different things I finally got the bummer message to say: Bummer! It looks like your 'image' definition is not using the right filename. I've tried several things, but none of them have worked.

images.m
UITableViewCell *cell = [[UITableViewCell alloc] init];
/* Write your code below this line */
UIImage *image = [UIImage imageNamed:@"placeholder"];
cell.imageView.image = [UIImage imageNamed:@"image"];

2 Answers

Greg Kaleka
Greg Kaleka
39,021 Points

Hey Caleb,

The method you're calling creates a UIImage object, but you already have one! You don't need a method call at all in this step.

cell.imageView.image = image;

Easy!