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

Request for friendship in to Rabbit Project (Accept or Denied)

Hello everyone, I'm Fabio, I'm from Rome and I'm New!: D eheheheh

This portal is fantastic and your videos are really very very helpful! I am very pleased ...

I wanted to ask a question .. I followed the tutorial IOS with the application Rabbit (structured with Parse.com) and when you talk Relations (Friendship between users) wanted to know if you can figure out how to send a "Request for friendship" and validate only when the user recipient accepts or does not accept, instead of the simple function "Follow"

Do you have ideas on how to implement this in a project as a rabbit?

Thank you so much to all of you

Fabio :)

1 Answer

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

You would have to create another table on Parse that maintains a list of "Friend Requests. And then give the user with another view controller where they can view all the friend requests so that they can accept or reject them.