So I have an object in my Parse DB called Follow
like this...
Follow
---------------
PFUser follower
PFUser followee
i.e. this is a join table for a many-many "following" structure. A user can follow many users and a user can be followed by many users.
Anyway, I'm trying to create a query that just returns an array of PFUser
objects that are users the the currentUser
follows.
I've started like this...
PFQuery *followQuery = [Follow query];
[followQuery whereKey:@"follower" equalTo:[PFUser currentUser]];
This will return an array of follow objects but I don't want these. I want the array of PFUser objects and I'm stuck how to get there from here.
I feel like this should be a lot easier than I'm making it. lol!