ios - Parse: Subclassing PFObject to the some data directly from Facebook -
i'm writing swift ios app data facebook , stores on parse.com. using data stored on pfobject create graph api call , retrieve other set of data facebook @ runtime. cannot store data on parse because second set can updated frequently.
i able subclass pfobject add own properties , create method can call , populate pfobject data facebook graph api call.
the problem cannot find in documentation proper place facebook data loading. cannot , "init" time, because pfobjects instantiated first , date fetched later using pfquery.
i'm thinking maybe should put graph api calls on subclass of pfquery, documentation advises against subclassing it. didn't find this.
anyone had kind of problem before?
Comments
Post a Comment