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 Build a Self-Destructing Message iPhone App Relating Users in Parse.com Displaying Our List of Friends

Rodrigo Chousal
Rodrigo Chousal
16,009 Points

objectForKey method

Since objectForKey is deprecated, and Parse Documentation suggests using the method relationForKey instead, why don't you change this challenge to use the method suggested by Parse? Ben Jakuben

2 Answers

Hey objectForKey seems to be working fine for me on my end.. any chance you could post the link where parse states that?

Rodrigo Chousal
Rodrigo Chousal
16,009 Points

I didn't read it in Parse.com, I read this in Treehouse. It is on the Known Issues section down below. I was mistaken by saying it's deprecated, it's probably just better to use relationForKey for what we were doing.

http://teamtreehouse.com/library/build-a-selfdestructing-message-iphone-app-2/relating-users-in-parsecom/displaying-our-list-of-friends

Andrew Boryk
Andrew Boryk
15,916 Points

What version of Xcode and iOS are you coding for? Is it iOS8?

Rodrigo Chousal
Rodrigo Chousal
16,009 Points

Xcode 5.1.1, and I am coding for iOS 7.