Skip to content

Instantly share code, notes, and snippets.

@DreamingInBinary
Last active March 28, 2017 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DreamingInBinary/b612f51de2aea9db48b69a3c225f786f to your computer and use it in GitHub Desktop.
Save DreamingInBinary/b612f51de2aea9db48b69a3c225f786f to your computer and use it in GitHub Desktop.
Retrieving old comments in the Buffer Retreat App V1
PFQuery *query = [self.event.comments query];
[query includeKey:@"created_by"];
[query orderByAscending:@"createdAt"];
[query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error){
//Handle comments
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment