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
Joseph Finkenbinder
5,340 PointsBlog Reader iPhone app > Adapting data for display > Code Challenge #2 > Downloading and displaying an image
Task: Create an instance of NSURL named 'url' with the following url: 'http://teamtreehouse.com/assets/homepage/logo.png'.
My solution:
NSURL *blogURL = [NSURL URLWithString:@"http://teamtreehouse.com/assets/homepage/logo.png"];
I've watched the video 6 times and don't see where an example of this happens in either video 1 or 2 leading up to this Code Challenge.
Help.
1 Answer
Stone Preston
42,016 Pointsthe challenge asks the URL to be named url, you named yours blogURL
Joseph Finkenbinder
5,340 PointsJoseph Finkenbinder
5,340 PointsI tried
NSURL *URL = [NSURL URLWithString:@"http://teamtreehouse.com/assets/homepage/logo.png"];and that didn't work either.
Stone Preston
42,016 PointsStone Preston
42,016 Pointsdid you use lowercase *url or uppercase *URL
Stone Preston
42,016 PointsStone Preston
42,016 Pointsbecause that makes a difference