I am trying to implement Local datastore in my application but I have an issue when I need to query relation from local Datastore.
Here is my query :
var relation:PFRelation = PFUser.currentUser()!.relationForKey("Friendship")
var query:PFQuery = relation.query()!
This query returns what I'm looking for when fetched by network but then I Pin all the results and re-query from localDatastore, and the result is empty.
I am using the newest Parse iOS SDK (1.8.1)
This issue is linked with these topics :