Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate ASIHTTPRequest in ARC

There are many errors when integrating ASIHTTPRequest library in arc mode. Is there a proper way to integrate non arc library.

like image 979
Susitha Avatar asked Jul 30 '13 04:07

Susitha


3 Answers

if your project's using ARC, click project name -> select target -> build phase -> compiler sources.

Set compiler flag -fno-objc-arc for all ASIHTTPRequest source files.

like image 136
Quang Hà Avatar answered Nov 20 '22 06:11

Quang Hà


ASIHTTPRequest hasn't been supported for a couple of years now. As such, 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 want to think about using it instead.

like image 34
Jsdodgers Avatar answered Nov 20 '22 06:11

Jsdodgers


I find a ASIHTTPRequest With ARC and working complete you can download

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

you can also find json with ARC at here

like image 4
jayesh kavathiya Avatar answered Nov 20 '22 06:11

jayesh kavathiya