How to integrate ASIHTTPRequest in ARC

When integrating the ASIHTTPRequest library into arc mode, there are many errors. Is there a suitable way to integrate a library without an arc.

+4
source share
3 answers

if your project uses ARC, click on the project name → select target → build phase → compilation sources.

Set the compilation flags -fno-objc-arc for all ASIHTTPRequest source files.

+11
source

ASIHTTPRequest has not been supported for a couple of years. Thus, it is very outdated and does not support ARC.

A newer library called AFNetworking can be found on Github here and fully supports ARC, so you might consider using it.

+7
source

I find ASIHTTPRequest With ARC and full work you can download

from here ASIHTTPRequest-With-ARC enjoy .......

you can also find json with ARC here

+4
source

Source: https://habr.com/ru/post/1494183/


All Articles