I am new to iOS programming, especially when it comes to web services. I am developing an application for academic purposes, and I need to communicate with my server currently using AFNetworking2 and Restler / php, everything works when it comes to GET methods. But I canβt download anything.
I read for hours on the github support site, stackoverflow, almost all examples / questions for uploading images (and there are LOTs) use this line:
AFHTTPClient *client = [AFHTTPClient clientWithBaseURL:[NSURL URLWithString:@"http://server"]];
I have a Client class, a subclass of AFHTTPSessionManager, with my sharedClient. But all examples use this AFHTTPClient with initWithURL and other classes such as AFJSONRequestOperation, which I can no longer find.
This basically suggests that I should create a singleton subclass of AFHTTPClient, but I cannot find it anywhere. Some links even send me to the official github repository, but it is no longer available. So my question is: where can I get more information about AFHTTPClient, should I use it, can someone tell me a tutorial on how to create or at least understand its functionality.
Greetings
source share