Top "Afnetworking-2" questions

AFNetworking 2.0 is a networking library for iOS 6+ and Mac OS X 10.

How to get status code in AFNetworking

I have a method, for authorizing user. I need Basic authorization. NSString *url = [NSString stringWithFormat:@"%@/rest/api/person/auth", host]; …

ios afnetworking afnetworking-2
Problems with SSL Pinning and AFNetworking 2.5.0 (NSURLErrorDomain error -1012.)

We’ve been having a hard time securing our app’s network connections with SSL using AFNetworking 2.5.0. We use a …

ios ssl afnetworking afnetworking-2
How do I set a request timeout and cache policy in AFNetworking 2.0?

I'm following the given example code AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; [manager GET:@"http://example.com/resources.json" parameters:nil success:^(…

ios objective-c afnetworking afnetworking-2
AFNetworking 2.0 - use responseObject as NSDictionary

AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; [manager GET:@"http://example.com/resources.json" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) { NSLog(@"JSON: %@", …

ios iphone objective-c nsdictionary afnetworking-2
AFNetworking 2.0 track file upload progress

I am relatively new to AFNetworking 2.0. Using the code snippet below, I've been able to successfully upload a photo to …

ios afnetworking-2
Swift and AFNetworking integration

Now as swift is the new language to develop iOS apps. How can we integrate with the AFNetworking or using …

objective-c afnetworking swift afnetworking-2 ios8
How to batch request with AFNetworking 2?

So I'm rewriting an app for iOS 7 with AFNetworking 2.0 and I'm running into the issue of sending a batch of …

ios afnetworking afnetworking-2
Post Request with AFHttpRequestOperationManager not working

I am using AFHTTPRequestOperationManager to post some JSON to my server, my code is below. NSDictionary *parameters = [[NSDictionary alloc] initWithObjectsAndKeys:@"…

ios7 afnetworking-2
What is "error in __connection_block_invoke_2: Connection interrupted" in iOS?

I am tried to make iOS Application using AFNetworking in UITableView. TableView loads 20 datas like Twitter's timeline. When it loads …

ios objective-c uitableview afnetworking-2
AFNetworking - do not cache response

I'm using this code to pull a simple JSON feed from a server: AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; manager.responseSerializer = [AFJSONResponseSerializer …

ios json caching afnetworking afnetworking-2