We are developing an app in which we are querying for different objects in the database. Those objects have a PFFile attached to them. It can be either a video or a photo.
When I get the query response, I have the PFObjects that I want, but not the PFFile content. I’ve read a lot about this, and I know this is the normal behavior, I know that the PFFiles are stored separately from the PFObject.
In this particular case, I need to get the PFObject along with the PFFile, so, when I show the image or play the video, it is already downloaded and I don’t have to wait for it to download.
I’ve tried adding an “include” to the query, but it gives me an error saying something like “PFFile is not a pointer to another PFObject”.
Is there a way to do this? to have the PFObject and the PFFile downloaded at the same time?
PS: I’m using the lates Parse iOS SDK (v 1.5)
Thanks!