Last active
March 28, 2017 17:24
-
-
Save DreamingInBinary/b612f51de2aea9db48b69a3c225f786f to your computer and use it in GitHub Desktop.
Retrieving old comments in the Buffer Retreat App V1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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