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

Fabio Floris
Fabio Floris
526 Points

Destructive Message - Friends List

Hello everyone, following the tutorial Destructive Message for Iphone made ??by BEN, I noticed that you explained how you view friends in a total list of users.

In essence, the user can understand who are friends and who is not a total list of users of the app.

Is always used in the tutorial class _USER (with a PFRelation) but I have the need to do the same thing but not with the class _USER but with a different class ..

I followed step by step tutorial using the Query instead of PFRelation but I can not filter out all users friends list ... Can you help?

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

If I understand, you want to keep track of a PFRelation on a different class in Parse, not PFUser? It works pretty much the same way--you create the PFRelation for whatever PFObject you want, and then you can use that PFRelation to query Parse for results. Once you get the results you should be able to display them in a list in a similar manner. If you can post more details and code then perhaps we can help you go a bit further.