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 trialBob Thomson
28,625 PointsWhenever I try to complete Objective 2 of this task I always see "Looks like you have not defined 'data'". Why is this?
My sample code is attached and runs correctly in XCode.
NSURL *url = [NSURL URLWithString:@"http://teamtreehouse.com/assets/homepage/logo.png"];
NSData *data = [NSData dataWithContentsOfURL:url];
5 Answers
Jeff Rosenthal
1,879 Pointsi'm locked out of the next section of the obj c tract until they fix this. it's a bit irritating!
agreatdaytocode
24,757 PointsI don't think the quizzes prevent you from moving on.
Jeff Rosenthal
1,879 Pointswithin the course, yes. but the next course is locked until i complete all elements of the 'Build a Blog Reader iPhone App' course, including quizzes.
agreatdaytocode
24,757 PointsYour Answer looks correct. I have reported this to the Treehouse support team.
Jeff Rosenthal
1,879 Pointsit's fixed
Bob Thomson
28,625 PointsThanks!
agreatdaytocode
24,757 PointsTreehouse updated the Quiz!
Nick Janes
5,487 PointsNick Janes
5,487 PointsI've googled it and it appears many students are stuck on it. Lets ask Amit Bijlani and Pasan Premaratne!