I've seen some rumors/opinions on this, but does anyone know definitively if a PFFile can be stored/fetched to the datastore if it is a property of a PFObject?
For example, I have a class which is a subclassed PFObject. Within the class, is a PFFile property:
@interface Stats : PFObject <PFSubclassing, NSCoding>
...
@property PFFile *historyFile;
When I fetch the Stats object from the local data store, everything is retrieved, but this call:
NSData *data = [self.historyFile getData];
causes a crash:
NSInvalidArgumentException', reason: '*** -[_NSPlaceholderData initWithContentsOfFile:options:error:]: nil file argument
Any thoughts?