asihttprequest
Asihttprequest 61 errors
More specifically, it requires CFNetwork, SystemConfiguration, MobileCoreServices, and lib (libz.tbd for iOS 9). Edit: It also needs libxml2
Best architecture for an iOS application that makes many network requests?
After having tried several approaches, this is one architecture that is giving me excellent results, is easy to document, understand, maintain and extend: I have a single object taking care of network connectivity, let’s call it a “network manager”. Typically this object is a singleton (created using Matt Gallagher’s Cocoa singleton macro). Since you use … Read more
What major ASIHTTPRequest features is AFNetworking missing?
I loved ASIHTTPRequest and I was sad to see it go. However, the developer of ASI was right, ASIHTTPRequest has become so large and bloated that even he couldn’t devote time to bring it to par with newest features of iOS and other frameworks. I moved on and now use AFNetworking. That said, I must … Read more
Fix warning “Capturing [an object] strongly in this block is likely to lead to a retain cycle” in ARC-enabled code
Replying to myself: My understanding of the documentation says that using keyword block and setting the variable to nil after using it inside the block should be ok, but it still shows the warning. __block ASIHTTPRequest *request = [[ASIHTTPRequest alloc] initWithURL:… [request setCompletionBlock:^{ NSDictionary *jsonDictionary = [[CJSONDeserializer deserializer] deserialize:request.responseData error:nil]; request = nil; // …. … Read more