title: No visible @interface for 'AFHTTPSessionManager' declares the selector 'POST:parameters:progress:success:failure:'
body: <p>I am new to objective c and IOS, I'm trying to post some values to a url and trying to get the response.</p>
  
  <p>but I can't compile my project because, i'm having this error</p>
  
  <blockquote>
    <p>/Users/Desktop/MyIOSApps/Chat System/Chat System/SignInVC.m:92:14: No
     visible @interface for 'AFHTTPSessionManager' declares the selector 'POST:parameters:progress:success:failure:'</p>
  </blockquote>
  
  <p><strong>Imports</strong></p>
  
  <pre><code>#import "SignInVC.h"
  #import &lt;QuartzCore/QuartzCore.h&gt;
  #import "ApplicationEnvironmentURL.h"
  #import "Reachability.h"
  #import "AFNetworking/AFNetworking.h"
  #import "MBProgressHUD/MBProgressHUD.h"
  #import "AppDelegate.h"
  </code></pre>
  
  <p><strong>Objective-c Code</strong></p>
  
  <pre><code>- (void)submitLoginRequest:(NSString *)email password:(NSString *)password {
  
      AFHTTPSessionManager *manager = [[AFHTTPSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
      manager.requestSerializer = [AFJSONRequestSerializer serializer];
  
      NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
      [dict setValue:email forKey:@"Email"];
      [dict setValue:password forKey:@"Password"];
  
      NSLog(@"Login dicxtionary : %@", dict);
      MBProgressHUD *hud;
      hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
      hud.label.text = @"Please wait. Logging in...";
  
      [hud showAnimated:YES];
  
  
      // send user login data to hosting via AFHTTP Async Request in AFNetworking
      [manager POST:BASEURL parameters:dict progress:nil success:^(NSURLSessionTask *task, id responseObject) {
  
          [hud hideAnimated:YES];
          // Login response validation
          if (responseObject == [NSNull null]) {
              [self showMessage:@"Login Failed" Message:@"Unable to login. Please try again!"];
          }else {
              //NSError *error = nil;
              NSLog(@"response type : %@", NSStringFromClass([responseObject class]));
              //NSDictionary *response = [NSJSONSerialization JSONObjectWithData:responseObject options:NSJSONReadingMutableContainers error:&amp;error];
              [self checkResultValue:(NSDictionary *)responseObject];
          }
  
      } failure:^(NSURLSessionTask *task, NSError *error) {
  
          NSLog(@"AFHTTPSession Failure : %@", [error localizedDescription]);
      }];
  
  }
  </code></pre>
  
  <p>Can someone help me to fix this issue. tnx.</p>