Created
August 28, 2012 00:23
-
-
Save dominickm/3493768 to your computer and use it in GitHub Desktop.
The iOS PFQuery sample. This is Apache
This file contains hidden or 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
| - (void) someMagicalFunction { | |
| PFQuery* query = [PFQuery queryWithClassName:@"SomeClass"]; | |
| [query whereKey:@"SomeProperty" equalTo:@"MagicString"]; | |
| [query findObjectsInBackgroundWithBlock:^(NSArray* objects, NSError* error) { | |
| // do something with the objects | |
| }]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment