I really wanted to use ASIHTTPRequest do to its easy and already built library. Since it is old code format and in the project I use ARC it doesn't really work. Are there any unofficial updates to it or is there other open source code out there that works well? I just find it very tedious to go back through this code and correct it and such.
Asked
Active
Viewed 100 times
3 Answers
1
Consider using AFNetworking
in place of ASIHTTPRequest
.
Or just disable ARC for ASIHTTPRequest
, see @La boa boa

zaph
- 111,848
- 21
- 189
- 228
1
If your new project uses ARC, you can disable ARC for
ASIHTTPRequest
. Here's a good answer How can I disable ARC for a single file in a project?The creator of
AFNetworking
wrote an adapter in order to ease the transition toAFNetworking
fromASIHTTPRequest
. See https://github.com/AFNetworking/AFNetworking-ASIHTTPRequest
Hope it helps.

Community
- 1
- 1

jlmendezbonini
- 2,239
- 21
- 25
-
1do not use `ASIHTTPRequest`. It is discontinued already and does not support ARC. – Raptor Feb 25 '13 at 02:35
0
Check this answer https://stackoverflow.com/a/6658549/975959
It allows you to disable ARC for certain files and thus allowing you to use ASIHTTPRequest.
I've used it with that library successfully.

Community
- 1
- 1

La bla bla
- 8,558
- 13
- 60
- 109