Skip to content

Instantly share code, notes, and snippets.

View julianfox's full-sized avatar

Julian Renard julianfox

  • Freelance
  • Paris
View GitHub Profile
PFQuery *query = [PFUser query];
[query whereKey:@"position" nearGeoPoint:position];
query.limit = 20;
[query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
if (!error) {
for (PFObject *object in objects) {
NSLog(@"%@", object[@"username"]);
}
} else {