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

Andrew Butler
21,358 PointsCode Challenge: Removing Friends by Tapping on a Table View Cell 3 of 3
When I submit my code for the third code challenge, I get a message saying "Oops! It looks like Task 1 is no longer passing." So I am doing something wrong. Can anyone point me in the right direction?
Thanks in advance
Here is what I submitted that got the message:
- (void)addVideoToPlaylist:(PFObject *)video {
// Add custom code below!
PFRelation *relation = [playlist relationforKey:@"videos"];
[relation addObject:video];
[playlist saveInBackgroundWithBlock];
}

agreatdaytocode
24,757 PointsI just checked it. I'm getting the same thing.

danielokoronkwo
6,119 PointsHow did you figure this out? I'm stuck!
3 Answers

Amit Bijlani
Treehouse Guest TeacherSince playlist is a property you need to refer to it as self.playlist
. And the method to save without using a block is called saveInBackground
.

Andrew Butler
21,358 PointsI'm asking about the last Code Challenge in the Relating users in Parse.com section in Build a Self-Destructing Message iPhone App

Jack Crane
2,745 Pointsjust a quick one, why in this does the relationForKey have a lower case f?
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsWhat Project or deep dive is this on?