1

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.

JohnV
  • 285
  • 1
  • 3
  • 13

3 Answers3

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
  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?

  2. The creator of AFNetworking wrote an adapter in order to ease the transition to AFNetworking from ASIHTTPRequest. See https://github.com/AFNetworking/AFNetworking-ASIHTTPRequest

Hope it helps.

Community
  • 1
  • 1
jlmendezbonini
  • 2,239
  • 21
  • 25
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