Questions tagged [pfrelation]

A class that is used to access all of the children of a many-to-many relationship as it pertains to a specific PFObject. Each instance of PFRelation is associated with a particular parent object and key.

More information available here.

64 questions
0
votes
1 answer

PFRelation with post of CurrentUser in TableView

I'm using Parse.com to retrieve the data I need from the database. In my tableview I have an image that changes color according to this query that invokes the report of the CurrentUser with the posts that are displayed. -(void)QueryForUpVote { …
kAiN
  • 2,559
  • 1
  • 26
  • 54
0
votes
1 answer

How to get the PFRelation objects while getting the PFquery objects?

NSPredicate *predicate=[NSPredicate predicateWithFormat:@"(UserId==%@)",[defaluts objectForKey:@"objectId"]]; PFQuery *frndquery=[PFQuery queryWithClassName:@"FriendsDetails" predicate:predicate]; [frndquery orderByDescending:@"lastdate"]; …
Romance
  • 1,416
  • 11
  • 21
-1
votes
1 answer

Cannot query current user's friend list and add to listview android with parse

I've tried to to query of current user's friend list and add it to listview in android. The problem is the method keep showing errors This is my code package com.example.krisanapongpoonsawat.chatit; import android.app.ProgressDialog; import…
John DOE
  • 25
  • 1
  • 7
-1
votes
1 answer

How to use PFRelation for liking?

I want to make a social media app where you can like posts and I heard that you can use PFRelation to do that, but I'm not sure how. I checked Parse.com's docs but it gave me limited information on it, so how would I go about doing this?
1 2 3 4
5