title: Use of undeclared identifier AFHTTPClient
body: <p>Hi I am trying to compile following code but getting error <code>Use of undeclered identifier AFHTTPClient</code>:</p>
  
  <pre><code>NSData* fileNameData = [fileName dataUsingEncoding:NSUTF8StringEncoding];
  
  NSDictionary *sendDictionary =
      [NSDictionary dictionaryWithObject:fileNameData forKey:@"fileName"];
  
  AFHTTPClient *httpClient =
      [[AFHTTPClient alloc] initWithBaseURL:@"http://www.olcayertas.com"];
  
  NSMutableURLRequest *afRequest =
      [httpClient multipartFormRequestWithMethod:@"POST"
          path:@"/photos"
          parameters:sendDictionary
          constructingBodyWithBlock:^(id &lt;AFMultipartFormData&gt;formData) {
              [formData appendPartWithFileData:photoImageData
                  name:self.fileName.text
                  fileName:filePath
                  mimeType:@"image/jpeg"];
          }];
  
  AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:afRequest];
  [operation setUploadProgressBlock:^(NSInteger bytesWritten, NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite) {
  
      NSLog(@"Sent %d of %d bytes", totalBytesWritten, totalBytesExpectedToWrite);
  
  }];
  
  [operation setCompletionBlock:^{
      //NSLog(@"%@", operation.responseString); //Gives a very scary warning
  }];
  
  [operation start];
  </code></pre>
  
  <p>I am useing CocoaPods and here is my pod file:</p>
  
  <pre><code>platform :ios, '7'
  pod 'AFNetworking', '~&gt; 2.0'
  pod 'AFNetworking/NSURLSession', '~&gt; 2.0'
  </code></pre>