title: Manage AFNetworking multiple requests with AFHTTPClient enqueueBatchOfHTTPRequestOperationsWithRequests method
body: <p>I want to create a table view slide menu like FB or Linkedin, I mean dynamically, so I have to make some requests at the same time. I am using AFNetworking. with a custom <code>AFHTTTPClient</code> which its called <strong>YPLHTTPClients</strong> and it is a <strong>AFHTTPClient</strong> subclass. In this class I have two methods. <code>SharedClient</code> and <code>initWithBaseURL</code>. </p>
  
  <p>I also want to use <code>enqueueBatchOfHTTPRequestOperationsWithRequests</code> method in this class to return data to the viewController and create the tableView of my menu.</p>
  
  <p>I would like to call a method who uses <code>enqueueBatchOfHTTPRequestOperationsWithRequests</code>this function in the client and return a dictionary or something with my information data, instead of do everything in the ViewController like I do here:</p>
  
  <pre><code> NSMutableArray *mutableRequests = [NSMutableArray array];
      for (NSString *URLString in [NSArray arrayWithObjects:@"users", @"intProjects", nil]) {
          [mutableRequests addObject:[[YPLHTTPClient sharedHTTPClient] requestWithMethod:@"GET" path:URLString parameters:nil]];
      }
      __block NSDictionary *parsedObject1, *parsedObject2;
      [[YPLHTTPClient sharedHTTPClient] enqueueBatchOfHTTPRequestOperationsWithRequests:mutableRequests progressBlock:^(NSUInteger numberOfCompletedOperations, NSUInteger totalNumberOfOperations) {
          NSLog(@"%lu of %lu Completed", (unsigned long)numberOfCompletedOperations, (unsigned long)totalNumberOfOperations);
      } completionBlock:^(NSArray *operations) {
          NSError *thisError;
  
  
           parsedObject1 = [NSJSONSerialization JSONObjectWithData:[[operations objectAtIndex:0] responseData] options:NSJSONReadingMutableContainers|NSJSONReadingAllowFragments error:&amp;thisError];
          NSLog(@"Completion: %@", parsedObject1 );
          parsedObject2 = [NSJSONSerialization JSONObjectWithData:[[operations objectAtIndex:1] responseData] options:NSJSONReadingMutableContainers|NSJSONReadingAllowFragments error:&amp;thisError];
          NSLog(@"Completion: %@", parsedObject2 ); 
  </code></pre>
  
  <p>I also would like to know, how can I show and Image while I am downloading this data.</p>
  
  <p>Thank you</p>