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
Patrick Son
10,954 PointsSmall bug in Challenge: Removing Friends by Tapping on a Table View Cell (iOS)
In this challenge problem, it says to use the relationforKey: method (f is lower-case), when it should be relationForKey: (F is upper-case). The challenge code won't compile unless it is written with the typo.
1 Answer
Kevin Hamil
8,203 PointsYou are right, but I don't think it's a typo/bug. It's just an update to Parse's framework. If you notice, when you use the lowercase "for", Xcode actually flags it with a warning that states that it's a depreciated method. It also tells you the corrected method name using the uppercase "For". It was correct at the time Treehouse recorded the video (which is why it compiles for him), but later Parse updated their framework and thus depreciated the method.