Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Otto Wichmann4,827 Points
Add an image to the instance [...]
"Add an image to the instance of UITableViewCell named 'cell' with the previously created 'image' object."
Thats the task at hand. Im on the "UITableViewCell with an image" challenge from "Adapting Data for Display"
I've tried a lot of different code, I even search for some tutorials over at stackoverflow. But I honestly just don't know what to do. I was able to solve the first part of the challenge with this line of code:
// UIImage *image = [UIImage imageNamed:@"placeholder.png"];
And I understood why I had to write that line. But when it comes to adding the 'image' object to 'cell' I'm just lost.
Thank you in advance for any help!