Last active
December 24, 2015 04:19
-
-
Save jtubert/6743534 to your computer and use it in GitHub Desktop.
Sketchio presentation - Get sketches
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 *queryPhoto = [PFQuery queryWithClassName:@"Photo"]; | |
[queryPhoto whereKey:@”user” equalTo:[PFUser currentUser]]; | |
[queryPhoto orderByDescending:@"createdAt"]; | |
[queryPhoto findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) { | |
//handle sketches | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment