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

Blog 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

the challenge asks the URL to be named url, you named yours blogURL

I tried NSURL *URL = [NSURL URLWithString:@"http://teamtreehouse.com/assets/homepage/logo.png"];

and that didn't work either.

did you use lowercase *url or uppercase *URL

because that makes a difference