title: Extract data from Parse PFObject in iOS 7
body: <p>I am using Parse.com for storing data in my app.
  I have a class on Parse named TestScore. Which has tested, score and username fields. 
  Now I want to get top 5 scorers and save them into NSUserDefaults.
  Here is my code</p>
  
  <pre><code>PFQuery *query = [PFQuery queryWithClassName:@"TestScore"];
  [query whereKey:@"test" equalTo:test];
  [query orderByDescending:@"score"];
  query.limit = 5;
  
  NSMutableArray *top5Array = [[NSMutableArray alloc] init];
  
  [query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error)
  {
  if (!error)
  {
      NSMutableArray *score = [[NSMutableArray alloc] init];
      NSMutableArray *userName = [[NSMutableArray alloc] init];
      for (PFObject *object in objects)
      {
          [score addObject:[object valueForKey:@"score"]];
          [userName addObject:[object valueForKey:@"userName"]];
      }
      [top5Array addObject:score];
      [top5Array addObject:userName];
  
      NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
      [userDefaults setObject:top5Array forKey:@"Top5"];
      [userDefaults synchronize];
  
  }
  else
  {
      NSLog(@"Error while getting top 5 Scorers.");
  }}];
  </code></pre>
  
  <p>But, unfortunately its not working. I debugged through it and actually control does not go query block.
  Can anyone help, please!</p>